New to MVC…
The following line is in a sample code I found and is contained in an ASPX page.
<URI><%=new Uri(Request.Url,
Response.ApplyAppPathModifier("~/user/authenticate"))%></URI>
How would that line be converted to be placed in a RAZOR view?
My attempt…
<URI>@new Uri(Request.Url,
Response.ApplyAppPathModifier("/user/authenticate"))</URI>
thank you
should work.