开发者

hosting MVC3 in subdirectory not work?

开发者 https://www.devze.com 2023-03-03 00:16 出处:网络
i have a subdomain on site to test application [MVC3 razor]. when i upload the project i got that the nothing works instead of home page. can anyone show me if i miss something.

i have a subdomain on site to test application [MVC3 razor]. when i upload the project i got that the nothing works instead of home page. can anyone show me if i miss something.

like

mydomain.com/nm > nm is subfolder

nm is work and everthin开发者_开发百科g else not suppose mydomain.com/nm/home/index not work.

can someone show me the way i can use to deploy my application in subdirectory


If you want to run a standalone application in a subdirectory you need to create a virtual application on your IIS.

If you just upload the app to a subdirectory in an existing MVC application it will share the application pool, routing and web.config.

0

精彩评论

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