Questions tagged [iis-modules]

1

votes
1

answer
448

Views

How the IIS7 handle a auth module? Memory scope?

As those who have worked on such a project you probably know this site: Developing a Module Using .NET In this article Mike Volodarsky created a very good post on how to create your own security authentication extension for the IIS7. I took this and modified to my own need. I am fetching the basic a...
YvesR
1

votes
1

answer
49

Views

IIS: Odd behavior of modules

I have a few legacy websites and each has a LOT Of static HTML pages. I would like to use IIS module to capture the generated page content and add additional HTML snippets to make it have new header and footer (this is called the decorator pattern). Here is the code I have for the module. The odd th...
curious1
1

votes
1

answer
0

Views

how do you Change IIS authentication method to BasicAuthentication?

I try to Change IIS authentication method to BasicAuthentication for IIS7? I try to follow the steps here, because I get that error Thank you PS: I was trying this, but I have only this options
Ryan
1

votes
1

answer
742

Views

IIS module and C#: how to modify the page content before sending it to client

I am new to the IIS module and C# area. I need to modify the content of static HTML files in a specific directory of a website before the website sends the page content to client. The modification includes adding the banner, footer, etc. Based on my research, I should be able to achieve my goal thr...
curious1
4

votes
1

answer
3.3k

Views

Auto configuring IIS websites / app pools using PowerShell or other scripts

We have a need in our project to automate the process of creating AppPools and Websites in IIS . We would like to write some batch script to get this done. From my research I found that PowerShell has commands that can be used. However when I tried to run IIS module commands in PowerShell on Windows...
Madhuri Mittal
23

votes
3

answer
8.9k

Views

How do you set up a Python WSGI server under IIS?

I work in a Windows environment and would prefer to deploy code to IIS. At the same time I would like to code in Python. Having read that IIS can run fastCGI application, I went to the IIS site where it describes in detail how to get PHP up and running but not much about anything else. Does anyone h...
minty
2

votes
1

answer
167

Views

How can I grab the response text of web page via IIS Module?

I'm working on an IIS module that, when a web page request is made, it looks over the data being passed back to the browser and replaces certain keywords with approved keywords. I realize there are multiple ways to do this, but for our purposes an IIS module will work best. How can I read the strea...
Dexter
3

votes
1

answer
413

Views

How to debug an IIS 7 module?

We had an IIS 7 module that was failing in a rather odd way (to us, at least) - the 32 bit version of the module apparently had some strange behavior where it would look for the 64 bit version of the DLL and use that if it was on a 64 bit machine, rather than the 32 bit version, since we installed t...
2

votes
1

answer
251

Views

How to set up IIS request mirroring to staging environment?

I would like to have all HTTP requests made to my production environment be also automatically made against my testing environment. E.g. if anything makes a request to http://production.site.example.com/api/users/12345 then I want the same request to also be made against http://staging.site.example....
Sander
4

votes
2

answer
1.1k

Views

ASP.NET WebAPI returning Http 405

I have a WebApi controller [RoutePrefix('api/invitations')] public class InvitationsApiController : ApiController And an action method: [Route] [HttpPost] public IHttpActionResult Create([FromBody] CreateCommand command) When i try to POST to http://host/api/invitations i get a '“405 Method Not Al...
Rune Jensen
3

votes
1

answer
1.7k

Views

Getting 500 Error code from asp.net core app on iis 8.5 windows server 2012 but works fine on console

Headline: Getting 500 Error Code when running asp.net core application on windows server 2012 IIS 8.5 but works fine when executed from command line by specifying the generated exe file i.e. 'MyApplication.exe' Details: Its not generating any error logs and there is nothing related to this in Windo...
adeel41