WEBSITE DEVELOPMENT& INTRODUCTION TO ASP.net<br />15th June 2010<br />
What is a Website ?<br />
Behind the scenes<br />In Static website<br />In Dynamic Website<br />
ASP.net<br />ASP.NET is a technology for building powerful, dynamic Web applications and is part of the .NET Framework.<br...
Different Type of Projectsin VS 2010<br />Websites<br />Web Applications<br />Web Services<br />Ajax Server Controls<br />
ASP.NET API Reference<br />System.Web<br />HttpRequest class<br />HttpResponse class<br />HttpServerUtility class<br />coo...
System.Web.ApplicationServices<br />Provides classes that provide access to ASP.NET forms authentication, roles, and profi...
System.Web.Handlers<br />Contains HTTP handler classes that process HTTP requests to a Web server. (An ASP.NET Web Forms p...
Website which is Compiled<br />ASP.NET Compiler<br />All ASP.NET code is compiled, which enables strong typing, performanc...
HTMLOUTERMOST SHELL OF WEBSITE<br />
ASP.net Application Lifecycle<br />User requests an application resource from the Web server.<br />ASP.NET receives the fi...
An HttpApplication object is assigned to the request, if the application has a Global.asax file, ASP.NET instead creates a...
First ASP.net Application<br /><%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""htt...
<body>    <form id="form1" runat="server">    <div>    The current date and time is:    <asp:Label        id="lblServerTim...
Upcoming SlideShare
Loading in …5
×

15th june

502 views
462 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
502
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

15th june

  1. 1. WEBSITE DEVELOPMENT& INTRODUCTION TO ASP.net<br />15th June 2010<br />
  2. 2. What is a Website ?<br />
  3. 3. Behind the scenes<br />In Static website<br />In Dynamic Website<br />
  4. 4. ASP.net<br />ASP.NET is a technology for building powerful, dynamic Web applications and is part of the .NET Framework.<br />ASP.NET is a unified Web development model that includes the services necessary for you to build enterprise-class Web applications with a minimum of coding.<br />
  5. 5. Different Type of Projectsin VS 2010<br />Websites<br />Web Applications<br />Web Services<br />Ajax Server Controls<br />
  6. 6. ASP.NET API Reference<br />System.Web<br />HttpRequest class<br />HttpResponse class<br />HttpServerUtility class<br />cookie manipulation<br />file transfer<br />exception information<br />output cache control.<br />
  7. 7. System.Web.ApplicationServices<br />Provides classes that provide access to ASP.NET forms authentication, roles, and profiles application services as Windows Communication Foundation (WCF) services.<br />System.Runtime.Caching<br />Contains types that let you implement caching in .NET Framework applications<br />System.Web.Configuration<br />Contains classes that are used to programmatically manage ASP.NET configuration. <br />
  8. 8. System.Web.Handlers<br />Contains HTTP handler classes that process HTTP requests to a Web server. (An ASP.NET Web Forms page -- .aspx file -- is a special form of an HTTP handler.)<br />System.Web.Routing<br />Provides classes that are used with URL routing, which enables you to use URLs that do not map to a physical file.<br />System.Web.Security<br />Contains classes that are used to implement ASP.NET security in Web server applications.<br />
  9. 9. Website which is Compiled<br />ASP.NET Compiler<br />All ASP.NET code is compiled, which enables strong typing, performance optimizations, and early binding, among other benefits. <br />Once the code has been compiled, the common language runtime further compiles ASP.NET code to native code, providing improved performance.<br />
  10. 10. HTMLOUTERMOST SHELL OF WEBSITE<br />
  11. 11. ASP.net Application Lifecycle<br />User requests an application resource from the Web server.<br />ASP.NET receives the first request for the application,a class named ApplicationManager creates an application domain. <br />ASP.NET core objects are created for each request.<br />HttpContext, HttpRequest, and HttpResponse<br />
  12. 12. An HttpApplication object is assigned to the request, if the application has a Global.asax file, ASP.NET instead creates an instance of the Global.asax class that is derived from the HttpApplicationclass<br />The request is processed by the HttpApplication pipeline.<br />
  13. 13. First ASP.net Application<br /><%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server">    void Page_Load()    {        lblServerTime.Text = DateTime.Now.ToString();    }</script><html xmlns="http://www.w3.org/1999/xhtml" ><head>    <title>First Page</title></head><br />
  14. 14. <body>    <form id="form1" runat="server">    <div>    The current date and time is:    <asp:Label        id="lblServerTime"        Runat="server" />    </div>    </form></body></html><br />

×