The reason you probably can't find it in google is the terminology is wrong.
Try searching for Http Handler.
The following article describes the ASP.Net request architecture. This will give you a good idea about where Http Handler fall in the wider picture of ASP.Net.
ASP.NET Internals: Request Architecture[
^]
A
HttpHandler
in ASP.Net is a class which conforms to the
IHttpHandler
interface. Each page request generally has an extension, ASPX, HTML, JPG and as you point out ASHX. When the web server receives a request it looks at the file extension and then tries to map this to the list of handlers registered in IIS.
The following explains how to view and manage the HTTP Handlers in IIS. You'll see they already exist for many of the common web extensions.
http://msdn.microsoft.com/en-us/library/bb515343(v=vs.100).aspx[
^]
An
ASHX
file is a
Generic Handler
. A way of implementing a HttpHandler in ASP.Net.
You don't have to use ASHX files to create handlers. There are other ways by implementing the
IHttpHandler
interface is your own classes. But if you're specifically interested in
ASHX
then the following is a tutorial.
http://www.dotnetperls.com/ashx[
^]