ihttpmodule Questions

5

Solved

Creating custom IHttpModules, I have realized that the requests for static files (e.g.: .css and .js files) are hitting the managed modules. Probably pictures have the same problem. Shouldn't IIS b...
Hob asked 5/12, 2011 at 15:12

15

Solved

I'm writing a web service (using ASP.NET MVC) and for support purposes we'd like to be able to log the requests and response in as close as possible to the raw, on-the-wire format (i.e including HT...
Chloral asked 24/6, 2009 at 13:44

1

Solved

I'm developing an application and I'm debugging the code with Visual Studio 2013 and Visual Studio 2010 and the code behaves differently with the two programs. In VS 2010, after the code behind ha...
Mweru asked 26/11, 2014 at 12:34

1

Solved

I am working on writing a web api for my application that is currently written using ASP.NET Web Forms. I have a module that acquires some data at the beginning of the request and stores it in Http...
Posting asked 9/9, 2013 at 1:49

4

Solved

Do I have to lock access to instance members? Example: public class HttpModule : IHttpModule { //... Dictionary<int, int> foo; void UseFoo(int a, int b) { foo[a] = b; } }
Rappee asked 11/4, 2010 at 23:8

1

Along the lines of this question I want to create a HttpModule that will do some custom logging of requests and responses for us. Using the code in the most popular answer for that question I've go...
Lossa asked 18/6, 2012 at 13:59

1

Solved

i trying to inject js to page (to tags) by using ihttpmodule. but js isn't injected. what i did: the page: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits=...
Mailman asked 8/3, 2011 at 23:26

2

Solved

I have a simple HTTPModule which does some custom session state management. public void Init(HttpApplication context) { context.AcquireRequestState += new EventHandler(ProcessBeginRequest); Act...
Fluoridate asked 21/1, 2010 at 20:42

2

Solved

I've been given the thrilling task of re-writing our exception handling system. Whilst I will state that handling exceptions from an application-wide point of view isn't something we want, typicall...
Primaveras asked 4/3, 2009 at 13:31
1

© 2022 - 2024 — McMap. All rights reserved.