A new .Net preview is out, this time a minor point release, but I decided to do a reference assembly comparison anyway.
Absolutely nothing removed (as expected), but also only a handful of additions to the API.
- Precision/Scale properties for DbParameter.
- SqlConnectionStringBuilder gets connection retry count and interval properties.
- EventSource (Diagnostics.Tracing) gets ConstructionException and CurrentThreadActivityId read-only properties and a couple of methods to set the current thread activity ID. I think the current thread activity ID concept may be new to Windows 8.1 – if something else I was reading is associated with this.
- EventWrittenEventArgs (Diagnostics.Tracing) gets ActivityId and RelatedActivityId read-only properties.
- ActiveDirectory has new enum values for 2012 R2 Server domains/forests.
- MemoryMappedViewAccessor and MemoryMappedViewStream both now have PointerOffset read-only properties.
- GCLargeObjectHeapCompactionMode enum for use with the new LargeObjectHeapCompactionMode property on GCSettings. 2 values, Default and CompactOnce. I guess this property auto-resets back to default on the next full GC if set to compact once. (Also in Core.)
- A bunch of new generic methods on Marshal – looks like a mixture of convenience and avoiding boxing of structs. (Also in Core.)
- SignedXml – SafeCanonicalizationMethods read-only property.
- TransactionScope now supports the new TransactionScopeAsyncFlowOption enum in several new constructors. I presume this controls how transaction scopes interact with async, which I presume lets you improve performance when you know a certain async section can safely be performed outside transaction scope.
- Web.Hosting.CustomLoaderAttribute
- HostingEnvironment.StopListening event.
- IStopListeningRegisteredObject and ISuspendibleRegisteredObject interfaces in Web.Hosting – but I haven’t found what uses them yet.
- Core only: AsRandomAccessStream extension method for streams.
- Core only: System.Threading.Timer arrives.
I have listed everything I found, but if you want to look at my raw processed output files for some reason (which are much smaller than last time, due to a far smaller number of changes) there is v4.5.1 to v4.5 comparison and v4.5.1 core to v4.5 core comparison.