Asp.net

7,990 views

Published on

0 Comments
11 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
7,990
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
811
Comments
0
Likes
11
Embeds 0
No embeds

No notes for slide

Asp.net

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

×