开发者

default behavior in an application

开发者 https://www.devze.com 2023-01-26 06:06 出处:网络
I have index.aspx , index.html and another mvc application. I found mvc application takes the priority to execute. I want to know how to determine th开发者_StackOverflowe sequence. In IIS you can spec

I have index.aspx , index.html and another mvc application. I found mvc application takes the priority to execute. I want to know how to determine th开发者_StackOverflowe sequence.


In IIS you can specify the order of default documents:

default behavior in an application

Also you might want to exclude those documents from your MVC application routes so that they are directly served by IIS:

routes.IgnoreRoute("default.htm");
0

精彩评论

暂无评论...
验证码 换一张
取 消