ASP.NET 4.0 Roadmap
-
Upload
harish-ranganathan -
Category
Technology
-
view
2.621 -
download
1
Transcript of ASP.NET 4.0 Roadmap
Harish Ranganathan
22 / 04 / 09
ASP.NET 4.0 Road
ASP.NET Web Forms
ASP.NET AJAX
ASP.NET MVC
ASP.NET Dynamic Data
ASP.NET 3.5 Service Pack 1• Microsoft Entity Framework
• ADO.NET Data Services
• Dynamic Data
• Microsoft AJAX Improvements– Browser History– Script Combining
ASP.NET Web FormsDesigner-focused Developer
– Rapid application development with Visual Studio designer and tools
– Drag-and-drop controls from toolbox
ASP.NET Web FormsSource-focused developer:
– Likes to type out HTML tags– Writes JavaScript code by hand– Worried about every little angle bracket and pixel
ASP.NET Web Forms
With ASP.NET 4.0, you are in control:
– Control Rendering– Control IDs– View State– Website URLs– XHTML and Accessibility
Types of Code Snippets
• HTMLdiv, table, img …
• ASP.NET
scriptmanager, sqldatasource, formview …
• ASP.NET AJAX
behavior, control …
• JScript
function, forin …
FormView Improvements
• <asp:FormView • ID="Formview1"
• RenderTable="false" • runat="server">
ListView Improvements
Control Your View State
Control.ViewStateMode– Enabled– Disabled– Inherit (default)
Control Your Client IDs
Control.ClientIdMode– Legacy– Static– Predictable– Inherit (default)
Control Your Client IDs
<system.web>
<pages clientIdMode="Predictable">
</pages>
</system.web>
ASP.NET Routing for Search Engine Optimization
Instead of:http://YourSite.com/Search.aspx?query=cats
You can use:
http://YourSite.com/Search/cats
Other Search Engine Optimization Improvements
• Page.Description• Page.Keywords• Response.RedirectPermanent(new url)
ASP.NET AJAX
More on AJAX
Come to my ASP.NET AJAX Talk Building Rich UI using ASP.NET AJAX, Ajax Control Toolkit & jQuery
tomorrow @ 4:20 – Hall 2
ASP.NET AJAX• Created by John Resig• Open Source• Microsoft Product support• Included with Visual Studio
– Shipping right now with ASP.NET MVC
• jQuery Intellisense – Supported in Visual Studio 2008
(see Jeff King’s blog)– Supported in Visual Studio 2010
ASP.NET AJAX
• Accordion• AlwaysVisibleControl• Animation• AutoComplete• Calendar• CascadingDropDown• CollapsiblePanel• ConfirmButton
ASP.NET AJAX
ASP.NET MVC• Enables a clear separation of concerns
• Enables testability including test-driven development
• Enables fine-grained control over HTML and JavaScript
ASP.NET Dynamic Data• DynamicDataManager Control• DynamicHyperLink Control• Field Templates for Email and URL• Support for Inheritance and Many-to-Many
Relationships• Entity Templates
ASP.NET Dynamic Data• Entity Templates
References • VS 2010
http://channel9.msdn.com/shows/10-4
• ASP.NEThttp://www.asp.net
• MSDN India http://msdn.microsoft.com/hi-in/default.aspx