Reading digest on .NET framework 4.5

.NET 4.5 is the newest, and with massive improvement, milestone release of the .NET framework. In this post, I list the bullet point of the new 4.5 .NET framework which I documented it down so that I can go back some time later and review;

The text after the split line/halving line/strips/parting line is what I have summarized. 

----------------------------------------------

Reading digest:
Cross-platform development:


Incompatible .NET framework. The framework must be upgraded to 4.0.3 on the target box to run .

 

 .NET Framework 4 with an update, Update 4.0.3 for the .NET Framework 4, or the .NET Framework 4.5 installed.

 

Core new features and Improvements

Reference link:

                http://msdn.microsoft.com/en-us/library/ms171868.aspx#core

2 GB size of Arrays(what is that useful?)

Better server garbage collection

Multiple-core JIT optimized.

Regex.Timeout (can that be useful?)

Default culture (again, if you are not working on those multi-culture stuff, this is not useful)

Console has UTF-16 (cool, but how ?)

Resource retrieving

Zip compression improvements

customize a reflection context  (override default reflection behaviour)

String comparision (delegate depends on the platform)

compute the hash codes for strings on a per application domain basis <UseRamdomizedHashAlgorith>

Type reflection support split between Type and TypeInfo classes.  <this should be a bigger one>

 

MEF

<Managed Extensibility Framework (MEF) provides the following .

·         Support for generic types.

·         Convention-based programming model that enables you to create parts based on naming conventions rather than attributes.

·         Multiple scopes.

·         A subset of MEF that you can use when you create Windows Store apps

Asynchronous File I/Os (how to synchronize)

in the .NET Framework 4.5, new asynchronous features were added to the C# and Visual Basic languages. ?? <how to program against it ?)

Tools

Resource File Generator (Resgen.exe) enables you to create a .resw file for use in Windows Store apps from a .resources file embedded in a .NET Framework assembly

 

Parallel Computing

The .NET Framework 4.5 provides several new features and improvements for parallel computing. These include improved performance, increased control, improved support for asynchronous programming, a new dataflow library, and improved support for parallel debugging and performance analysis. See here : What’s New for Parallelism in .NET 4.5 

Web

ASP.NET 4.5 …

HTML 5 form types

Model binders …

Unobtrusive JavaScript in client-side validation scripts. .

Networking

.Net framework 4.5 new programming interface for HTTP applications.  See new System.Net.Http andSystem.Net.Http.Headers

Support is also included for a new programming interface for accepting and interacting with a WebSocket connection by using the existingHttpListener and related classes. See  new System.Net.WebSockets namespace and the HttpListener class.

Network improvement:

RFC-compliant URI ...

Support for Internationalized Domain Name (IDN)  …

Support for Email Address Internationalization (EAI)

IPV6 improved

Dual-mode socket support. (implication?)

Windows Presentation Foundation (WPF)

Ribbon control

INotifyDataErrorInfo

VirutalizingPanel, Dispatcher class (new feature included)

Large set of improved data…

Data binding to static properties, data binding to custom types that implement the ICustomTypeProvider interface, and retrieval of data binding information from a binding expression <important and interesting>)

Reposition of data as the values change (Live shaping)

Ability to check whether the data context for an item container is disconnected

Ability to check  data context for an item container is disconnected.

Ability to set the amount of time that should elapse between property changes and data source updates.

Weak event support.  

There is more to be found here: What's New in WPF Version 4.5.

Windows Communication Foundation

.NET framework 4.5, the following features has been added ..

Support for contract-first development.

New asynchronous streaming support

New HTTPS protocol mapping to make it easier to expose HTTS with Information Service (IIS)

generate metadata in a single WSDL document by appending ?singleWSDL to the service URL

Service Configuration in Code

Caching channel factory

Binary encoder compression support (binary compression, do we compare this against the  Protocol buffer)

Support for a UDP transport that enables developers to write services that use "fire and forget" messaging. 

WCF to use IDNs… This is important..

multiple authentication modes on a single WCF endpoint (that is cool)

Windos Workflow Foundatoin (WF)

Will not go to deails as of yet..

 

 

 

 

 

 

 

 

转载于:https://my.oschina.net/u/854138/blog/102873

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值