Just quickly going through the whitepaper published a while ago. I can see a lot of improvements around ASP.NET 4.0. But the ones below are probably the most important for me:
Honestly saying I do not see too cardinal changes, I would say that a lot of outstanding issues have been addresses (especially control over generated HTML). I do not see big innovations here. So wouldn’t jump into ASP.NET 4.0 just now. And, who knows, maybe I’ll just totally skip and will pick ASP.NET 5.
Just please do not mix ASP.NET 4 and .NET Framework 4 . There are numerous changes made in .NET 4.
- AJAX Functionality
- Client Template Rendering – out of the box client-side templating engine. It seems to be very tightly integrated with ASP.NET infrastructure. DataView control looks very good.
- Script Manager now allows to use any JS library and not only ASP.NET AJAX.
- Very large client-side infrastructure support and integration with .NET (see pic)
- WebForms
- Enabling View State for Individual Controls – nice addition.
- Routing (it really came from ASP.NET MVC available in .NET 3.5) – it’s said that it is easier to use it.
- Setting Client IDs – there have been a lot of feedback on it since .NET 1. And it seems Microsoft has finally attended this issue. It allows to control the IDs on the generated HTML. It my opinion this is one of the most significant improvements in WebForms.
- FormView Control now can render content with not table at all which is great thing (finally!).
- ListView has better control over the HTML.
- Data
- Support for inheritance in Data Model for both EF and Linq2Sql.
- EF supports many-to-many relationships.
- VS Web Designer Improvements
- Improved CSS compatibility – better CSS 2.1 compliance (however I’m not sure how better it is).
- Web.config transformation – allows to modify the .config file before deployment. Very useful feature I wanted it so many times before.
Honestly saying I do not see too cardinal changes, I would say that a lot of outstanding issues have been addresses (especially control over generated HTML). I do not see big innovations here. So wouldn’t jump into ASP.NET 4.0 just now. And, who knows, maybe I’ll just totally skip and will pick ASP.NET 5.
Just please do not mix ASP.NET 4 and .NET Framework 4 . There are numerous changes made in .NET 4.