A Web Developer's Journey across different versions of ASP.NET


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

A Web Developer's Journey across different versions of ASP.NET

  1. 1. A web developer’s journey across different versions of ASP.NET<br />Harish Ranganathan<br /> Web Developer Evangelist | Microsoft Corporation India<br />
  2. 2. Agenda<br />Evolution of ASP.NET<br />Where am I currently<br />Visual Studio 2008 Features<br />ASP.NET Enhancements<br />Future Preview – Visual Studio 2010 Beta 2<br />
  3. 3. VB<br />C++<br />C#<br />JScript<br />…<br />VJ++<br />VC++<br />VB<br />Web<br />Services<br />User<br />Interface<br />Java SDK<br />MFC / WIN32 API<br />VB Lang. API<br />Data and XML<br />Base Class Library<br />MSVBVM<br />MSVCRT<br />MSJVM<br />Programming Model in .NET<br />Common Language Runtime<br />
  4. 4. Framework Multitargeting<br />Version = Assembly references + compilers. No new CLR runtime until now. Only .NET 4.0 has new CLR runtime.<br />.NET Fx 3.5<br />.NET Fx 4.0<br />.NET Fx 3.0<br />Update<br />.NET Fx 3.0<br />.NET Fx 2.0<br />.NET Fx 2.0Update<br />.NET Fx 2.0<br />Update<br />.NET 4.0<br />.NET 2.0<br />.NET 3.0<br />.NET 3.5<br />time<br />
  5. 5. ASP.NET Evolution<br />ASP.NET MVC<br />Dynamic Data<br />ASP.NET 4.0 Beta 2<br />Visual Studio 2010 Beta 2<br />ASP.NET AJAX<br />ASP.NET 3.5<br />Visual Studio 2008<br />ASP.NET 2.0<br />Visual Studio 2005<br />ASP.NET 1.x<br />Visual Studio .NET 2003<br />
  6. 6. Visual Studio 2008 Backward Compatibility<br />demo <br />
  7. 7. ASP.NET Currently<br />.NET Framework 3.5 + SP1<br />Entity Framework<br />MVC<br />Dynamic Data<br />Data Services<br />.NET Framework 3.5<br />JavaScript Intellisense<br />ASP.NET AJAX<br />Silverlight Support<br />Additional Enhancements<br />.NET Framework 3.0 + SP1<br />Web forms<br />Master Pages<br />Providers<br />AJAX Extensions<br />System.Web<br />
  8. 8. Other Enhancements<br />Improved Data Set performance<br />Fixes for Form Tag<br />Nested Master Page Editing<br />AJAX Enabled WCF Services<br />ListView Control for Databinding<br />
  9. 9. Visual Studio 2008<br />demo <br />
  10. 10. .NET Framework 4.0 Beta 2<br />Data Access<br />User Interface<br />Services<br />Windows Presentation Foundation<br />ASP.NET<br />(WebForms, MVC, Dynamic Data)<br />Entity Framework<br />ADO.NET<br />Data Services<br />Windows Communication Foundation<br />WinForms<br />LINQ to SQL<br />Windows Workflow Foundation<br />“Velocity”<br />Core<br />Base Class Library<br />Dynamic Language Runtime<br />Languages<br />Managed Extensibility Framework<br />LINQ<br />Parallel Extensions<br />Common Language Runtime<br />
  11. 11. Key focus areas<br />Ease of migration<br />Search Engine friendly<br />Working with Data<br />Focus on tier architecture<br />Standards, Compliance<br />
  12. 12. ListView Improvements<br />&lt;asp:ListView ID=&quot;Listview1&quot; runat=&quot;server&quot;&gt;<br /> &lt;LayoutTemplate&gt;<br /> &lt;div id=&quot;itemContainer&quot; runat=&quot;server&quot; /&gt;<br /> &lt;/LayoutTemplate&gt;<br /> &lt;ItemTemplate&gt;<br /> &lt;%# Eval(&quot;Title&quot;) %&gt;<br /> &lt;/ItemTemplate&gt;<br />&lt;/asp:ListView&gt;<br />
  13. 13. FormView Improvements<br />&lt;asp:FormView<br /> ID=&quot;Formview1&quot; <br />RenderTable=&quot;false&quot;<br />runat=&quot;server&quot;&gt;<br />
  14. 14. Control Your View State<br />Control.ViewStateMode<br />Enabled<br />Disabled<br />Inherit (default)<br />
  15. 15. Control Your Client IDs<br />&lt;system.web&gt;<br /> &lt;pages clientIdMode=&quot;Predictable&quot;&gt;<br /> &lt;/pages&gt;<br />&lt;/system.web&gt;<br />
  16. 16. Filtering Data with QueryExtender<br />Filters data from IQuerable DataSource<br />Handy in implementing Search/Filtering<br />No code<br />Can be combined with AJAX to provide rich user experience<br />Works great with .NET RIA Services<br />
  17. 17. ASP.NET Routing for Search Engine Optimization<br />Instead of:<br />http://YourSite.com/Search.aspx?query=cats<br />You can use:<br />http://YourSite.com/Search/cats<br />
  18. 18. Other Search Engine Optimization Improvements<br />Page.Description<br />Page.Keywords<br />Response.RedirectPermanent(new url)<br />
  19. 19. Visual Studio 2010 Beta 2<br />demo <br />
  20. 20. Contact<br />Blog Address<br /> http://geekswithblogs.net/ranganh<br />Email Address<br /> hrangan@microsoft.com <br />
  21. 21. <ul><li>2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.</li>