As i know that asp.net fulfill all the requirements for any web application but what are the ground rules for creating custom httphandler and httpmodule in asp.net.
Edit:For example I want to fetch image from database then what i should i use httphandler or normally read image from database.If httphandler then why?
HTTPHandlers to handle the request. But HTTPModules are to access the life-cycle events on the request. You can have only one HTTPHandler but can plug in more than one HTTPModules to examine and handle the requests.