Web Based Technology: ASP.NET
Asp.net is among the latest web based technology which is in use to build a web site now days. It is quiet easier for the programmers and the coders to do the coding. .NET is providing the platform which helps to execute different kinds of web applications and also run them. ASP stands for active server pages. It generates various HTML and dynamic web pages. In other words you can say that ASP.NET is a web application framework developed and marketed by the Microsoft to allow programmers build the websites, web applications and web services. It was first released in 2002 with version 1.0 of the .NET framework and is the successor of the Microsoft active server pages technology. ASP.NET is built on Common language runtime which allows different programmers to do the ASP.NET code using different .net language.
ASP based web application development can be done I different languages like c# and VB script language. C# stands for C sharp which is an object oriented programming language. The ASP uses the server side scripting to produce web pages dynamically. The default scripting language for ASP is VB which you can use for coding.
In order to run ASP web pages the pages must be requested through the server which supports ASP. This is the main reason why ASP is called Active server pages because no server no pages.
There are some characteristics which you should know about the ASP. Net. They are as follows:
1. Pages
Asp .net web pages particularly known as the web forms are the main building block for the application development. Web Forms are kept in file with the Aspx extension. These file generally contain XHTML markup, as well as markup defined by server side web controls and user controls where the developer place the entire dynamic as well as the static content for the web page. The dynamic code can be written between <% dynamic code %> which is quiet similar to the other web technologies like PHP, JSP and ASP. But this practice is generally discouraged other than the purpose of data binding.
2. Code behind model
It is recommended for dealing with the dynamic program code to use the code- behind model which places this code in a separate file or in a specially designated script tag. Code behind files can have names like Mypage.aspx.cs or myname.aspx.vb based on the ASP file name.
3. User controls
ASP.NET allows creating reusable components through the creation of user controls. The user controls also has the same structure as the web form. Such controls are derived from the system.web.ui.user control class, and are stored in ascx files. Apart from HTML and XHTML markups it also contains markup defining web forms and other user controls. The code behind model can be used.
There are lots more to talk about ASP.NET but you must know why ASP.NET is called active server pages. It is because the pages should be requested through the server which supports ASP. You should definitely keep in mind.
Tags: about ASP. Net, characteristics of asp.net, users controls