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

Regarding Hosting issue asp.net5 on local server giving alias name

$
0
0

I am trying to host the asp.net5 site on  local server giving alias name test.So my localhost url becomes like this

http://localhost/test/Home  but when I took the root url  to redirect to other pages it is not taking test(alias name).It is just takinghttp://localhost/.Due to this it is not redirecting to page  when I redirect like RedirectToAction("Index", "Home", new { area = "Themes" });

How could I get both http://localhost/test/ as root url.I would be grateful if a better solution is provided.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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