My Technical Notes

Thursday, 3 February 2011

Debugging MVC App under IIS

Sometimes you need to debug an application but because of certain techniques, you MUST host your application under IIS rather than using the in-built Visual Studio web server.

Once you create your virtual directory under IIS you need to create a Wildcard mapping to point to (for .NET version 4):

For anything other than .NET version 4:

And then untick Check that file exists.

Next you need to make sure that Integrated Windows authentication is enabled through the Directory Security tab.

No comments: