Some ASP.NET 4.0 Compatibility and Enhancement info

Scott Gutherie posted some interesting tidbits about the upcoming ASP.NET 4.0 this afternoon:

  • ASP.NET 4.0 is additive over 3.5, nothing dropped. There are nice API/behavior improvements, but existing code all still works
  • NET 4 is a full release with a new CLR version # (unlike 3.5). Here is a blog post about that http://tinyurl.com/4multi
  • Despite being side by side and a new version number, the features in 4.0 it are still compatible so it is easy to upgrade
  • Controls in ASP.NET 4 have updated markup/rendering for easier CSS. eg: <asp:menu> now uses <ul><li> elements
  • New 4.0 projects by default use CSS rendering/output of controls. Upgaded projects can still use old rendering, avoiding breaking changes
  • ASP.NET 4.0 control output (css vs. tables) & ID generation modes can be configured for any project w/ <pages> section in web.config
  • The goal is no more need for CSS control adapters. ASP.NET controls in 4.0 now output clean markup by default
  • ASP.NET 4.0 controls have a ClientIDMode property (which is inherited from parent, so you can set once and/or override)   [I previously blogged about this]
  • ClientIDMode can be “static” – which means id you set is what is output to client. No more ID concatination. Ideal for CSS/JS
  • If ClientIDMode is “predictable”, id values are concatinated but clean (no more ctrl_). Better for nested list controls
  • Yes – ASP.NET 4.0 and .NET 4.0 Beta 2 will support a “go live” license. Really, really soon now… stay tuned 🙂 [my emphasis, not Gutherie’s]
  • 10 Features why ASP.NET 4 is better for public websites” – http://tinyurl.com/asp4improvements

[Bonus item not tweeted this afternoon:] URL Routing with ASP.NET 4 Web Forms

Sounds like some great improvements coming!

Advertisements

0 Responses to “Some ASP.NET 4.0 Compatibility and Enhancement info”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Scott’s recent tweets…


%d bloggers like this: