asp.net core get root url in view

40

mvc get base url -

Request.Url.GetLeftPart(UriPartial.Authority) + Url.Content("~")

Comments

Submit
0 Comments