Showing results for .NET - Developer Support

Dec 19, 2012
0
0

Immutable collections now available

Andrew Arnott
Andrew Arnott

In previous posts, I discussed immutable collections. I’m pleased to say they are now available. Read my announcement on the BCL blog.

andarno.NETImmutability
Aug 29, 2011
0
0

Immutable collections with mutable performance

Andrew Arnott
Andrew Arnott

In my last post, I detailed the differences among read/write, read only, frozen and immutable collection types.  I described how immutable collections come with a hit to the garbage collector due to the garbage they generate during mutations.  I have a very positive update on that topic. My previous implementation for the immutable col...

andarno.NETImmutability
Aug 21, 2011
0
0

Read only, frozen, and immutable collections

Andrew Arnott
Andrew Arnott

[Update: a more recent post with new data on attainable performance of immutable collections] The topics of immutability and functional programming has fascinated me lately.  Mostly because of my work on the Visual Studio Common Project System (CPS) which is a large, highly multi-threaded code base that only remains sane because of its reli...

andarno.NETImmutability
Sep 30, 2008
0
0

GZip encoder for Compact WCF

Andrew Arnott
Andrew Arnott

The GZip encoder is not included in NetCF as it is on the desktop WCF, but it isn't hard to build yourself and in fact we have released a sample of exactly how to add your own GZip encoder to NetCF: http://go.microsoft.com/fwlink/?LinkId=108652 So many people have asked me for it lately I thought I'd better just post the link.  Have fun!

andarno.NETMobile devices
Apr 14, 2008
0
0

OpenID and ASP.NET web sites

Andrew Arnott
Andrew Arnott

If you are a web developer I hope you've considered accepting OpenID credentials for logging in your users.  If you have an ASP.NET web site, the process of adding OpenID support to your web site couldn't be easier when you use the free C# DotNetOpenId library.  Supporting OpenID is a great idea:

andarno.NETIdentity
Nov 5, 2007
0
0

Workaround for XmlSerializer T[] and List bug

Andrew Arnott
Andrew Arnott

The XmlSerializer in NetCF 2.0 has a bug where if a single serialization requires reflecting into types that use a mixture of Collection<T>-like types for the same T the XmlSerializer will throw an exception.  Here an example where CF 2.0 would crash: This type would fail to serialize under NetCF 2.0 because T = string would appear...

andarno.NETMobile devices
Oct 29, 2007
0
0

What do you think of the new WCF ‘Store and forward’ Mail Transport?

Andrew Arnott
Andrew Arnott

With the .NET Compact Framework 3.5 release which comes with Visual Studio 2008, a new Windows Communication Foundation transport is introduced that uses email as the communication mechanism. Others have already blogged about this new transport including Roman Batoukov and David Kline. I'd like to take a poll of the audience to see how you li...

andarno.NETMobile devices
Sep 12, 2007
0
0

Calling WCF services from NetCF 3.5 using Compact WCF and NetCFSvcUtil.exe

Andrew Arnott
Andrew Arnott

The .NET Compact Framework 3.5 adds a subset of the Windows Communication Foundation (WCF or "Indigo") to smart devices, allowing them to communicate with desktop WCF components with all the flexibility of multiple, interchangeable service bindings and endpoints.  Although it ships out of the box only with support for message-level communicati...

andarno.NETMobile devices
Sep 12, 2007
0
0

Power Toys for .NET Compact Framework 3.5 CTP released

Andrew Arnott
Andrew Arnott

The .NET Compact Framework team just released the Consumer Technology Preview (CTP) of the Power Toys for .NET Compact Framework 3.5.  These Power Toys are tools to help you build, debug and optimizie your NetCF 3.5 applications.  My personal favorite is the NetCF ServiceModel Metadata Tool (NetCFSvcUtil.exe) which allows NetCF clients...

andarno.NETMobile devices
Jul 2, 2007
0
0

How to (not) write an especially precarious app on .NET (Compact Framework)

Andrew Arnott
Andrew Arnott

As the .NET Compact Framework developers work to add features, fix bugs, and refactor code, we often have to determine whether a given change could break existing customer code.  The ideal is that NetCF 3.5 will run all apps that ran on NetCF 2.0 and 1.0.  We run hundreds of apps and many, many tests before shipping each product to check ...

andarno.NETNetCF