From. net1.0 to 1.1, from. from net1.1 to 2.0, to 3.0 and 3.5, until now 4.0, the pace of micronsoft version update seems to be getting faster and faster, 3.0 is not hot, and 3.5 has not yet had time to watch, now we have to keep track of 4.0. micronsoft is so hard that we won't be able to slack ourselves.ProgramEmployee's life...
First, let's take a look at the comparison between. NET Framework 4.0 and previous versions:
We can see that. net 4.0 is not like. NET 2.0 to 3.0 is a simple addition of functions (this may be the origin of "layer cake"), but the core is also re-designed, we hope that these changes will be of great benefit to improve the development efficiency and Program Performance of programmers. We look forward to ing...
1. base class library improvements:
Managed extensibility framework
- Easy Declaration/consumption of extensibility points
- Monitoring for new runtime extensions (watching a specific directory for new extensions)
Additional core data structures (two core data types are added)
- Numerics (biginteger & complexnumber)
- Tuple, sortedset
I/O improvements (I/O performance improvement)
- Memory-mapped Files (memory image files)
- Uniied cancellation model (Unified cancel model, do not know what it means ^ _ ^ :)
2. Language Improvement
C #4.0/Visual Basic "10" (haha, all vb10)
- Named/optional parameters (specified/optional)
- Dynamic scoping (dynamic range)
- Statement Lambdas (?)
- Multiline Lambdas (?)
- Auto-implemented properties (automatically executed attribute)
- Collection initializers
- Generic variance (?)
- Extension Properties)
3. Parallel Computing (Parallel Operation)
Task Parallel library (TPL)
- Imperative task Parallelism
- Work-stealing Algorithm for maximum efficiency
- Higher-level transaction action (No More thread knowledge necessary)
Parallel LINQ (Plinq)
- Declarative data parallelism (focus on the * What *, not the * How *)
- Simple parallelism via LINQ-to-objects
Coordination Data Structures (CDS)
- Common structures to help with parallelism tasks
4. Windows Presentation Foundation
- Client Profile
- Business focused controls
- Silverlight synergy
- Win7 advances (multitouch, etc)
5. Ado. Net 4.0
- Entity Framework v2
- Persistent ignorance
- Code-first Development
- TDD-support
- Foreign-key support
- Lazy Loading
6. asp. net4.0 6.1 ASP. NET MVC
- Separation of concerns, testability
- High control over market up
6.2 ASP. NET Dynamic Data support for MVC
- Easily create custom controls and views based on Data Base
6.3 ASP. NET better CSS and ID 6.4 distributed caching for. net 6.5 session State provider for ASP. NET 6.7 flexible, several different caching models (three flexible cache models worth looking forward)
- Partitioned
- Replicated
- Local
7. distributed applications 7.1 Windows Communication Foundation
- Restful enhancements
- Messaging enhancements
- Correlation enhancements
- Seemless integration with workflow services
7.2 Windows Workflow Foundation
- Significant improvements in performance and scalability (this upgrade is an exciting message)
- New workflow flow-control models and pre-built activities (several new activites are added)
- Enhancements in Workflow Modeling
- Updated visual designer
7.3 WF + WCF = bff
- High Performance runtime for WF services
- Messaging activities for WF services
8. More web goodies... 8.1 ADO. NET data services
- Rest based exposure of relational data
- Ability to go "offline" (which is disconnected to retrieve data? No, right? It is worth studying)
8.2 ASP. NET Ajax (Ajax is more powerful)
- Javascript UI templates and databinding
- Ajax Control Toolkit enhancements (client-side controls)
- Dom selection, manipulation and animation
- Addition of jquery