ASP.NET is another form of web application framework which was developed by Microsoft for the purpose of giving programmers the opportunity to construct dynamic web sites, applications as well as web servers. This framework was first launched into the market January 2002 with this first NET Framework version being 1.0. This was an upgrade to the previous Active server pages (ASP) system. The base upon which it is built is known as the common language runtime. This has proven to be quite beneficial to programmers since they are no longer restricted on the kind of support NET language they can use to write ASP.NET. Another advantage of this technology over ASP is the fact that ASP.NET it makes use of a SOAP extension framework which enables ASP.NET to effectively interpret SOAP messages using specific components.
The ASP.NET pages which are commonly referred to as web forms are used as the primary building blocks when dealing with application development. These web forms are stored in files that have an “.aspx” extension. These files mainly consists of static (X)HTMLmarkup, mark up web controls for defining server-side as well as user controls which is a storage area for developers to keep all essential and active data for a web page. It is also possible to store the dynamic code that operates on the server in a specific block found within a page such as <% — dynamic code — %>. This is the same as various other web development systems, with examples being PHP, JSP as well as ASP.
Microsoft also launched the ASP.NET Framework 2.0 which comes with one of the latest code- behind model that makes it possible to use static text and still maintain it on the.aspx page and have the dynamic code in the.aspx.vb or.aspx.cs or.aspx.fs file. However this is entirely dependent on the type of programming language being used. It makes use of specific directives or commands which are unique commands that help to guide ASP.NET in page processing. One of the most popular commands is <%@ Page %> which is used to specify different things. A good example would be choosing a specific web programming language to be used on the server- side.
When it comes to user controls in ASP.NET, these can best be described as encapsulations of different areas of a particular page by registering them and having them being used as controls in this particular programming language. User controls are developed as ASCX score files. Markup files usually consist of static (X)HTML files and markup server-side used for web controls. This is the storage area where a programmer can input the necessary static and dynamic data. A user control is usually created when the page it is contained in is requested and then maintained in memory for any other requests. User controls function on their own measures which are controlled within the time of its requirements.
In the presence of an event bubbling system, user controls become capable of passing any fired event to the page it is contained in. This is in comparison to an ASP.NET page where a user control does not have the ability to be requested separately.
Article Source: http://EzineArticles.com/6666104