INTRODUCTION   TO   ASP.NET 2.0
SESSION OBJECTIVES Prerequisites What is classic ASP? What is ASP.NET?
WHAT IS ASP.NET? ASP.NET is a Microsoft Technology  ASP stands for Active Server Pages  ASP.NET is a program that runs inside IIS
WHAT IS IIS? 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
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, and scripts  Scripts in an ASP.NET file are executed on the server  An ASP.NET file has the file extension ".aspx"
HOW DOES ASP.NET WORK? When a browser requests an HTML file, the server returns the file  When a browser 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  Finally, the ASP.NET file is returned to the browser as plain HTML
WHAT IS ASP+? ASP+ is the same as ASP.NET. ASP+ is just an early name used by Microsoft when they developed ASP.NET.
THE MICROSOFT.NET FRAMEWORK The .NET Framework is the infrastructure for the Microsoft .NET platform.  The .NET Framework is an environment for building, deploying, and running Web applications and Web Services
FEATURES OF .NET FRAMEWORK Easier and quicker programming  Reduced amount of code  Declarative programming model  Richer server control hierarchy with events  Larger class library  Better support for development tools
PARTS OF .NET FRAMEWORK Programming languages Server technologies and client technologies Development environments
PROGRAMMING LANGUAGES C# (Pronounced C sharp)  Visual Basic (VB .NET)  J# (Pronounced J sharp)
DEVELOPMENT TOOLS Visual Studio .NET (VS .NET)  Visual Web Developer
NEW IN ASP.NET Better language support  Programmable controls  Event-driven programming  XML-based components  User authentication, with accounts and roles  Higher scalability  Increased performance - Compiled code  Easier configuration and deployment  Not fully ASP compatible
LANGUAGE SUPPORT ASP.NET uses the new ADO.NET. ASP.NET supports full Visual Basic, not VBScript. ASP.NET supports C# (C sharp) and C++. ASP.NET supports JScript as before.
DYNAMIC PAGE IN ASP.NET <html>  <body bgcolor=&quot;yellow&quot;> <center> <h2>Hello ASP.NET!</h2> <p><%Response.Write(now())%></p> </center> </body>  </html>
ASP.NET SERVER CONTROLS Server controls are tags that are understood by the server. There are three kinds of server controls: HTML Server Controls - Traditional HTML tags  Web Server Controls - New ASP.NET tags  Validation Server Controls - For input validation

Asp.net

  • 1.
    INTRODUCTION TO ASP.NET 2.0
  • 2.
    SESSION OBJECTIVES PrerequisitesWhat is classic ASP? What is ASP.NET?
  • 3.
    WHAT IS ASP.NET?ASP.NET is a Microsoft Technology ASP stands for Active Server Pages ASP.NET is a program that runs inside IIS
  • 4.
    WHAT IS IIS?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
  • 5.
    WHAT IS ANASP.NET FILE? An ASP.NET file is just the same as an HTML file An ASP.NET file can contain HTML, XML, and scripts Scripts in an ASP.NET file are executed on the server An ASP.NET file has the file extension &quot;.aspx&quot;
  • 6.
    HOW DOES ASP.NETWORK? When a browser requests an HTML file, the server returns the file When a browser 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 Finally, the ASP.NET file is returned to the browser as plain HTML
  • 7.
    WHAT IS ASP+?ASP+ is the same as ASP.NET. ASP+ is just an early name used by Microsoft when they developed ASP.NET.
  • 8.
    THE MICROSOFT.NET FRAMEWORKThe .NET Framework is the infrastructure for the Microsoft .NET platform.  The .NET Framework is an environment for building, deploying, and running Web applications and Web Services
  • 9.
    FEATURES OF .NETFRAMEWORK Easier and quicker programming Reduced amount of code Declarative programming model Richer server control hierarchy with events Larger class library Better support for development tools
  • 10.
    PARTS OF .NETFRAMEWORK Programming languages Server technologies and client technologies Development environments
  • 11.
    PROGRAMMING LANGUAGES C#(Pronounced C sharp) Visual Basic (VB .NET) J# (Pronounced J sharp)
  • 12.
    DEVELOPMENT TOOLS VisualStudio .NET (VS .NET) Visual Web Developer
  • 13.
    NEW IN ASP.NETBetter language support Programmable controls Event-driven programming XML-based components User authentication, with accounts and roles Higher scalability Increased performance - Compiled code Easier configuration and deployment Not fully ASP compatible
  • 14.
    LANGUAGE SUPPORT ASP.NETuses the new ADO.NET. ASP.NET supports full Visual Basic, not VBScript. ASP.NET supports C# (C sharp) and C++. ASP.NET supports JScript as before.
  • 15.
    DYNAMIC PAGE INASP.NET <html> <body bgcolor=&quot;yellow&quot;> <center> <h2>Hello ASP.NET!</h2> <p><%Response.Write(now())%></p> </center> </body> </html>
  • 16.
    ASP.NET SERVER CONTROLSServer controls are tags that are understood by the server. There are three kinds of server controls: HTML Server Controls - Traditional HTML tags Web Server Controls - New ASP.NET tags Validation Server Controls - For input validation