Asp.net presentation by gajanand bohra

42,002 views

Published on

1 Comment
5 Likes
Statistics
Notes
No Downloads
Views
Total views
42,002
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
621
Comments
1
Likes
5
Embeds 0
No embeds

No notes for slide

Asp.net presentation by gajanand bohra

  1. 1. ASP. NET Presented By:- Gajanand Bohra SEO,Fan Page Expert & Guinness World Records Holder
  2. 2. What is ASP . NETASP.NET is a web application framework developed andmarketed by Microsoft to allow programmers to build dynamicweb sites, web applications and web services.ASP.NET is a Microsoft TechnologyASP.NET is a program that runs inside IISIIS (Internet Information Services) is Microsofts InternetserverIIS comes as a free component with Windows serversIIS is also a part of Windows 2000 and XP ProfessionalASP stands for:- Active Server Pages
  3. 3. What is ASP +?ASP+ is the same as ASP.NET.ASP+ is just an early name used by Microsoft when theydeveloped ASP.NET.
  4. 4. Characteristics of ASP . NET 1 Pages 2 Code-behind model 3 Directives 4 User controls 5 Custom controls 6 Rendering technique 7 State management 8 Template engine
  5. 5. Characteristics of ASP . NET1 Pages ASP.NET web pages known officially as Web Forms are the main building block for application development. Web forms are contained in files with an ".aspx" extension; these files typically contain static (X)HTML markup, as well as markup defining server-side Web Controls and User Controls where the developers place all the required static and dynamic content for the web page. Additionally, dynamic code which runs on the server can be placed in a page within a block <% -- dynamic code -- %>, which is similar to other web development technologies such as PHP, JSP, and ASP.
  6. 6. Characteristics of ASP . NET2 Code-behind model ASP.NETs code-behind model marks a departure from Classic ASP in that it encourages developers to build applications with separation of presentation and content in mind. In theory, this would allow a web designer, for example, to focus on the design markup with less potential for disturbing the programming code that drives it. This is similar to the separation of the controller from the view in Model–View–Controller (MVC) frameworks.
  7. 7. Characteristics of ASP . NET3 Directives A directive is special instructions on how ASP.NET should process the page.[11] The most common directive is <%@ Page %> which can specify many things, such as which programming language is used for the server- side code.Examples:
  8. 8. Characteristics of ASP . NET4 User Controls User controls are encapsulations of sections of pages which are registered and used as controls in ASP.NET. . These files usually contain static (X)HTML markup, as well as markup defining server- side web controls. These are the locations where the developer can place the required static and dynamic content. A user control is compiled when its containing page is requested and is stored in memory for subsequent requests. User controls have their own events which are handled during the life of ASP.NET requests. A user control is primarily a form made of any combination of server and client controls sewn together with server and client script code.
  9. 9. Characteristics of ASP . NET5 Custom Controls Programmers can also build custom controls for ASP.NET applications. Such custom controls can be used across multiple web applications and Visual Studio projects.
  10. 10. Characteristics of ASP . NET6 Rendering techniqueASP.NET uses a visited composites rendering technique. Duringcompilation, the template (.aspx) file is compiled into initialization codewhich builds a control tree (the composite) representing the originaltemplate. Literal text goes into instances of the Literal control class, andserver controls are represented by instances of a specific control class. Theinitialization code is combined with user-written code (usually by theassembly of multiple partial classes) and results in a class specific for thepage. The page doubles as the root of the control tree.
  11. 11. Characteristics of ASP . NET7 State management ASP.NET applications are hosted by a web server and are accessed using the stateless HTTP protocol. As such, if an application uses stateful interaction, it has to implement state management on its own. ASP.NET provides various functions for state management. Conceptually, Microsoft treats "state" as GUI state. Problems may arise if an application needs to keep track of "data state"; for example, a finite state machine which may be in a transient state between requests (lazy evaluation) or which takes a long time to initialize. State management in ASP.NET pages with authentication can make Web scraping difficult or impossible.
  12. 12. Characteristics of ASP . NET8 Template Engine ASP.NET 2.0 introduced the concept of "master pages", which allow for template- based page development. A web application can have one or more master pages, which, beginning with ASP.NET 2.0, can be nested. Master templates have place-holder controls, called Content Place Holders to denote where the dynamic content goes, as well as HTML and JavaScript shared across child pages. A template engine is software that is designed to process web templates and content information to produce output web documents. It runs in the context of a template system
  13. 13. Benefits of Using ASP . NETASP.NET makes development easier to maintain with an event-drivenASP.NET pages are easy to write and maintain because the source code and HTMLare together .The source code is executed on the server. The pages have lots of power and flexibilityThe server saves the compiled version of the page for use next time the page isrequestedThe HTML produced by the ASP.NET page is sent back to the browser.ASP.NET makes for easy deployment.ASP.NET validates information (validation controls) entered by the user withoutwriting a single line of codeASP.NET applications run faster and counters large volumes of users .
  14. 14. When it was in front of W rld It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsofts Active Server Pages (ASP) technology.
  15. 15. Versions ofDate Version ASP. NET Remarks ASP.NET related featuresJanuary 1.O First version Developers are no longer forced to use16, 2002 released together Server.CreateObject(...), so early- with Visual Studio binding and type safety are possible. .NET Based on Windows programming; the developer can make use of DLL class libraries and other features of the web server to build more robust applications that do more than simply rendering HTML (e.g. exception handling)April 24, 1.1 released together Mobile controls2003 with Windows Automatic input validation Server 2003 released together with Visual Studio .NET 2003
  16. 16. Continued…..Versions ofDate Version ASP. NET Remarks ASP.NET related featuresNovember 2.0 Codename New data controls (GridView, FormView, )7, 2005 Whidbey New technique for declarative data access released together Navigation controls Masterpage,,Login controls with Visual Studio Themes,Skins,Web parts 2005 and Visual Personalization services Web Developer Support for 64-bit processors Express and SQL Server 2005November 3.0 Windows Presentation Foundation (WPF)21, 2006 Windows Workflow Foundation (WF) Windows Communication Foundation which can use ASP.NET to host services. Windows CardSpace which uses ASP.NET for login roles.
  17. 17. Continued…..Versions ofDate Version ASP. NET Remarks ASP.NET related featuresNovember 3.5 Released with Visual New data controls (List view, DataPager19, 2007 Studio 2008 and ASP.NET AJAX included as part of the Windows Server 2008 framework Support for HTTP pipelining and syndication feedsApril 12, 4.0 Parallel extensions Incorporation of ASP.NET Dynamic Data2010 and other .NET support for controlling browser history in Framework 4 an ASP.NET AJAX application Ability to combine multiple JavaScript files features into one file for more efficient downloading New namespaces System Web Abstractions and System Web Routing
  18. 18. Platform for ASP. NET  ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language like : C++,C#,Java,V.B.  Visual studio is being used as a platform for ASP.NET
  19. 19. Comparison of ASP PHP &The chart istaken fromwrensoft.comand quitesimply showthe difference..This graphshows the timetaken togenerate anddisplay resultsfor a search asmall website.
  20. 20. Continued…..Comparison of ASP PHP &Lots of people compare ASP & PHP and determine that PHP is better.The unfortunate thing, is that there are a lot of people that dontunderstand what is ASP.Usually, people who say that PHP is better than asp actually mean thatPHP is better than VBScript.I agree with that, but ASP.NET is not VBScript.
  21. 21. Comparison of ASP ASP.NET &ASP ASP.NET ASP is Interpreted language based on ASP.Net is supported by compiler andscripting languages like Jscript or has compiled language support.VBScript. Separate code and design logic possible.ASP has Mixed HTML and coding Variety of compilers and tools availablelogic. including the Visual studio.Net.Limited development and debugging Completely Object Oriented.tools available. Complete session and application state Limited OOPS support. management. Limited session and application state Full proof error handling possible.management. Full XML Support for easy data Poor Error handling system. exchange. No in-built support for XML. Fully distributed data source support No fully distributed data source ASP.NET is compiled common languagesupport. runtime code running on the serverASP its interpreted by script engine. ASP.NET has its own validation controlsASP has no inbuilt Validation controls
  22. 22. Thank You!I welcome suggestion or criticism!!

×