Putting the Con (COM1, LPT1, NUL, etc.) Back in your URLs
Posted
on Dot net Slackers
See other posts from Dot net Slackers
Published on Thu, 29 Apr 2010 00:00:00 GMT
Indexed on
2010/04/30
18:48 UTC
Read the original article
Hit count: 118
Filed under:
One annoyance that some developers have run into with ASP.NET MVC is that certain reserved filenames are not allowed in URLs. The specifics of this restriction are accounted for in an interesting blog post entitled Zombie Operating Systems and ASP.NET MVC. This actually wasnt a restriction on ASP.NET MVC but was built into the core of ASP.NET itself. Fortunately, ASP.NET 4 fixes this issue with a new setting. In web.config, simply add <httpRuntime relaxedUrlToFileSystemMapping="true"/> to...
Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
© Dot net Slackers or respective owner