Friday, January 11, 2008

ASP.NET/ Some Ideas

INTRODUCTION

Before telling what ASP .NET is we have to understand what kind of website is usually referred to as a dynamic website.

Literally, websites which have their pages dynamically created as per the requests placed on the web server are called dynamic web sites and Web pages in those websites whose content is produced or generated dynamically based on user input or other information are called dynamic web pages. Examples for such websites are search engines, discussion forums etc where the output page is generally produced by the web server on the fly as per the requests.

So how does the web server serves dynamic WebPages as per requests ?

That is where the magic of Server Scripting languages comes in. These scripting engines sits behind the web server and as per the developer has instructed them to react, they generates HTML code as per the demands in the requests from clients passed on to them by the web server. They usually pulls contents from some data storages like files or database servers according to the conditions specified in the requests and spins off HTML code which is then served back to the client by the web server.

There is a lot of Web scripting technologies that the developer can make use of and ASP .NET is one of them. Yes, so now you come to know that ASP .NET is nothing but a scripting engine, which is sitting on a web server ready to serve the web server with dynamically generated content, which in turn is utilized by the web server as responses to client machines. It is the web server which decides whether a request needs the service of the Scripting Engine or not. It usually decides this by looking at the extension of the requested files and ASP .NET files usually have an extension of .aspx.

How a webserver with ASP .NET serves a dynamic webpage



How a webserver with ASP .NET serves a dynamic webpage