Introduction to the. Net Framework 4.0 Features
Microsoft has released a Beta 2 test version of Visual Studio and the . NET Framework 4.0 , and Microsoft has added a lot of new things to the framework 4.0, some of which are really good, but some feel a bit rough , still in the experimental stage, practicality is not strong.
With a simple review of history, the. NET Framework 1.1 is actually a test, the. NET Framework is truly mature from 2.0, after the framework 3,framework 3.5 is based on the Framework 2 expansion. The framework 3 + framework 3 SP1 In addition to correcting some of the framework 2 bugs, the main extension is the addition of 3W frameworks, respectively, WPF,WCF,WWF. F3.5 and F3 are similar, in addition to correcting bugs, the main extension is: linq,wf,wcf,add-in (will be replaced by MEF in the future). Framework 3.5 SP1, and added a few new things: mvc,dynamic data,entity framework,data Services and so on.
Of course, we can't ignore the language improvement of framework 3, such as LINQ,LAMBDA, extension functions, use of var type, and so on.
So let's see what the Framework 4.0 brings to us.
- The. NET Framework 4 works in parallel with the framework 3.5 SP1. Applications that can run in the older version of the framework will continue to be able to run on the. NET Framework 4.
- Innovations in Visual Basic and C # languages, such as declaring Lambdas, hidden line continuations, dynamic scheduling, and naming/optional parameters.
- Many new features have been added to the Ado.net Entity Framework to simplify the developer's relational database program by raising the abstraction level. These new features include continuous neglect, poco support, deferred loading, support for test-driven development, functional models, and new LINQ operators.
The following are the improvements in asp.net:
- Improve the data binding capabilities in JavaScript user interface templates and Ajax;
- Improve the asp.net chart control;
Two, the following are improvements in WPF:
- Add Windows 7 multi-touch, Ribbon control, and taskbar extension support in WPF;
- Add Surface 2.0 SDK support in WPF;
- New lines of business control, including chart control, intelligent editing, data grids, and other controls that can improve the developer experience of "Building data center Applications".
- Improve performance and scalability;
- Add visual improvements to text, pixel layout, localization, and interoperability;
The improvements in Windows Workflow (WF) Allow developers to better control the workflow, as follows:
- Improve the activity planning model;
- Improve the design experience;
- A new method of process modeling;
- Enlarge the range of the palette's activity;
- Integration of work flow rules;
- New mail-related features.
Iv.. NET Framework also provides significant performance improvements for WF workflows :
- Improve the Windows Communication infrastructure (WCF) architecture, such as streaming service-related support, and the persistence of two-way communication.
. NET Framework 4 also provides new WCF features, such as service discovery, router services, simplified configuration, rest support, diagnostics, and performance enhancements.