ashx
ASHX C# for each loop on POST vars
I have the following piece of code on C#, on an ASHX or Generic Handler file: public override void ProcessRequest(HttpContext contexto)[详细]
2023-01-21 15:10 分类:问答How to serve files and html directly from a WCF-service similar to an ASHX-handler?
Im writing an install and update-server for an intranet-application and I want the user to be able to install the app directly from a url such as: http://doma开发者_如何学Pythonin.local/myapp/install.[详细]
2023-01-21 06:03 分类:问答Handler with IRequiresSessionState does not extend session timeout
I have a handler, like this, using IRequiresSessionState: public class MyHandler : IHttpHandler, IRequiresSessionState[详细]
2023-01-19 04:29 分类:问答Can web forms and generic handlers (ashx files) share a common ancestor class (or base page)?
If one has an ASP.net web site whose web forms all inherit from a common base page--which checks things like authentication and redirects when a session has expired, etc--is there a way to use this ba[详细]
2023-01-18 19:55 分类:问答Running cscript.exe from C# .ashx does not execute code in vbscript file
EDIT I added in some error handling to my .vbs file and it is indeed a permissions issue (I now get a \"Permission Denied error\"). However, supplying my credentials in the web.config <impersonate[详细]
2023-01-18 15:38 分类:问答.NET image handler stripping filetype on download
I have created an ashx handler to render image thumbnails from images in a mysql database.If a file name is passed through querystring, the content disposition filename is set (when user clicks \"save[详细]
2023-01-18 01:42 分类:问答Update Image based on Response Stream
Is is possible to update an image on an HTML page using the response stream of an ASP.NET Generic Handler?[详细]
2023-01-16 18:13 分类:问答document.write in StringBuilder?
I am using a StringBuilder in an ashx file to return javascript.It all works fine, except for one line...[详细]
2023-01-14 01:43 分类:问答How to access localised resources in an .ashx file?
I have an ashx file which returns a localised message. This is called from an Ajax request. I need to access the Asp.net Resour开发者_开发问答ceManager in the ashx file.Following code worked for me.[详细]
2023-01-12 16:30 分类:问答ASHX image handler works with chrome, not IE8
I\'ve created code to retrieve an image from the file system using an ASHX handler.The code displays the image correctly in Chrome, but I get a broken image in IE:[详细]
2023-01-09 05:52 分类:问答