.NET Framework 4
Microsoft announced plans to ship the .NET Framework 4 on September 29, 2008. The public beta was released on May 20, 2009.
- Parallel extensions to improve support for parallel computing that target multi-core or distributed systems. Toward this end, technologies such as PLINQ (Parallel LINQ), parallel implementations of the LINQ mechanism, and a parallel task library that exposes parallel constructs through method calls. Are included.
- New features in Visual Basic.NET and C #, such as an implicit continuation line, dynamic dispatch, named parameters, and optional Parameters.
- Support for code contracts.
- The inclusion of new types for working with arithmetic of arbitrary precision (System.Numerics.BigInteger) and complex numbers (System.Numerics.Complex).
- Introduce Common Language Runtime (CLR) 4.0.
Following the release of the .NET Framework 4, Microsoft released a set of enhancements called Windows Server AppFabric for application server capabilities in the form of AppFabric hosting and support for in-memory distributed caching.
.NET Framework 4.5
The .NET Framework 4.5 was released on August 15, 2012. A set of new or improved features has been added to this version .. The .NET Framework 4.5 is only supported on Windows Vista or later. The .NET Framework 4.5 uses Common Language Runtime 4.0 with some additional runtime features.
1..NET for Metro style apps
Metro style applications are designed for specific form factors and use the capabilities of the Windows operating system. A subset of the .NET Framework is available for creating Metro style apps for Windows 8 using C # or Visual Basic. This subset is called the .NET API for applications. The .NET Framework version, runtime, and libraries used for Metro-style applications are part of the new Windows Runtime, which is the new platform and application model for Metro-style applications. This is an ecosystem in which there are many platforms and languages, including the .NET Framework, C ++ and HTML5 / JavaScript.
2. Main functions
- Ability to limit the runtime of the regex engine to resolve the regex before time runs out.
- The ability to define a culture for the application domain.
- Console support for Unicode encoding (UTF-16).
- Version support for organizing and comparing cultural data strings.
- Better resource extraction performance.
- Zip compression enhancements to reduce the size of the compressed file.
- The ability to customize the reflection context to override the default reflection values โโthrough the CustomReflectionContext class.
3. Managed Extensible Structure (MEF)
- Support for generic types.
- A convention-based programming model that allows parts to be created based on naming conventions rather than attributes.
- Several areas.
4. Asynchronous operations
In the .NET Framework 4.5, new asynchronous functions were added to C # and Visual Basic. These functions add a task-based model for performing asynchronous operations.
5. ASP.NET
- Support for new types of HTML5 forms.
- Support for binding models in web forms. They allow you to bind data directly controls data access methods and automatically converts user input to and from the .NET Framework data types.
- Support for unobtrusive JavaScript in client-side validation scripts.
- Improved script client handling through linking and minimization to improve page performance.
- Integrated encoding procedures from the AntiXSS library (previously an external library) to protect against cross-site scripting attacks.
- WebSocket protocol support.
- Support for reading and writing HTTP requests and responses asynchronously.
- Support for asynchronous modules and handlers.
- Support for redundant content distribution network (CDN) in ScriptManager.
6. Network
- Provides a new programming interface for HTTP applications: System.Net.Http namespaces and System.Net.Http.Headers namespaces added.
- Other enhancements: Improved internationalization and IPv6 support. URI support with RFC support. Support for internationalized domain name (IDN) analysis. Email Internationalization Support (EAI).
7. Windows Presentation Foundation (WPF)
- A new Ribbon control that allows you to use the ribbon user interface, which houses the quick access panel, application menus and tabs.
- New INotifyDataErrorInfo interface that supports synchronous and asynchronous data validation.
- New features for VirtualizingPanel and Dispatcher classes.
- Improved performance when displaying large sets of grouped data and by accessing collections for streams other than the UI.
- Binding data with static properties, binding data to user-defined types that implement the ICustomTypeProvider interface and obtain data required information from a required expression.
- Moving data when changing values โโ(real-time formatting).
- Improved integration between WPF and Win32 user interface components.
- The ability to check if the data context for the item container is disconnected.
- The ability to set the time that must elapse between the property changes and updates of data sources.
- Improved support for implementing weak event patterns. In addition, events can now accept markup extensions.
8. Windows Communication Foundation (WCF)
The following features have been added to the .NET Framework 4.5 to simplify the recording and support of Windows Communication Foundation (WCF) applications:
- Simplified creation of configuration files.
- Support for contract development.
- Ease of setting ASP.NET compatibility mode.
- Changing the default transport property values โโto reduce the likelihood that you will have to set them.
- Updates to the XmlDictionaryReaderQuotas class to reduce the chance that you will have to manually configure quotas for XML dictionary readers.
- Checking WCF configuration files using Visual Studio as part of the build process so that you can detect configuration errors before starting your application.
- New support for asynchronous streaming.
- New HTTPS mapping to simplify endpoint mapping through HTTPS using Internet Information Services (IIS).
- Ability to generate metadata in a single WSDL by adding? singleWSDL to the service url.
- Web socket support to enable true bidirectional communication ports 80 and 443 with performance characteristics similar to TCP transport.
- Support for configuring services in code.
- XML Editor tooltips.
- ChannelFactory caching support.
- Support for binary encoder compression.
- Support for UDP transport, which allows developers to write services that use "fire and forget" messaging. The client sends a service message and does not expect a response from the service.
- The ability to support multiple authentication modes on one WCF endpoint when using HTTP transport and transport security.
- Support for WCF services using internationalized domain names (IDNs).
9. Tools
- The Resource File Generator (Resgen.exe) allows you to create a .resw file for use in Windows Store applications from a .resources file built into the .NET Framework assembly.
- Managed Profiled Optimization (Mpgo.exe) allows you to improve program startup time, memory usage (working set size) and throughput by optimizing your own image assembly. The command line tool generates profile data for collectors of their own images.
For more information and access to link links, please visit:
============ .Net 4.5 Poster =========

VS1 Aug 31 '13 at 14:00 2013-08-31 14:00
source share