ASP.NET Presentation #1

download ASP.NET Presentation #1

of 12

Transcript of ASP.NET Presentation #1

  • 8/14/2019 ASP.NET Presentation #1

    1/12

    Overview of ASP.NET, about IIS and

    how to create virtual directory

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

  • 8/14/2019 ASP.NET Presentation #1

    2/12

    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

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

  • 8/14/2019 ASP.NET Presentation #1

    3/12

    What is ASP.NET?

    Creation, deployment, and executionof Web Applications and Web Services

    ASP.NET is a Microsoft Technology

    ASP stands for Active Server Pages

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

  • 8/14/2019 ASP.NET Presentation #1

    4/12

    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

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

  • 8/14/2019 ASP.NET Presentation #1

    5/12

    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

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

  • 8/14/2019 ASP.NET Presentation #1

    6/12

    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

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

  • 8/14/2019 ASP.NET Presentation #1

    7/12

    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

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

  • 8/14/2019 ASP.NET Presentation #1

    8/12

    How Does ASP.NET Work?

    Requests an HTML file, the server returns the

    file

    Requests an ASP.NET file, IIS passes therequest 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

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

  • 8/14/2019 ASP.NET Presentation #1

    9/12

    Start, Settings, Control Panel,Administrative Tools, Internet ServicesManager

    Expand node for computer and default Website

    Right-click Default Web site icon, selectNew, Virtual Directory

    In Virtual Directory Creation Wizard enteryour project folder name as the alias andenter the folder and path

    Creating a Virtual Directory

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

  • 8/14/2019 ASP.NET Presentation #1

    10/12

    Select the Project folder in My Computer

    Right-click, select Properties, Web

    Sharing, activate Share This Folder In Edit Alias dialog click OK

    Web Sharing the Project Folder

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

  • 8/14/2019 ASP.NET Presentation #1

    11/12

    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

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S

    ASP NET P t ti #1

  • 8/14/2019 ASP.NET Presentation #1

    12/12

    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

    ASP.NET Presentation #1

    http://www.guyfromchennai.com Kumar S