Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

httphandler

Mapping specific folder to HttpHandler in web.config

August 25, 2022 by Magenaut

Is it possible to map all file extensions in a folder to a specific HttpHandler (assuming that their file extensions are mapped to aspnet_isapi.dll in IIS) ?

Categories ASP.NET, Q&A Tags asp.net, httphandler Leave a comment

asp.net file downloading – track downloaded size

August 25, 2022 by Magenaut

I am trying to design a system for something like this with ASP.net/C#.

Categories ASP.NET, Q&A Tags asp.net, file, http, httphandler, httpmodule Leave a comment

ASP.NET add a httphandler to edit downloaded file name

August 25, 2022 by Magenaut

I have in my project a page DownloadDocument.aspx and it’s codebhind is DownloadDocument.aspx.cs

Categories ASP.NET, Q&A Tags anchor, asp.net, c#, httphandler Leave a comment

HttpHandler and XML files

August 25, 2022 by Magenaut

I would like to intercept any request made to the server for XML files. I thought that it might be possible with an HttpHandler. It’s coded and it works… on localhost only (?!?!).

Categories ASP.NET, Q&A Tags asp.net, c#, http, httphandler Leave a comment

SharePoint – Open Document Library PDF in New Window

August 24, 2022 by Magenaut

I want PDF files in MOSS 2007 Publishing site document libraries to open in a new window. Is it possible to achieve this by creating a custom HttpHandler? I don’t want to mess with a site definition for something as basic as this…

Categories ASP.NET, Q&A Tags asp.net, httphandler, javascript, pdf, sharepoint Leave a comment

Render a page inside of an HttpModule?

August 24, 2022 by Magenaut

Anyone got an idea of how to render an aspx page inside of an HttpModule and stream it back to the browser?

Categories ASP.NET, Q&A Tags asp.net, httphandler, httpmodule Leave a comment

c# execute 2 threads simultaneously

August 23, 2022 by Magenaut

I am trying to reproduce a threading error condition within an HTTP Handler.

Categories ASP.NET, Q&A Tags asp.net, c#, httphandler, multithreading Leave a comment

How to access localised resources in an .ashx file?

August 23, 2022 by Magenaut

I have an ashx file which returns a localised message. This is called from an Ajax request. I need to access the Asp.net ResourceManager in the ashx file.

Categories ASP.NET, Q&A Tags ashx, asp.net, asp.net-4.0, httphandler, localization Leave a comment
Newer posts
← Previous Page1 … Page3 Page4
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress