Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Problem with routing MVC 5 on Virtual Directory under IIS 7.5 (Win.Server 2008 R2)

$
0
0

Under IIS 7.5 Default Web Site (mysite.com) I created Virtual Directory (WebStudent)and published MVC 5 application. I started option Browse on Virtual Directory and URL washttp://www.mysite.com/WebStudent/Login and data are viewed correctly. I clicked on every button and it’s showed url like: http://www.mysite.com/StudentData - this wasn't working.

When I add manually Virtual Directory (WebStudent) in URLhttp://www.mysite.com/WebStudent/StudentData - worked.

I know that problem is in routing but I don't know how to solve it.

Thanks in Advanced.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>