ResourceControllerFactory Class
Specialized ControllerFactory that augments the base controller factory to make it RESTful - specifically, adding support for multiple formats, HTTP method based dispatch to controller methods and HTTP error handling.
Namespace: Microsoft.Web.Mvc.Resources
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
Microsoft.Web.Mvc.Resources.ResourceControllerFactory
Syntax
public class ResourceControllerFactory : IControllerFactory
public ref class ResourceControllerFactory : IControllerFactory
type ResourceControllerFactory =
class
interface IControllerFactory
end
Public Class ResourceControllerFactory
Implements IControllerFactory
Constructors
Name | Description | |
---|---|---|
ResourceControllerFactory() | Initializes a new instance of the ResourceControllerFactory class. |
|
ResourceControllerFactory(IControllerFactory) | Initializes a new instance of the ResourceControllerFactory class. |
Methods
Name | Description | |
---|---|---|
CreateController(RequestContext, String) | Creates the specified controller by using the specified request context. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetControllerSessionBehavior(RequestContext, String) | Gets the controller’s session behavior. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ReleaseController(IController) | Releases the specified controller. |
|
ToString() | (Inherited from Object.) |
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
Microsoft.Web.Mvc.Resources Namespace
Return to top