What are some top reasons to upgrade to .NET 4.0?
Support!!
If you take longer to upgrade you will end up having unfixed bugs in the future. Microsoft stops supporting older versions of their software after some time.
- Entity Framework 4 which supports both Model & Code First Approachs,T4 templates (custom code generations), and a better API for advanced data access patterns.
- Covariance and Contravariance
- And you also get to use Visual Studio 2010, which is much more flashy now.
The big ones are probably MEF, Parallel tasks and MVC 2. But it also has dynamic support, big integer support, covariance, contravariance and so on and so on. Take a look.
Here is the big list of all the changes, but for me:
- Web.config minimization
- Lazy
- Web controls have cleaner markup
- Covariance and Contravariance
- VS 2010
Great features are the awesome Visual Studio 2010 and the Entity Framework 4 (as already mentioned by Nix) as well as the new Lazy<T> type.
A Better Debugger - I would kill someone for it back in VS2008 days. When your solution is heavy and a weird hybrid of languages and technologies, debugger used to not work well.
This means you have to be less reliant on including binaries to include the .NET framework when you distribute your applications.