ihttphandler Questions
5
Solved
I have a strange issue where i have a a HttpHandler having its ProcessRequest() event firing twice.
i have nothing else in the class except a pointer to a static method so i'm lost.
I have done s...
Neral asked 18/6, 2010 at 4:11
3
I am trying to stream a large file in webforms from an HttpHandler. It doesn't seem to work because its not streaming the file. Instead its reading the file into memory then sends it back to the cl...
Unlicensed asked 31/5, 2013 at 17:30
4
Solved
I put together a download script after some wonderful help from stack overflow the other day. However I have now found that after the file has been downloaded I need to reload the page to get rid o...
Ledbetter asked 26/10, 2010 at 15:34
7
Solved
On IIS 7, I'm trying to use custom HttpHandler for my ASP.NET web application. I use pipeline mode "classic", .NET version is 4.0.30319, my web.config configuration for the handler is:
<system...
Sapsucker asked 22/8, 2012 at 8:47
2
I wrote a httphandler to handle all XSLT requests.
The name of the handler is XSLTHandler.cs.
web.config
<configuration>
<system.web>
<compilation debug="true" targetFram...
Dropforge asked 23/10, 2011 at 23:53
6
Solved
What is an HttpHandler in ASP.NET? Why and how is it used?
Thirst asked 24/12, 2008 at 9:52
0
I need to self host (in a windows process out of IIS) an existing .ashx service.
The service implements an IHttpHandler.
Mcknight asked 15/7, 2015 at 16:57
0
I am trying to write a asp.net httphandler for handling webdav requests with IIS.
I am extending the IHttpHandler interface and implementing the ProcessRequest.
public class clsMyHandler : IHttpH...
Tjader asked 23/12, 2014 at 18:2
2
Solved
usually, when I look at a ASP.Net MVC application, the Route table gets configured at startup and is not touched ever after.
I have a couple of questions on that but they are closely related to e...
Danell asked 29/3, 2010 at 8:28
1
Using the library AttributeRouting, I was able to configure attribute routing to use a custom route handler (inheriting MvcRouteHandler):
routes.MapAttributeRoutes(cfg =>
{
cfg.UseRouteHandle...
Ultramicroscope asked 13/3, 2014 at 10:15
2
Solved
I'm stuck in an Async deadlock and I can't figure out the correct syntax to fix it. I've looked at several different solutions, but can't seem to quite figure out what is causing the problem.
I am...
Initiatory asked 25/7, 2013 at 13:48
3
I want to capture all the requests going to *.jpg files on my server. To do so, I have created an HttpHandler whose code is as follows:
using System;
using System.Collections.Generic;
using System...
Donets asked 22/12, 2008 at 10:26
5
Solved
I have a file upload in my site which is done using uploadify it uses a ashx page to upload file to database.It works fine in IE but in Mozilla the context.Session is getting null.I have also used ...
Knothole asked 27/12, 2010 at 10:50
4
Solved
I'm serving up an image from a database using an IHttpHandler. The relevant code is here:
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "image/jpeg";
int image...
Inescutcheon asked 15/6, 2009 at 0:41
1
Solved
I have a project that requires changes in MVC's default routing behavior for image http requests.
For example, this sample from RouteConfig.cs
Route ImagesRoute = new Route("{controller}/{folderN...
Halfway asked 18/12, 2012 at 15:47
1
I have a custom IHttpHandler that calls MvcHttpHandler implemented as described in this answer.
It worked well in asp.net MVC2, but after I migrate the code to MVC4 with IISExpress 7.5, I start ge...
Poly asked 12/6, 2012 at 14:22
5
Solved
I have some REST services using plain old IHttpHandlers. I'd like to generate cleaner URLs, so that I don't have the .ashx in the path. Is there a way to use ASP.NET routing to create routes that m...
Passenger asked 29/7, 2010 at 5:58
1
I have an IHttpHandler returning a file. When the response stream is compressed, either automatically using Telerik RadCompression or by explicitly setting a filter using
context.Response.Filter...
Melicent asked 25/1, 2011 at 19:18
3
Solved
Possible Duplicate:
Any way to add HttpHandler programatically in .NET?
Is there a way I can dynamically register an IHttpHandler in C# code, instead of having to manually add it to t...
Situla asked 23/3, 2010 at 14:31
3
Solved
I'm writing a IHttpHandler and I'll need to implement a IsReusable property. When I look at the MSDN documentation it says:
Gets a value indicating whether another request can use the
IHttpHa...
Effusive asked 31/3, 2011 at 13:51
3
Solved
I have an ASP.Net single-file web service (a .ashx file containing an IHttpHandler implementation) which needs to be able to return errors as responses with 500 Internal Server Error status codes. ...
Microorganism asked 21/12, 2010 at 3:11
3
Solved
When writing a http handler/module, there is an interface member to implement called - bool IsReusable.
What is the significance of this member? If I set it to false (or true), what does this mean...
Lyon asked 11/2, 2009 at 23:14
4
Solved
I have noticed that the .NET IHttpAsyncHandler (and the IHttpHandler, to a lesser degree) leak memory when subjected to concurrent web requests.
In my tests, the Visual Studio web server (Cassini)...
Certitude asked 12/5, 2010 at 22:58
3
Solved
I've never fully understood this property of the IHttpHandler. It is a property that you have to set when you implement the interface. I've assumed that setting it to true would be better for perfo...
Perquisite asked 13/1, 2010 at 14:43
1
Solved
Firefox is for some reason not properly handling content sent through my .NET HTTP handler; it appears to be not honoring the content type header. Rather, it sees the content as being HTML. The URL...
Hornback asked 30/12, 2009 at 22:39
1 Next >
© 2022 - 2024 — McMap. All rights reserved.