ASP.net123

Views:
 
Category: Education
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

Slide 1: 

1 Made by Varsha Gupta

ASP.NET : 

ASP.NET ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. You can develop your own ASP.NET Web based applications in any .NET complaint languages such as Microsoft Visual Basic, Visual C#, and Jscript.NET. 2

Wrong with ASP? : 

Wrong with ASP? When page is processed by ASP on the web-server the scripting engine needs to switch on or off multiple times just to handle this single request. In ASP.NET, these problems don’t exist. Web pages are written with traditional object-oriented concepts in mind. 3

Advantages : 

Advantages ASP.NET is part of the .NET Framework. We can use the classes in the .NET Framework to develop any type of applications. ASP.NET Pages are compiled. When an ASP.NET page is first requested, it is compiled and cached on the server. This means that an ASP.NET page performs very rapidly all ASP.NET code is compiled rather than interpreted , which permits early binding, strong typing and just-in-time to native code. XML Based ASP.NET configuration settings are stored in XML-Based files, which are human readable and writable. 4

Continued.. : 

Continued.. Code-Behind Logic The main problem with ASP pages is that an ASP page does not yield modularized code. Both Microsoft’s ASP.NET implementation contains a new-fangled method to break up business logic code from presentation code. Asp.net Pages are built with Server Controls. We can easily build complex web pages by bring together the pages out of ASP.NET server controls. 5

Why we need ASP.NET? : 

Why we need ASP.NET? Multi-language support- vb, c#,… Language enhancements-OOP,.. Benefits of the CLR. Benefits of the .NET Framework library. Debugging improvement. 6

How to Install? : 

How to Install? Windows 2000 or XP Install Windows 2000 Professional or Windows XP Professional. In both cases, install the Internet Information Services (IIS) from the Add/Remove Windows components dialog. Service packs and updates Before ASP.NET can be installed on your computer, all relevant service packs and security updates must be installed. Install .NET After download, the .NET framework will install itself on your computer - there are no options to select for installation. The .NET Software Development Kit Connection Speed and Download Time. 7

How does it work? : 

How does it work? Fundamentally an ASP.NET page is just the same as an HTML page. An HTML page has the extension .htm. If a browser requests an HTML page from the server, the server sends the page to the browser without any modifications. An ASP.NET page has the extension .aspx. If a browser requests an ASP.NET page, the server processes any executable code in the page, before the result is sent back to the browser. 8

Why migrate from ASP to ASP.NET : 

Why migrate from ASP to ASP.NET New page with VS.NET : Drag and Drop Data binding. ASP.NET enabling a web application. Full redesign of application. New page with VS.NET : Drag and drop data binding 9

Controls : 

Controls HTML controls. using runat=“ Server” Web controls. Datagrid, textbox, dropdown,.. 10

Preparing for ASP.NET : 

Preparing for ASP.NET Avoid declaring functions inside <% %> delimiters- use <script></script>. Avoid mixing languages in a single page. <form runat="server">...HTML + server controls</form> Note: An .aspx page can only contain ONE <form runat="server"> control! 11

End of the ASP.NET : 

End of the ASP.NET 12

authorStream Live Help