ASP.NET 4 adds built-in support for routing with Web Forms. Routing is a feature that was introduced with ASP.NET 3.5 SP1 and lets you configure an application to use URLs that are meaningful to users and to search engines because they do not have to specify physical file names
- The PageRouteHandler class is a simple HTTP handler that you use when you define routes. You no longer have to write a custom route handle
- HttpRequest.RequestContext and Page.RouteData properties make it easier to access information that is passed in URL parameters.
- No need to change the web.config to enable routing..
I plan to write another seperate blog for Web forms routing later
Setting Client IDs
The new ClientIDMode property makes it easier to write client script that references HTML elements rendered for server controls. Most of the Third party controls supported this earlier... Microsoft is using other vendors as their R & D department :)
Persisting Row Selection in Data Controls
A very late feature. This should have been included in .NET 3.5 at the latest... All projects were already handles such scnearios and all programmers are already aware on how to avoid default selection of rows when pagination is enabled...
Form View and List View Control Enhancements
A new property in FormView RenderTable="false" will ensure that the unexpected table row and table cell tags were rendered by the control previosuly is eliminated. This makes it easier to apply CSS style to the contents of the control.
In List View Control does not require a layout template from .NET 4.0. In 3.5 it is mandatory to specify Layout template.
No comments:
Post a Comment