c# - IIS website project as MVC project -
i built mvc 5 application , good. want create new site on local iis , maintain working on project website , not iis project (i have reasons), created new website , copied mvc app files in folder.
the site working fine, lost mvc behavior.
let's i'am adding action
public actionresult d() { homecoming view(); }
when click on @html.actionlink("d","d")
getting 404 error, plus dont have mvc options more. example, when right-click on controller don't have "add view" option.
is there way work on website , maintain mvc features?
you shouldent create re-create of code iis. need setup project settings utilize iis express (your local iis). thats looking for. means everytime run site visual studio, runs iis, , can continu work usual.
try step 2 in post http://robrich.org/archive/2012/06/04/moving-to-iis-express-and-https.aspx
cant work can google: setup visual studio 2012 iis
c# asp.net asp.net-mvc iis
No comments:
Post a Comment