Welcome to MSDN Blogs Sign in | Join | Help

Rahul Soni's blog

Never assume the obvious is true!

News



  • These postings are provided "AS IS" with no warranties, and confers no rights.

Browse by Tags

All Tags » IIS » ASP.NET 1.x   (RSS)
Changing ASP.NET version in ASP.NET tab of IIS has no effect
I ran into another similar issue while playing around and thought I must share... By default, when you open IIS Manager, right click on any Virtual Directory and click on Properties it would show the following dialog box. Note that, I have activated the Read More...
customErrors defaultRedirect is not redirecting in ASP.NET
In one of my projects I was trying to use customErrors in ASP.NET and it was not working as I would expect. In the web.config I had the following... <customErrors defaultRedirect="~/Misc/ErrorPage.aspx" mode="On"> <error statusCode="404" redirect="~/Misc/ErrorPage.aspx" Read More...
Using Forms Based Authentication in ASP.NET for Static Content (Doc Files, PDF Files etc.)
Scenario: You want to implement Forms based authentication for ASP.NET web application, and you have certain document/PDF files which need to be protected. It should be such that even if you try to browse that .doc file directly, it should take you to Read More...
A sample aspx page to show the security details
This is a pretty small sample to help you figure out the ASP.NET identity matrix and how it comes in effect. I am posting this since quite often we need to troubleshoot security related issues on a production website and making any Application level changes Read More...
Troubleshooting Cookies - A Case Study
A few days ago, one of my colleagues asked a very simple question... "Do we have any document which talks about Cookies from the troubleshooting perspective in general?". I was pretty amused for some reason and I thought okay, let me give you a detailed Read More...
Page view tracker