You could use the Request.RawUrl
, Request.Url.OriginalString
, Request.Url.ToString()
or Request.Url.AbsoluteUri
.
More Related Contents:
- c# asp.net delete last comma [closed]
- MVC which submit button has been pressed
- Visual Studio 2015 not syntax highlighting razor nor Intellisense
- ASP.NET MVC Razor render without encoding
- How to use multiple form elements in ASP.NET MVC
- How do I create a custom membership provider for ASP.NET MVC 2?
- How to get the public IP address of a user in C#
- Could not find a part of the path … bin\roslyn\csc.exe
- Return View as String in .NET Core
- How to get current user, and how to use User class in MVC5?
- Custom validation attribute that compares the value of my property with another property’s value in my model class
- prevent property from being serialized in web API
- How to update a claim in ASP.NET Identity?
- ASP.NET MVC Global Variables
- Razor: Declarative HTML helpers
- Adding your own HtmlHelper in ASP.NET MVC 3
- asp.net-mvc: razor ‘@’ symbol in js file
- Converting ASP.NET MVC Razor @helper function into a method of a helper class
- Visual Studio 2015 Broken Razor Intellisense
- Client Id for Property (ASP.Net MVC)
- MVC 5 BeginCollectionItem with Partial CRUD
- Windows Authentication and add Authorization Roles through database – MVC asp.net
- MEF with MVC 4 or 5 – Pluggable Architecture (2014)
- How to retain spaces in DropDownList – ASP.net MVC Razor views
- Redirect to another page when user is not authorized in asp.net mvc3
- How do you post a JSON file to an ASP.NET MVC Action?
- Using Razor without MVC [duplicate]
- How to create Select List for Country and States/province in MVC
- Specify Date format in MVC5 (dd/MM/yyyy)
- LINQ to Entities does not recognize the method ‘System.String ToString()’ method in MVC 4