Questions tagged [httphandler]

HttpHandlers are classes that implement the IHttpHandler and IHttpAsyncHandler interfaces. This section describes how to create and register HttpHandlers and provides examples of a synchronous handler, an asynchronous handler, and a handler factory.

ASP.NET Request Processing

Introduces ASP.NET handling of HTTP requests.

Creating HttpHandlers

Discusses the creation of synchronous and asynchronous HttpHandlers.

Registering HttpHandlers

Describes how ASP.NET is configured to call an HttpHandler.

HttpHandler Factory

Describes how to generate a new handler instance for each HTTP request.

Related Sections

HTTP Runtime Support

Provides an overview of how to use IHttpModule and IHttpHandler interfaces. 

HttpModules

Provides an overview of HttpModules. 
1249 questions
0
votes
0 answers

HttpContext.Current.User.Identity.Name empty in one HttpHandler but has a value in another

I have two HttpHandlers. One intercepts for any pdf file request in the url, the other for an xml request. In pdf file handler I get the username from HttpContext.Current.User.Identity.Name but when a request is made for xml file…
rumi
  • 3,293
  • 12
  • 68
  • 109
0
votes
1 answer

Can I use handler instead of webservice

I have a stiuation where I have to decide what should I use a http-handler or a web-service. I want to expose some kind of method for particular people who will use this. The senerio is one of my client has to install .apk file on his tab to access…
शेखर
  • 17,412
  • 13
  • 61
  • 117
0
votes
0 answers

IIS 7 Integrated handler does not match when path does not exist

I'm upgrading from classic to integrated. I upgraded my web.config handlers to the new sections. However nothing worked, so I started a bran new MVC 4 project, created a handler, registered it in the web.config and it never fires if the path doesn't…
0
votes
1 answer

IE10 & ASP.Net Handler bug

I tested my site on IE10. View source IE 10 not include some ScriptResource.axd files. But I copy site url and paste chrome work fine. This code not included IE10.( Right click -> View Source ) var theForm = document.forms['form1']; if (!theForm) { …
Codder AE
  • 3
  • 2
0
votes
1 answer

session, httphandler, java applet work together

i have a aspx page see: <%@ Page Language="C#" %> <% HttpContext.Current.Session["UserID"] = "ABC1"; Response.Write(HttpContext.Current.Session["UserID"].ToString()); %>