Questions tagged [ihttphandler]

Defines an endpoint in the ASP.NET pipeline for processing a request.

http://msdn.microsoft.com/en-us/library/system.web.ihttphandler(v=vs.100).aspx

All requests in the ASP.NET pipeline must eventually be handled by a class implementing the IHttpHandler interface. The handler is defined in either the system level web.config and can be overridden and website and subsite levels through the configuration inheritence chain.

The handler is usually mapped to one or more extensions (.aspx, .axd, .ascx, etc) may all be handled by Page Handler.

More details and explanation of how this interacts with the ASP.NET Request/Response pipeline may be found here.

244 questions
0
votes
1 answer

httphandlers in azure 500 internal server error

I am not able to work with htpphandlers in azure after deploy, it is ok with in the local machine. In web.config I declared as follows In…
user1273357
0
votes
1 answer

How can I Get Bitmap From Project Folder?

I have an ImageHandler class that I am using to retrieve photos from an active directory. However I want to display a default image in the event that one cannot be retrieved. I tried using return Bitmap.FromFile ( "~/images/default_person.jpg" );…
Nathan Larkin
  • 67
  • 3
  • 11
-1
votes
1 answer

public class ImageHandler : IHttpHandler

cmd.Parameters.AddWithValue("@id", new system.Guid (imageid)); What using System reference would this require? Here is the handler: using System; using System.Collections.Specialized; using System.Web; using System.Web.Configuration; using…
Ken
  • 1
-1
votes
1 answer

await method inside HttpTaskAsyncHandler

I have an asynch handler which inherits from HttpTaskAsyncHandler. At some line inside that handler I have a code which calls an async methods(decorated with the 'async' keyword) which executes a commands in documentDB and returns a task like in the…
SimpleDesign
  • 871
  • 6
  • 10
1 2 3
16
17