Skip to content

Magenaut

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

httpmodule

Can I access session state from an HTTPModule?

September 3, 2022 by Magenaut

I could really do with updating a user’s session variables from within my HTTPModule, but from what I can see, it isn’t possible.

Categories ASP.NET, Q&A Tags asp.net, httpmodule, session-state Leave a comment

HTTPModule Event Execution Order?

September 2, 2022 by Magenaut

Does anyone know of a site or page, or know the order of execution for the events of the HTTPApplication class for HTTPModule event execution?

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

Programmatically register HttpModules at runtime

September 1, 2022 by Magenaut

I’m writing an app where 3rd party vendors can write plugin DLLs and drop them into the web app’s bin directory. I want the ability for these plugins to be able to register their own HttpModules if necessary.

Categories ASP.NET, Q&A Tags asp.net, httpmodule, web-config Leave a comment

HTTP handler vs HTTP module

September 1, 2022 by Magenaut

Can someone explain in less than 2 sentences the difference between both? Yes, I know google can provide hundreds of answers but not one in 2 clear sentences:)

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

IHttpHandler vs IHttpModule

August 31, 2022 by Magenaut

My question is simple (although the answer will most likely not be): I’m trying to decide how to implement a server side upload handler in C# / ASP.NET.

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

Advanced: How many times does HttpModule Init() method get called during application’s life?

August 31, 2022 by Magenaut

Web application initialization is as follows:

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

What are some best practices for managing background threads in IIS?

August 31, 2022 by Magenaut

I have written an HttpModule that spawns a background thread. I’m using the thread like a Scheduled Task that runs in-process, which is really handy.

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

How can I modify a POST request using a custom IHttpModule and an HttpRequest filter?

August 30, 2022 by Magenaut

Overview

Categories ASP.NET, Q&A Tags asp.net, c#, httpmodule, iis, iis-7 Leave a comment

IoC Dependency injection into Custom HTTP Module – how? (ASP.NET)

August 29, 2022 by Magenaut

I have a custom HTTP Module. I would like to inject the logger using my IoC framework, so I can log errors in the module. However, of course I don’t get a constructor, so can’t inject it into that. What’s the best way to go about this?

Categories ASP.NET, Q&A Tags asp.net, dependency-injection, httpmodule, inversion-of-control Leave a comment

Hook into Application_Start in a HttpModule

August 29, 2022 by Magenaut

I’m implementing a simple HttpModule, where I want some code to run when the web application is started. But I’m surprised to find that the Application_Start event I would normally use from Global.asax is not available from a HttpModule. Is that correct, or am I missing something here?

Categories ASP.NET, Q&A Tags .net, asp.net, c#, httpmodule, vb.net Leave a comment
Older posts
Page1 Page2 Page3 Next →
  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