ASP.NET Presentation #1
guyfromchennai.com
Overview of ASP.NET, about IIS & how to create virtual directory
SESSION OBJECTIVES
• • • • • • • • • What is ASP.NET? Overview of ASP.NET Benefits of ASP.NET What is ASP.NET File? IIS How Does ASP.NET Work? Creating a Virtual Directory Web Sharing the Project Folder Deleting a Web Project
What is ASP.NET ?
• Creation, deployment, and execution of Web Applications and Web Services • ASP.NET is a Microsoft Technology • ASP stands for Active Server Pages
Overview of ASP.NET
• Server Side Scripting • Language Interoperability • Browser Independent • Interactive Web application & DataBase management • Maintaining State Management • ASP.NET is a program that runs inside IIS
Benefits of ASP.NET
• Separation of Code from HTML • Graphical Development Environment • Update files while the server is running! • Support for compiled languages
• State management
What is in a ASP.NET File?
• An ASP.NET file is just the same as an HTML file • An ASP.NET file can contain HTML, XML & scripts • Scripts in an ASP.NET file are executed on the server • An ASP.NET file has the file extension ".aspx“
IIS – Internet Information Services
• Internet Information Service • IIS (Internet Information Services) is Microsoft's Internet server • IIS comes as a free component with Windows servers • IIS is also a part of Windows 2000 and XP Professional
How does ASP.NET work?
• Requests an HTML file, the server returns the file • Requests an ASP.NET file, IIS passes the request to the ASP.NET engine on the server • The ASP.NET engine reads the file, line by line, and executes the scripts in the file
• ASP.NET file is returned to the browser as plain HTML
Creating a Virtual Directory
• Start, Settings, Control Panel, Administrative Tools, Internet Services Manager • Expand node for computer and default Web site • Right-click Default Web site icon, select New, Virtual Directory • In Virtual Directory Creation Wizard enter your project folder name as the alias and enter the folder and path
Web Sharing the Project Folder
• Select the Project folder in My Computer • Right-click, select Properties, Web Sharing, activate Share This Folder • In Edit Alias dialog click OK
Deleting a Web Project
• Project in IIS Virtual Directory – Delete the directory • Project in Web Shared Folder – “Unshare” it from Properties dialog – Either Reboot Computer or Stop and Restart IIS – Delete Folder
Summary
www.guyfromchennai.com
What is ASP.NET? Overview of ASP.NET Benefits of ASP.NET What is ASP.NET File? IIS How Does ASP.NET Work? Creating a Virtual Directory Web Sharing the Project Folder Deleting a Web Project