Asp.net Project

13
Aadarsh Present

description

Brief discussion .

Transcript of Asp.net Project

Aadarsh Present

What is ASP.NET?Overview of ASP.NETBenefits of ASP.NETWhat is ASP.NET File?IISHow Does ASP.NET Work?Creating a Virtual DirectoryWeb Sharing the Project FolderDeleting a Web Project

SESSION OBJECTIVES

Creation, deployment, and execution of Web Applications and Web Services

ASP.NET is a Microsoft Technology

ASP stands for Active Server Pages

What is ASP.NET ?

Server Side ScriptingLanguage InteroperabilityBrowser IndependentInteractive Web application & DataBase managementMaintaining State ManagementASP.NET is a program that runs inside IIS

Overview of ASP.NET

Separation of Code from HTML

Graphical Development Environment

Update files while the server is running!

Support for compiled languages

State management

Benefits of ASP.NET

An ASP.NET file is just the same as an HTML fileAn ASP.NET file can contain HTML, XML & scriptsScripts in an ASP.NET file are executed on the server An ASP.NET file has the file extension ".aspx“

What is in a ASP.NET File?

Internet Information ServiceIIS (Internet Information Services) is Microsoft's Internet serverIIS comes as a free component with Windows serversIIS is also a part of Windows 2000 and XP Professional

IIS – Internet Information Services

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

How does ASP.NET work?

Start, Settings, Control Panel, Administrative Tools, Internet Services ManagerExpand node for computer and default Web siteRight-click Default Web site icon, select New, Virtual DirectoryIn Virtual Directory Creation Wizard enter your project folder name as the alias and enter the folder and path

Creating a Virtual Directory

Select the Project folder in My ComputerRight-click, select Properties, Web Sharing, activate Share This FolderIn Edit Alias dialog click OK

Web Sharing the Project Folder

Project in IIS Virtual Directory• Delete the directoryProject in Web Shared Folder• “Unshare” it from Properties dialog• Either Reboot Computer or Stop and Restart IIS• Delete Folder

Deleting a Web Project

What is ASP.NET?Overview of ASP.NETBenefits of ASP.NETWhat is ASP.NET File?IISHow Does ASP.NET Work?Creating a Virtual DirectoryWeb Sharing the Project FolderDeleting a Web Project