Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 780
Syed Tayyab Ali Avatar asked May 21 '09 19:05

Syed Tayyab Ali


People also ask

Does installing .NET 4.0 will affect existing .NET applications running on previous versions?

No, they can exist alongside eachother. Just like with previous versions. In fact, 4.0 uses completely different directories to store its assemblies in. Uninstalling will prevent you from using older programs.


2 Answers

There's a couple of videos on Mircosoft Channel 9:

  • ASP.NET 4.0 Roadmap by Scott Hunter
    It seems like someone has made session notes on this talk, as well.
  • New Features of ASP.NET 4.0 by Steven Walther

Quoted (partially) from those session notes on the linked blog post:

Web Forms
  • Developers can manage control IDs that affect rendered client ID
  • Remove ID bloat, and 'mangling'
  • CSS:
    • Ideally remove the need to use CSS adapters
    • Defer to CSS styles and bypass existing style properties
      • non-inline style attributes
    • Support non-table-based HTML rendering
  • URL-routing for web forms
    • Friendly url handling for web forms
    • configuration model for url routing
  • View state
    • Disable on the page, enable on specific controls - they will provide granular control of viewstate - today it is backwards
    • Disable on control, enable on child controls
    • GridView/ListView work better without viewstate
  • ASP.NET dynamic-data
Ajax
  • Continue ASP.NET Ajax innovation : RIA
  • Appeal to JavaScript Developers
  • Provide support for the page developer
  • jQuery including Intellisense
  • Templates and data binding
    • Client side handling, REST or Web Services
    • Covers page developer and component developer scenarios
  • DOM manipulation, selectors ...
  • Ajax higher-level components
    • Ajax Control Toolkit is a part of the strategy - they will make the toolkit part of the overall ASP.NET package
    • New controls
  • Centralized script libraries and break-up for performance
ASP.NET MVC
  • Appeal to those wanting separation of concerns, TDD, full control
  • Ruby on Rails, Django, PHP
  • Building on from ASP.NET MVC 1.0
  • ASP.NET MVC (Model View Controller)
  • Asynchronous controllers
  • Sub-controllers & Views
  • Declarative controls
ASP.NET Core
  • Address customer pain points
  • Improve scale and performance
  • Cache extensibility and performance:
    • Enable caching like Velocity
like image 176
Noldorin Avatar answered Nov 15 '22 07:11

Noldorin


There are quite a few:

  • static client-side ID's
  • better dynamic data support
  • better support for the routing feature (made popular by ASP.NET MVC) for webforms apps
  • many Ajax enhancements

Read Scott Hanselman's excellent blog post (series) on .NET 4 here.

And checkout a great whitepaper on ASP.NET 4.0 here.

Marc

like image 42
marc_s Avatar answered Nov 15 '22 08:11

marc_s