I'm new to HttpHandlers. I am writing an HttpHandler that reads uploaded files directly from the request stream to provide progress that can be queried using an AJAX request. For large files, this seems to be faster than having ASP.NET load the file contents into Request.Files and then streaming the file from there to wherever it goes (Linq to SQL into a VARBINARY column in an SQL Server database.)
My HttpHandler works perfectly when I'm debugging using the Visual Studio Development Server, but doesn't work otherwise. The application pool for this application in IIS 7 is set to run in Classic Mode, and the Handler Mappings screen in IIS says that I must manage managed handlers in system.web/httpHandlers.
I set up in my applications Web.config file.
<add verb="GET,POST" path="*.upload" type="Namespace.For.UploadHandler, AssemblyForUploadHandler"/>
It works great, so long as I don't debug with the "Use Local IIS Web server" option.
What else do I need to do to get this to work?
View Complete Post