Does anyone know how to ensure that files and directories that exist do NOT get routed to .NET MVC if they exist in the root directory?
With Zend Framework, this is done in the .htaccess like so:
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
How is this accomplished in IIS?
Here's a use case: If myDir exists in the web_root and the user visits domain.com/myDir, myDir is not routed to MVC, but rather the user is sent to that directory.