Click here for more information, but esentially there is no need for extension methods. It’s already baked in, just not in a very intuitive way.
Url.Action("Action", null, null, Request.Url.Scheme);
More Related Contents:
- Dots in URL causes 404 with ASP.NET mvc and IIS
- How to extend available properties of User.Identity
- What are good candidates for base controller class in ASP.NET MVC?
- Visual Studio debugging/loading very slow
- ASP.NET MVC ActionLink and post method
- Can we pass model as a parameter in RedirectToAction?
- Difference between Repository and Service Layer?
- Writing/outputting HTML strings unescaped
- How to render a Section in a Partial View in MVC3?
- Way to do content adaptation to mobile
- Does anyone beside me just NOT get ASP.NET MVC? [closed]
- Support for optgroup in dropdownlist .NET MVC?
- How to set decimal separators in ASP.NET MVC controllers?
- How to get RouteData by URL?
- The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value
- Converting flattened hierarchical data from SQL Server into a structured JSON object with C#/Linq
- ASP.NET MVC / EF4 / POCO / Repository – How to Update Relationships?
- SubSonic ASP.NET MVC sample in Visual Web Developer Express
- Deploying ASP.NET MVC Project
- What ‘sensitive information’ could be disclosed when setting JsonRequestBehavior to AllowGet
- Razor: @Html.Partial() vs @RenderPage()
- Get ExtraData from MVC5 framework OAuth/OWin identity provider with external auth provider
- The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value
- ASP.NET WebApi vs MVC? [closed]
- In what order are filters executed in asp.net mvc
- How to get current controller and action from inside Child action?
- Get [DisplayName] attribute of a property in strongly-typed way
- Howto allow “Illegal characters in path”?
- Mapping Lists using Automapper
- How can I add an item to a SelectList in ASP.net MVC