1 / 20

ASP to ASP Migration

ASP to ASP.net Migration. Harish Ranganathan Live Web Developer Evangelist | Microsoft India http://geekswithblogs.net/ranganh | hrangan@microsoft.com. Understanding versions. ASP.NET 1.0 ~ Visual Studio .NET 2002 ASP.NET 1.1 ~ Visual Studio .NET 2003

dianne
Télécharger la présentation

ASP to ASP Migration

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ASP to ASP.netMigration Harish Ranganathan Live Web Developer Evangelist | Microsoft India http://geekswithblogs.net/ranganh | hrangan@microsoft.com

  2. Understanding versions • ASP.NET 1.0 ~ Visual Studio .NET 2002 • ASP.NET 1.1 ~ Visual Studio .NET 2003 • ASP.NET 2.0 ~ Visual Studio 2005 • ASP.NET 3.5 ~ Visual Studio 2008

  3. DEMO ASP.NET and Visual Studio

  4. Key Changes • Scripting vs Code Behind • VB Script vs VB.NET/C# • Embedded in HTML / Code Behind ~ Beside • HTML Controls vs Server Controls • Virtual Directory vs Application

  5. DEMO Code behind ~ beside

  6. Server Controls • Generate HTML Code at runtime • Work on Post Back Model • Flexible server side handling • Stores post back data using View State • Can become heavier with extensive usage • Virtual Directory vs Application

  7. DEMO Server Controls

  8. Configuration • Web.Config for Application Settings • Machine.config for System Settings • Global.asax for Application Event Handling • Virtual Directory marked as Application • Needs ASP.NET Enabled in IIS 6.0 / 7.0 • Virtual Directory vs Application

  9. DEMO Configuration

  10. Chosing the Migration Model • Side by side: Classic ASP with ASP.NET Pages • All pages converted to ASP.NET • Both work well

  11. Horizontal Migration ASP.net ASP.net ASP ASP COM wrapper COM COM ADO / C++ ADO / C++

  12. Vertical Migration ASP.net ASP.net ASP ASP .NET Class Library COM ADO.NET ADO / C++

  13. How do I chose? • Depends on various factors • Long term approach must be Vertical Migration • Quick migration would be Horizontal, side-by-side with ASP and writing COM Wrapper

  14. What I miss in Vertical • Effort that went into designing DAL / BL • Business requirements, modifications to methods / return type data • Flexibility of an early roll-out

  15. What I miss in Horizontal • Pretty much everything i.e. Robustness, Databinding, ADO.NET, Performance etc., • Residing in unmanaged COM World • Disconnected architecture of ADO.NET (Applies to Data Set only)

  16. Top sites migrated to ASP.NET • Dell.com • Monster.com • MSN.com • LondonStockExchange.com • Microsoft.com (Yes, its equally difficult here)

  17. Resources • ASP.NET Learning http://www.asp.net/learn • Get Started http://www.asp.net/get-started/

  18. Feedback / QnA • Your Feedback is Important! Please take a few moments to fill out our online feedback form • Use the Question Manager on LiveMeeting to ask your questions now!

  19. Contact (optional slide) • Blog Address http://geekswithblogs.net/ranganh • Email Address hrangan@microsoft.com

More Related