How to get current url in view in asp.net core 1.0 November 18, 2022 by Tarik You have to get the host and path separately. @Context.Request.Host @Context.Request.Path