0

Possible Duplicate:
What will be the new features available in ASP.Net 4.0?

What all are the New features in asp.net 4.0.? Currently our team is doing project on .net 2.0 and we didn't go for an upgrade on asp.net 3.5. Now we are preparing to switch from asp.net 2.0 to asp.net 4.0. A list of such features would help us in designing the training program.

Community
  • 1
  • 1
HotTester
  • 5,620
  • 15
  • 63
  • 97

3 Answers3

6

Below are my notes (with links) of an internal presentation I'm doing. This is by no means an exhaustive list, but it's an oveview in the areas that interest me. I've highlighted a few of my personal favourites :)

For a more official list, see Håvard's answer.

Edit: Just realised you only mentioned ASP.NET 4, but I'll leave the other items in there for anyone who is interested.

Community
  • 1
  • 1
Richard Szalay
  • 83,269
  • 19
  • 178
  • 237
3

Plase see this whitepaper from Microsoft detailing many of the new features in ASP.NET 4.0.

Håvard S
  • 23,244
  • 8
  • 61
  • 72
2

There are many, but I will suggest that the more exciting things coming are the maturing technologies that I use. Project Astoria which changed to ADO.NET dataservices and then has had two CTP releases out of band will finally be brought into step with .NET 4.0 and be called WCF dataservices.

A restful data access layer with language integrated query and the power of anonymous and instance methods and type inference means you can write things like this semi psuedo code, with a lot of the problems ironed out and a lot of good forum knowledge:

Button.Click += new EventHandler((o,e) =>{DG.ItemsSource DataContext.tblUsers.Where(f=>f.active ==true;);

Don't mention MVVM or inefficiencies etc, but I believe this code does on one line what would take a fair few to do in .NET 2.0

DavidA
  • 467
  • 1
  • 4
  • 14