ControllerExtensions Class
Provides extension methods that respond to HTTP requests that are made to an ASP.NET MVC website.
Namespace: Microsoft.Web.Mvc
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
Microsoft.Web.Mvc.ControllerExtensions
Syntax
public static class ControllerExtensions
[ExtensionAttribute]
public ref class ControllerExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type ControllerExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class ControllerExtensions
Methods
Name | Description | |
---|---|---|
![]() ![]() |
RedirectToAction<TController>(TController, Expression<Action<TController>>) | Redirects to the specified parameters using the type controller, controller and action. |
![]() ![]() |
RedirectToAction<TController>(Controller, Expression<Action<TController>>) | Redirects to the specified parameters using the type controller, controller and action. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Return to top