Answers for "mvc current url"

C#
0

asp.net mvc get current url in view

// Use the HttpRequest.Url.PathAndQuery Property to retrieve the absolute path and query like so:
<%= Request.Url.PathAndQuery %>
Posted by: Guest on July-05-2021

C# Answers by Framework

Browse Popular Code Answers by Language