Skip Navigation Links
Introduction to ASP.net
 What is ASP.net
 History of ASP.net
 Difference between ASP and ASP.net
 ASP.net Framework
Controls in ASP.net
Asp.net Validation Controls
Next >>

What is ASP.net

The ASP.net is a server side scripting language and is a product of Microsoft. ASP.net is used to create dynamic web applications including web Application and web services.

Lets first discuss what does "Server-Side scripting" means?

Whenever you open a website, you have open it in a web browser. The web browser displays the contents of the website's page. If you right mouse click on page and click "View Source" or "View Page Source", you will see the whole HTML written to build the current page. It is the responsibility of a web browser to parse/compile the HTML code and render the web page in the browser in such a way that user will not see the actual HTML but will see the content how website creator wants it to be displayed.

Now as you know browser will only recognize HTML and nothing more then the question is where does ASP.net plays the role? The answer to this question is: If you want to develop a single page but it should behave differently/dynamically as per some parameters or request then you have to use ASP.net. Lets first study the below image diagram before moving any further.



http://www.talentcertification.com/Images/BookRelated/RequestAndResponse.JPG


The web browser requests a page eg http://www.talentcertification.com/Default.aspx. The server now receives the request and executes the whole asp.net server side code residing on the server and generates only HTML data and sends it back to the web browser as response. Now the web browser has to just render the returned HTML on the web browser. The real manipulation and generation of the HTML is done on the server only.
Next >>
Exercise