1 Classic ASP vs. ASP.NET Technical Information and Market Adoption Lance Welker University of San Diego Dr. Rebman MSIT 526 December 20, 2005
2 Agenda Introduction to Dynamic Web pages Classic ASP Technical Details History ASP.NET Technical Details History and Future Conclusion Questions/Comments
3 Introduction
4 Dynamic Web Pages In the beginning there was static HTML All pages maintained the same visual appearance for all customers Now everything is dynamic Decision process prior to sending requested page to client browser Enables greater customization and interactivity Variables include: Time The customer Specific events Introduction
5 Classic ASP
6 A server-based technology that developers use to create dynamic and interactive HTML pages. Instructions can: Request data from a server-side database Insert data from the client into a database on the server Perform mathematical calculations Perform if-then logic And much more… Classic ASP Introduction
7 ASP makes use of scripting languages Can execute high level instructions individually which simplifies coding Favors rapid development over efficiency and execution Slower to execute and consume more memory than compiled languages Languages used include: Visual Basic Script (VBScript) * Java Script (Jscript) Perl Script Python Classic ASP Coding languages
8 HTML source code, ASP statements and text are intermixed within and HTML page. For example: You are not currently logged in You are currently logged in as: All Web browsers work with ASP Classic ASP Page structure
9 Tools Debugging issues Interpretation by ASP Script Engine Every time a page is requested Security ASP code can’t be seen Authorization and Authentication issues State management Cookies are required Classic ASP More Information
10 ASP 1.0 released December 1996 Versioning and bundling Internet Explorer Third party vendors Web hosting Books, magazines, Web sites Workforce talent Most widely used Web development language ASP History Perfect timing
11 ASP.NET
12 ASP.NET Today’s version of ASP Drastically different than Classic version Ultimately enables Web pages to replace applications traditionally loaded on local drives. Designed to provide easier, more consistent development environment than Classic ASP
13 More structured and object-oriented Managed CLR Variable declarations Not backwards compatible Separation of logic and layout, can be a different page Execution order must be specified Not platform independent ASP.NET Today’s version of ASP
14 ASP.NET uses a compiler Assembly Faster Cross language integration Debugging Enhanced security Languages used MS Visual Basic.NET MS Visual C#.NET Jscript.NET ASP.NET Compiled language
15 Greatly enhanced object class libraries Security is more easily dealt with Maintaining session state is easier no cookies are needed WYSIWYG editors available MS Visual Studio.NET ASP.NET Web Matrix Project DataGrid ASP.NET More Information
16 January 2002, ASP.NET 1.0 November 2005, ASP.NET 2.0 Market attitudes, adoption Much more complicated Need to understand OO programming ASP.NET More Information
17 Conclusion
18 Until ASP.NET becomes necessary for the masses, Classic ASP will maintain a large user group Conclusion Classic ASP will survive
19 Comments and Questions Thank you for your time