How To Create Virtual Directory: Kumar S

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 12

ASP.

NET – Presentation #1

Overview of ASP.NET, about IIS and


how to create virtual directory

http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

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
http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

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

http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

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

http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

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

http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

What is an 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“

http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

IIS
 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

http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

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
http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

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

http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

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

http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

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

http://www.guyfromchennai.com Kumar S
ASP.NET – Presentation #1

Summary
 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

http://www.guyfromchennai.com Kumar S

You might also like