asp.net mvc - Share MVC Master Page using Virtual Directories -


i’ve created vs 2013 solution master project (includes master page , common files) , outage project. need access master files master project in outage project. master project main/root site (westsupport) , outage feature section of site. url http://westsupport/ , http://westsupport/outage. there many more feature sections. trying 1 working. want keep in separate projects developers can independently work on , publish different features of site.

in local iis i’ve created iis application master project (as westsupport) outage virtual directory under master. main page master loads , when click on link outage navigates expected url, 403.14 error (directory browsing). if add default.aspx page outage, loads. i’ve made several changes iis configuration based on suggestions online, along modifying routing. abbreviated list of i’ve tried already.

  • registered .net framework. (even though registered).
  • confirmed app pool set asp.net v4.0 integrated.
  • installed http redirection in iis.
  • created virtual directory master under outage. (desperation)
  • promoted outage application. outage loads, can’t access master files since part of different application.
  • added following web.config in both project roots. enter image description here

here’s iis looks like.

enter image description here

here’s vs project master routeconfig. enter image description here

here’s routing outage. can tell i’ve been playing various routes. enter image description here

is possible? able share master page in outage if created reference link, isn’t our ideal solution. we’d keep separate. first mvc project , i’m no wiz when comes iis.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -