Developer Preview version:. Net 4.5
. Net for Metro style apps
Metro-style applications are special form elements designed using the powerful features of the Windows operating system.
A subset of. Net APIs for Metro style apps is used to support Metro-style applications,
You can use C # Or Visual Basic to write Metro-style applications.
For details, see:
Http://go.microsoft.com/fwlink? Linkid = 228491
Core new functions and Improvements
The following features and improvements are added to the Common Language Runtime (CLR) and. Net classes:
-Set the timeout time for regular expression matching execution.
-Set regional information for the application domain
-Console applications support Unicode (UTF-16) Encoding
-Strings can be compared and sorted by region information.
-Improved search resource performance
-Improved zip compression to reduce the size of a compressed file
-You can use the customreflectioncontext class to customize a reflection context to override the default reflection behavior.
(For information about the customreflectioncontext class, see: http://msdn.microsoft.com/zh-cn/library/system.reflection.context.customreflectioncontext (V = vs.110). aspx)
Managed extensibility framework (MEF)
-Support for generic types
-"Convention-First" programming model. (You do not need to use class features to create parts. Now you can create your parts according to the naming conventions)
-Multiple scopes
Asynchronous file operations
In the. NET Framework 4.5 Developer Preview,
The Asynchronous Operation Feature Based on the task model is added to the C # and Visual Basic languages.
Use asynchronous methods in the I/O classes to use these new features
Web
The ASP. net4.5 development preview includes the following new features:
-
Supports new HTML5 form types.
-
Web forms supports model binding.
You can directly bind the data access method to the control.
The format of user input data can be converted automatically.
-
Support for unobtrusive Javascript in client-side validation scripts
(I don't know how to translate this sentence ~ I don't understand what this sentence means .)
-
Improve performance by bundling and compressing client scripts
-
Use the antixss library to encode regular forms to prevent cross-site scripting attacks
Antixss used to be an external class library and also includes SQL Injection defense; For details, see: http://wpl.codeplex.com/
-
Supported websockets protocols
(This should be HTML5 content, see: http://en.wikipedia.org/wiki/Web_Sockets)
-
Supports asynchronous read/write of HTTP requests and responses
-
Asynchronous modules and handlers
-
Use scriptmanager to support content delivery network (CDN)
More functions:
Http://msdn.microsoft.com/zh-cn/library/hh420390 (V = vs.110). aspx
Networking Network
Net framework4.5 Developer Preview provides a new programming interface for HTTP applications.
For more details,
See the new version of system. net. HTTP.
(Http://msdn.microsoft.com/zh-cn/library/system.net.http (V = vs.110). aspx)
And system. net. http. Headers
(Http://msdn.microsoft.com/zh-cn/library/system.net.http.headers (V = vs.110). aspx)
Namespace.
In addition, the following network improvements include system. net, system. net. Mail, and related namespaces.
-Improved internationalization and IPv6 support.
-Supported RFC-compatible Uris.
-Supports international domain name (IDN) analysis.
-Support for international email addresses (EAI.
Windows Presentation Foundation (WPF)
In the. NET Framework 4.5 Developer Preview, Windows Presentation Foundation (WPF) includes the following changes and improvements:
-New Ribbon Control
-The new inotifydataerrorinfo interface supports synchronous and asynchronous data verification.
-New Features of The virtualizingpanel and dispatcher classes.
-Performance improvement when displaying large sets of data and non-UI thread access to the set
-The icustomtypeprovider interface is implemented for binding static attributes and custom types, and data binding information is extracted from the binding expression.
-Reset the changed value (live shaping ).
-Better integration of WPF and Win32 user interface components.
-Check whether the container data context is disconnected.
-You can set the attribute and Data Source Change timeout time.
-Improved support for implementing the weak event model. In addition, the Extended Tag that the event can accept now.
For more information: http://msdn.microsoft.com/zh-cn/library/bb613588 (V = vs.110). aspx
Windows Communication Foundation (WCF)
-Simplified the generated configuration file
-Contract priority principle development support.
-Easier configuration of ASP. NET compatibility mode.
-Modified the default transmission attribute to reduce the number of times developers set it by encoding.
-Update the xmldictionaryreaderquotas class to reduce the number of times users manually configure the XML dictionary.
-Visual Studio can verify whether the WCF configuration file is correct during compilation, so as to avoid the problem of configuration file errors after running.
-New asynchronous stream support.
-The new HTTPS protocol ing makes https-based WCF services on IIS easier to expose endpoints
-Add "? Singlewsdl "can generate WSDL metadata
-Websockets supports bidirectional communication between port 80 and port 443, which is similar to TCP transmission.
-Supports service configuration in code (it should be a service configuration change during runtime)
-XML editor prompt.
-Channelfactory supports caching.
-Binary encoding compression support
More:
Http://go.microsoft.com/fwlink? Linkid = 228173
Original article address
Http://msdn.microsoft.com/library/ms171868%28VS.110%29.aspx#tailored
Because I am not familiar with WF
No translation for this part
------------------------------------------------------------------- Please click here to recommend the support !!! ---------------------------------------------------