asp.net mvc - Url.Action for mvc3 application hosted in a sub directory -
i have deployed mvc3 application in web. how can add together virtual directory name in url.action() method ?
for eg : application in mydomain.com\app
now when
url.action returns action="/home/create" want action = "/app/home/create".
what should done ?
you shouldn't need that. if application deployed in iis within virtual directory (say app
) url.action("create", "home")
helper generate /app/home/create
right url.
asp.net-mvc asp.net-mvc-3 asp.net-mvc-areas
No comments:
Post a Comment