a web developer's journey across different versions of asp.net
TRANSCRIPT
![Page 1: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/1.jpg)
A web developer’s journey across different versions of ASP.NETHarish Ranganathan Web Developer Evangelist | Microsoft Corporation India
![Page 2: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/2.jpg)
Agenda
• Evolution of ASP.NET• Where am I currently• Visual Studio 2008 Features• ASP.NET Enhancements• Future Preview – Visual Studio 2010
Beta 2
![Page 3: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/3.jpg)
Programming Model in .NET
MSVBVM MSVCRT MSJVM
Java SDKMFC / WIN32 APIVB Lang. API
VJ++VC++VB
Common Language Runtime
Base Class Library
Data and XML
WebServices
UserInterface
VB C++ C# JScript …
![Page 4: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/4.jpg)
Framework Multitargeting
.NET Fx 2.0.NET Fx 2.0Update
.NET Fx 2.0Update
.NET Fx 3.0.NET Fx 3.0Update
.NET Fx 3.5
.NET 2.0 .NET 3.0
.NET 3.5
time
Version = Assembly references + compilers. No new CLR runtime until now. Only .NET 4.0 has new CLR runtime.
.NET 4.0
.NET Fx 4.0
![Page 5: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/5.jpg)
ASP.NET Evolution
ASP.NET 1.x
ASP.NET 2.0
ASP.NET AJAX
ASP.NET 3.5
ASP.NET MVCDynamic
DataASP.NET 4.0 Beta 2
Visual Studio .NET 2003
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010 Beta 2
![Page 6: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/6.jpg)
Visual Studio 2008 Backward Compatibility
demo
![Page 7: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/7.jpg)
ASP.NET Currently
System.Web
Web forms Master Pages ProvidersAJAX
Extensions
.NET Framework 3.0 + SP1
.NET Framework 3.5
ASP.NET AJAXSilverlight Support
JavaScript Intellisense
Additional Enhancements
.NET Framework 3.5 + SP1
MVC Dynamic DataEntity
Framework Data Services
![Page 8: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/8.jpg)
Other Enhancements
• Improved Data Set performance• Fixes for Form Tag• Nested Master Page Editing• AJAX Enabled WCF Services• ListView Control for Databinding
![Page 9: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/9.jpg)
Visual Studio 2008
demo
![Page 10: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/10.jpg)
Core
Services
.NET Framework 4.0 Beta 2
Base Class Library
Common Language Runtime
Windows Workflow
Foundation
Managed Extensibility Framework
Data Services
Windows Communicati
on Foundation
“Velocity”
User Interface
Windows Presentation Foundation
ASP.NET(WebForms,
MVC, Dynamic
Data)
Data Access
Entity Framework
LINQ
ADO.NET
Parallel Extensions
WinForms LINQ to SQL
LanguagesDynamic Language Runtime
![Page 11: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/11.jpg)
11
Key focus areas
• Ease of migration• Search Engine friendly•Working with Data• Focus on tier architecture• Standards, Compliance
![Page 12: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/12.jpg)
ListView Improvements
<asp:ListView ID="Listview1" runat="server"> <LayoutTemplate> <div id="itemContainer" runat="server" /> </LayoutTemplate> <ItemTemplate> <%# Eval("Title") %> </ItemTemplate></asp:ListView>
![Page 13: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/13.jpg)
FormView Improvements
<asp:FormView ID="Formview1"
RenderTable="false" runat="server">
![Page 14: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/14.jpg)
14
Control Your View State
Control.ViewStateMode–Enabled–Disabled–Inherit (default)
![Page 15: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/15.jpg)
15
Control Your Client IDs
<system.web> <pages clientIdMode="Predictable">
</pages></system.web>
![Page 16: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/16.jpg)
16
Filtering Data with QueryExtender
• Filters data from IQuerable DataSource• Handy in implementing Search/Filtering• No code• Can be combined with AJAX to provide rich
user experience• Works great with .NET RIA Services
![Page 17: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/17.jpg)
17
ASP.NET Routing for Search Engine OptimizationInstead of:
http://YourSite.com/Search.aspx?query=cats
You can use:http://YourSite.com/Search/cats
![Page 18: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/18.jpg)
18
Other Search Engine Optimization Improvements
• Page.Description• Page.Keywords• Response.RedirectPermanent(new url)
![Page 19: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/19.jpg)
Visual Studio 2010 Beta 2
demo
![Page 21: A Web Developer's Journey across different versions of ASP.NET](https://reader038.vdocuments.us/reader038/viewer/2022110306/554ebcbab4c905de468b4856/html5/thumbnails/21.jpg)
© 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.