hosting MVC3 in subdirectory not work?
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.
精彩评论