Created
September 12, 2012 09:46
-
-
Save serdarb/3705599 to your computer and use it in GitHub Desktop.
Web.Config To Handle all requests in one handler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<configuration> | |
<system.web> | |
<compilation debug="true" targetFramework="4.0" /> | |
<httpHandlers> | |
<add verb="GET,HEAD" | |
path="*.css,*.js,*.xml,*.txt,*.swf,*.jpg,*.jpeg,*.gif,*.png,*.bmp,*.ico,*.pdf,*.xls,*.doc,*.ppt,*.xlsx,*.docx,*.pptx,*.swf,*.zip,*.rar" | |
type="System.Web.StaticFileHandler" /> | |
<add verb="*" path="*" type="WebApplication1.AllRequestsHandler"/> | |
</httpHandlers> | |
</system.web> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment