Last post Mar 11, 2010 08:03 AM by arunapradhan
Mar 03, 2010 12:50 AM|arunapradhan|LINK
what is httphandler?what is the use ?
Mar 03, 2010 12:55 AM|qwe123kids|LINK
if u want handle the request if request is coming for data .wmv extension the How will u do.
for there handler come as Handy.
if u want detect something at some event example PreRequesthandleexcute then Module Comes handy
chk the above link
Mar 03, 2010 12:57 AM|kapilsanchihar|LINK
Every httprequest passes through a HttpHandler. HttpHandler is the main execution engine which processes the request. For more details read the below articles:
Mar 03, 2010 01:03 AM|Waqar_ali|LINK
Have i faced a problem, my client wants to handel all request for some files. If user is not logged in then file must be not available to the user . After login user can access files. For that i have used http handdler.
I have used follwing link for that purpose. This article contain good information about http handdlers.
Mar 03, 2010 01:16 AM|fayaz_3e|LINK
In addition to above answers, I would like to add few more points. All asp.net page requests are handled by inbuilt pagehandler. And the life cycle starts. Lets assume a simple example of file retrieving. If you do your code in codebehind file or a class
and invoking it in code behind file, the request goes to page handler and the complete page lifecycle repeats. But our intention is to just get the file. Why do we need page life cycle here. So, I will create a HttpHandler for this. Since any request hits
only one handler, my request for the file will hit my custom http handler. And it will do the processing and retrieves my info. No overhead of lifecycle, viewstate blah blah blah. One more example can be fetching images form DB. Here also you can do the code
in codebehind. But HttpHandler is good having the above mentioned advantages...
Mar 04, 2010 12:49 AM|Song-Tian - MSFT|LINK
HttpHandler help us to inject pre-processing logic based on the extension of the file name requested. So when a page is requested,
HttpHandler executes on the base of extension file names and on the base of verbs. Handlers are used to process individual endpoint requests. Handlers enable the ASP.NET Framework to process individual HTTP URLs or groups of URL extensions within
For more details, check:http://www.codeproject.com/KB/aspnet/HttpModuleandHttpHandle.aspx .
Mar 11, 2010 01:42 AM|Shobin|LINK
I have used httphandlers to handle jpg/png/gif requests.
We render all the images with some test on it .
Mar 11, 2010 08:03 AM|arunapradhan|LINK
Little bit confusing is still in mind.for eg there is one file called .aspx ,in that page there are 2 images .gif ,.jpg and one user control .acsx also.Now , my question is can only one http handler can handle all this or i have to create different diffeent
handler one for image,one for user control.
Explain the answer is easy term