Microsoft.AspNet.Mvc Namespace¶
-
namespace
Microsoft.AspNet.
Mvc
¶ Interfaces
- interface
IActionDescriptorsCollectionProvider
- Provides the currently cached collection of [Microsoft.AspNet.Mvc.ActionDescriptor]().
interface
IActionHttpMethodProvider
interface
IActionInvoker
interface
IActionInvokerFactory
interface
IActionSelector
- interface
IAssemblyProvider
- Specifies the contract for discovering assemblies that may contain Mvc specific types such as controllers, view components and precompiled views.
- interface
IControllerActionArgumentBinder
- Provides a dictionary of action arguments.
- interface
IControllerActivator
- Provides methods to create a controller.
- interface
IControllerFactory
- Provides methods for creation and disposal of controllers.
interface
IControllerPropertyActivator
- interface
IControllerTypeProvider
- Provides methods for discovery of controller types.
- interface
ICorsAuthorizationFilter
- A filter which can be used to enable/disable cors support for a resource.
- interface
IRouteConstraintProvider
- An interface for metadata which provides [Microsoft.AspNet.Mvc.RouteDataActionConstraint]() values for a controller or action.
interface
IScopedInstance<TValue>
- interface
ITempDataDictionary
- Represents a set of data that persists only from one request to the next.
- interface
ITempDataProvider
- Defines the contract for temporary-data providers that store data that is viewed on the next request.
- interface
ITypeActivatorCache
- Caches @!:Microsoft.Framework.DependencyInjection.ObjectFactory- instances produced by @!:Microsoft.Framework.DependencyInjection.ActivatorUtilities.CreateFactory(Type, Type[])-.
- interface
IUrlHelper
- Defines the contract for the helper to build URLs for ASP.NET MVC within an application.
Classes
- class
AcceptVerbsAttribute
- Specifies what HTTP methods an action supports.
class
ActionBindingContext
- class
ActionBindingContextAttribute
- Specifies that a controller property should be set with the current [Microsoft.AspNet.Mvc.ActionBindingContext](Microsoft.AspNet.Mvc.ActionBindingContext.yml) when creating the controller. The property must have a public set method.
- class
ActionContextAttribute
- Specifies that a controller property should be set with the current [Microsoft.AspNet.Mvc.ActionContext]() when creating the controller. The property must have a public set method.
- class
ActionDescriptorExtensions
- Extension methods for [Microsoft.AspNet.Mvc.ActionDescriptor]().
- class
ActionDescriptorsCollection
- A cached collection of [Microsoft.AspNet.Mvc.ActionDescriptor]().
class
ActionNameAttribute
class
ActionResult
- class
AmbiguousActionException
- An exception which indicates multiple matches in action selection.
- class
ApiExplorerSettingsAttribute
- Controls the visibility and group name for an <c>ApiDescription</c> of the associated controller class or action method.
- class
ApplicationModelConventionExtensions
- Contains the extension methods for [Microsoft.AspNet.Mvc.MvcOptions.Conventions](Microsoft.AspNet.Mvc.MvcOptions.yml).
class
AreaAttribute
- class
BindAttribute
- This attribute can be used on action parameters and types, to indicate model level metadata.
class
ControllerActionDescriptor
- class
ControllerActionDescriptorBuilder
- Creates instances of [Microsoft.AspNet.Mvc.ControllerActionDescriptor](Microsoft.AspNet.Mvc.ControllerActionDescriptor.yml) from [Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel](Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel.yml).
class
ControllerActionExecutor
- class
CoreMvcOptionsSetup
- Sets up default options for [Microsoft.AspNet.Mvc.MvcOptions](Microsoft.AspNet.Mvc.MvcOptions.yml).
class
DefaultAssemblyProvider
- class
DefaultControllerActionArgumentBinder
- Provides a default implementation of [Microsoft.AspNet.Mvc.IControllerActionArgumentBinder](Microsoft.AspNet.Mvc.IControllerActionArgumentBinder.yml). Uses ModelBinding to populate action parameters.
- class
DefaultControllerActivator
- [Microsoft.AspNet.Mvc.IControllerActivator](Microsoft.AspNet.Mvc.IControllerActivator.yml) that uses type activation to create controllers.
- class
DefaultControllerFactory
- Default implementation for [Microsoft.AspNet.Mvc.IControllerFactory](Microsoft.AspNet.Mvc.IControllerFactory.yml).
class
DefaultControllerPropertyActivator
- class
DefaultControllerTypeProvider
- A [Microsoft.AspNet.Mvc.IControllerTypeProvider](Microsoft.AspNet.Mvc.IControllerTypeProvider.yml) that identifies controller types from assemblies specified by the registered [Microsoft.AspNet.Mvc.IAssemblyProvider](Microsoft.AspNet.Mvc.IAssemblyProvider.yml).
class
DefaultOrder
- class
DefaultPropertyBindingPredicateProvider<TModel>
- Default implementation for [Microsoft.AspNet.Mvc.ModelBinding.IPropertyBindingPredicateProvider](). Provides a expression based way to provide include properties.
- class
DefaultTypeActivatorCache
- Caches @!:ObjectFactory- instances produced by @!:Microsoft.Framework.DependencyInjection.ActivatorUtilities.CreateFactory(Type, Type[])-.
- class
EmptyResult
- Represents an [Microsoft.AspNet.Mvc.ActionResult](Microsoft.AspNet.Mvc.ActionResult.yml) that when executed will do nothing.
- class
ExcludeTypeValidationFilterExtensions
- Extensions for [System.Collections.Generic.IList`1]().
- class
FilterCollectionExtensions
- Extension methods for adding filters to the global filters collection.
class
FilterDescriptorOrderComparer
class
FilterItemOrderComparer
- class
FilterScope
Contains constant values for known filter scopes.
Scope defines the ordering of filters that have the same order. Scope is by-default defined by how a filter is registered.
- class
FromBodyAttribute
- Specifies that a parameter or property should be bound using the request body.
- class
FromFormAttribute
- Specifies that a parameter or property should be bound using form-data in the request body.
- class
FromHeaderAttribute
- Specifies that a parameter or property should be bound using the request headers.
- class
FromQueryAttribute
- Specifies that a parameter or property should be bound using the request query string.
- class
FromRouteAttribute
- Specifies that a parameter or property should be bound using route-data from the current request.
- class
FromServicesAttribute
- Specifies that a parameter or property should be bound using the request services.
- class
HttpDeleteAttribute
- Identifies an action that only supports the HTTP DELETE method.
- class
HttpGetAttribute
- Identifies an action that only supports the HTTP GET method.
- class
HttpHeadAttribute
- Identifies an action that only supports the HTTP HEAD method.
- class
HttpMethodAttribute
- Identifies an action that only supports a given set of HTTP methods.
class
HttpMethodConstraint
- class
HttpNoContentOutputFormatter
- Sets the status code to 204 if the content is null.
- class
HttpNotAcceptableOutputFormatter
- A formatter which selects itself when content-negotiation has failed and writes a 406 Not Acceptable response.
- class
HttpPatchAttribute
- Identifies an action that only supports the HTTP PATCH method.
- class
HttpPostAttribute
- Identifies an action that only supports the HTTP POST method.
- class
HttpPutAttribute
- Identifies an action that only supports the HTTP PUT method.
- class
HttpResponseStreamWriter
- Writes to the [System.IO.Stream]() using the supplied [Microsoft.AspNet.Mvc.HttpResponseStreamWriter.Encoding](Microsoft.AspNet.Mvc.HttpResponseStreamWriter.yml). It does not write the BOM and also does not close the stream.
- class
InputFormatter
- Reads an object from the request body.
class
KnownRouteValueConstraint
- class
ModelBinderAttribute
- An attribute that can specify a model name or type of [Microsoft.AspNet.Mvc.ModelBinding.IModelBinder]() to use for binding.
class
ModelBindingHelper
- class
ModelMetadataTypeAttribute
- This attribute specifies the metadata class to associate with a data model class.
- class
MvcOptions
- Provides programmatic configuration for the MVC framework.
class
MvcRouteHandler
class
NonActionAttribute
- class
NonControllerAttribute
- Indicates that the type and any derived types that this attribute is applied to is not considered a controller by the default controller discovery mechanism.
class
ObjectResult
- class
OutputFormatter
- Writes an object to the output stream.
- class
RouteAttribute
- Specifies an attribute route on a controller.
- class
RouteConstraintAttribute
An attribute which specifies a required route value for an action or controller.
When placed on an action, the route data of a request must match the expectations of the route constraint in order for the action to be selected. See [Microsoft.AspNet.Mvc.RouteConstraintAttribute.RouteKeyHandling](Microsoft.AspNet.Mvc.RouteConstraintAttribute.yml) for the expectations that must be satisfied by the route data.
When placed on a controller, unless overridden by the action, the constraint applies to all actions defined by the controller.
class
ScopedInstance<T>
class
ServiceFilterAttribute
- class
SessionStateTempDataProvider
- Provides session-state data to the current [Microsoft.AspNet.Mvc.ITempDataDictionary](Microsoft.AspNet.Mvc.ITempDataDictionary.yml) object.
- class
StreamOutputFormatter
- Always copies the stream to the response, regardless of requested content type.
- class
StringOutputFormatter
- Always writes a string value to the response, regardless of requested content type.
class
TempDataDictionary
class
TypeFilterAttribute
- class
UrlActionContext
- Context object to be used for the URLs that [Microsoft.AspNet.Mvc.IUrlHelper.Action(Microsoft.AspNet.Mvc.UrlActionContext)](Microsoft.AspNet.Mvc.IUrlHelper.yml) generates.
- class
UrlHelper
- An implementation of [Microsoft.AspNet.Mvc.IUrlHelper](Microsoft.AspNet.Mvc.IUrlHelper.yml) that contains methods to build URLs for ASP.NET MVC within an application.
class
UrlHelperExtensions
- class
UrlRouteContext
- Context object to be used for the URLs that [Microsoft.AspNet.Mvc.IUrlHelper.RouteUrl(Microsoft.AspNet.Mvc.UrlRouteContext)](Microsoft.AspNet.Mvc.IUrlHelper.yml) generates.
- interface