position
Technology : Programming : .NET
ASP .NET

Server-Side Http Runtime Environment

ASP.NET provides a runtime environment through Microsoft Internet Information Server (IIS) that enables .NET classes to handle http requests.

For instance, the following class handles an Http request:

It is compiled in a dll named “hello.dll” located in a /bin directory on a web server

It is referenced on the web server by a “web.config” file that maps it to the url of a page named “hello.aspx” as follows:

<configuration>
<system.web>
<httpHandlers>
<add verb="*" path="hello.aspx" type="KrisTorrent.TorrentUniverse.DotNet.Web.Samples.Hello,hello"/>
</httpHandlers>
</system.web>
</configuration>

The beauty of it is that such an application can be deployed simply by copying the web.config configuration file and bin directory onto a web server.