ASP.NET 4.0 Roadmap

28
Harish Ranganathan 22 / 04 / 09 ASP.NET 4.0 Road

Transcript of ASP.NET 4.0 Roadmap

Page 1: ASP.NET 4.0 Roadmap

Harish Ranganathan

22 / 04 / 09

ASP.NET 4.0 Road

Page 2: ASP.NET 4.0 Roadmap

ASP.NET Web Forms

Page 3: ASP.NET 4.0 Roadmap

ASP.NET AJAX

Page 4: ASP.NET 4.0 Roadmap

ASP.NET MVC

Page 5: ASP.NET 4.0 Roadmap

ASP.NET Dynamic Data

Page 6: ASP.NET 4.0 Roadmap

ASP.NET 3.5 Service Pack 1• Microsoft Entity Framework

• ADO.NET Data Services

• Dynamic Data

• Microsoft AJAX Improvements– Browser History– Script Combining

Page 7: ASP.NET 4.0 Roadmap

ASP.NET Web FormsDesigner-focused Developer

– Rapid application development with Visual Studio designer and tools

– Drag-and-drop controls from toolbox

Page 8: ASP.NET 4.0 Roadmap

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

Page 9: ASP.NET 4.0 Roadmap

ASP.NET Web Forms

With ASP.NET 4.0, you are in control:

– Control Rendering– Control IDs– View State– Website URLs– XHTML and Accessibility

Page 10: ASP.NET 4.0 Roadmap

Types of Code Snippets

• HTMLdiv, table, img …

• ASP.NET

scriptmanager, sqldatasource, formview …

• ASP.NET AJAX

behavior, control …

• JScript

function, forin …

Page 11: ASP.NET 4.0 Roadmap

FormView Improvements

• <asp:FormView • ID="Formview1"

• RenderTable="false" • runat="server">

Page 12: ASP.NET 4.0 Roadmap

ListView Improvements

Page 13: ASP.NET 4.0 Roadmap

Control Your View State

Control.ViewStateMode– Enabled– Disabled– Inherit (default)

Page 14: ASP.NET 4.0 Roadmap

Control Your Client IDs

Control.ClientIdMode– Legacy– Static– Predictable– Inherit (default)

Page 15: ASP.NET 4.0 Roadmap

Control Your Client IDs

<system.web>

<pages clientIdMode="Predictable">

</pages>

</system.web>

Page 16: ASP.NET 4.0 Roadmap

ASP.NET Routing for Search Engine Optimization

Instead of:http://YourSite.com/Search.aspx?query=cats

You can use:

http://YourSite.com/Search/cats

Page 17: ASP.NET 4.0 Roadmap

Other Search Engine Optimization Improvements

• Page.Description• Page.Keywords• Response.RedirectPermanent(new url)

Page 18: ASP.NET 4.0 Roadmap

ASP.NET AJAX

Page 19: ASP.NET 4.0 Roadmap

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

Page 20: ASP.NET 4.0 Roadmap

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

Page 21: ASP.NET 4.0 Roadmap

ASP.NET AJAX

• Accordion• AlwaysVisibleControl• Animation• AutoComplete• Calendar• CascadingDropDown• CollapsiblePanel• ConfirmButton

Page 22: ASP.NET 4.0 Roadmap

ASP.NET AJAX

Page 23: ASP.NET 4.0 Roadmap

ASP.NET MVC• Enables a clear separation of concerns

• Enables testability including test-driven development

• Enables fine-grained control over HTML and JavaScript

Page 24: ASP.NET 4.0 Roadmap

ASP.NET Dynamic Data• DynamicDataManager Control• DynamicHyperLink Control• Field Templates for Email and URL• Support for Inheritance and Many-to-Many

Relationships• Entity Templates

Page 25: ASP.NET 4.0 Roadmap

ASP.NET Dynamic Data• Entity Templates

Page 26: ASP.NET 4.0 Roadmap

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

Page 27: ASP.NET 4.0 Roadmap

Contact

• Blog Address http://geekswithblogs.net/ranganh

• Email [email protected]

Page 28: ASP.NET 4.0 Roadmap