Microsoft.AspNet.Mvc Namespace

namespace Microsoft.AspNet.Mvc

Classes

class Microsoft.AspNet.Mvc.AcceptVerbsAttribute
Specifies what HTTP methods an action supports.

class Microsoft.AspNet.Mvc.ActionBindingContext

class Microsoft.AspNet.Mvc.ActionBindingContextAttribute
Specifies that a controller property should be set with the current Microsoft.AspNet.Mvc.ActionBindingContext when creating the controller. The property must have a public set method.
class Microsoft.AspNet.Mvc.ActionContext
Context object for execution of action which has been selected as part of an HTTP request.
class Microsoft.AspNet.Mvc.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 Microsoft.AspNet.Mvc.ActionNameAttribute

class Microsoft.AspNet.Mvc.ActionResult
A default implementation of Microsoft.AspNet.Mvc.IActionResult.
class Microsoft.AspNet.Mvc.ApiExplorerSettingsAttribute
Controls the visibility and group name for an <c>ApiDescription</c> of the associated controller class or action method.

class Microsoft.AspNet.Mvc.AreaAttribute

class Microsoft.AspNet.Mvc.BadRequestObjectResult
An Microsoft.AspNet.Mvc.ObjectResult that when executed will produce a Bad Request (400) response.
class Microsoft.AspNet.Mvc.BadRequestResult
A Microsoft.AspNet.Mvc.HttpStatusCodeResult that when executed will produce a Bad Request (400) response.
class Microsoft.AspNet.Mvc.BindAttribute
This attribute can be used on action parameters and types, to indicate model level metadata.
class Microsoft.AspNet.Mvc.CacheProfile
Defines a set of settings which can be used for response caching.

class Microsoft.AspNet.Mvc.ChallengeResult

class Microsoft.AspNet.Mvc.ConsumesAttribute
Specifies the allowed content types which can be used to select the action based on request’s content-type.

class Microsoft.AspNet.Mvc.ContentResult

class Microsoft.AspNet.Mvc.Controller
Base class for an MVC controller.
class Microsoft.AspNet.Mvc.CreatedAtActionResult
An Microsoft.AspNet.Mvc.ActionResult that returns a Created (201) response with a Location header.
class Microsoft.AspNet.Mvc.CreatedAtRouteResult
An Microsoft.AspNet.Mvc.ActionResult that returns a Created (201) response with a Location header.
class Microsoft.AspNet.Mvc.CreatedResult
An Microsoft.AspNet.Mvc.ActionResult that returns a Created (201) response with a Location header.
class Microsoft.AspNet.Mvc.EmptyResult
Represents an Microsoft.AspNet.Mvc.ActionResult that when executed will do nothing.
class Microsoft.AspNet.Mvc.FileContentResult
Represents an Microsoft.AspNet.Mvc.ActionResult that when executed will write a binary file to the response.
class Microsoft.AspNet.Mvc.FileResult
Represents an Microsoft.AspNet.Mvc.ActionResult that when executed will write a file as the response.
class Microsoft.AspNet.Mvc.FileStreamResult
Represents an Microsoft.AspNet.Mvc.ActionResult that when executed will write a file from a stream to the response.
class Microsoft.AspNet.Mvc.FormatFilterAttribute
A filter which will use the format value in the route data or query string to set the content type on an Microsoft.AspNet.Mvc.ObjectResult returned from an action.
class Microsoft.AspNet.Mvc.FromBodyAttribute
Specifies that a parameter or property should be bound using the request body.
class Microsoft.AspNet.Mvc.FromFormAttribute
Specifies that a parameter or property should be bound using form-data in the request body.
class Microsoft.AspNet.Mvc.FromHeaderAttribute
Specifies that a parameter or property should be bound using the request headers.
class Microsoft.AspNet.Mvc.FromQueryAttribute
Specifies that a parameter or property should be bound using the request query string.
class Microsoft.AspNet.Mvc.FromRouteAttribute
Specifies that a parameter or property should be bound using route-data from the current request.
class Microsoft.AspNet.Mvc.FromServicesAttribute
Specifies that a parameter or property should be bound using the request services.
class Microsoft.AspNet.Mvc.HiddenInputAttribute
Indicates associated property or all properties of associated type should be edited using an &lt;input&gt; element of type “hidden”.
class Microsoft.AspNet.Mvc.HttpDeleteAttribute
Identifies an action that only supports the HTTP DELETE method.
class Microsoft.AspNet.Mvc.HttpGetAttribute
Identifies an action that only supports the HTTP GET method.
class Microsoft.AspNet.Mvc.HttpHeadAttribute
Identifies an action that only supports the HTTP HEAD method.
class Microsoft.AspNet.Mvc.HttpNotFoundObjectResult
An Microsoft.AspNet.Mvc.ObjectResult that when executed will produce a Not Found (404) response.
class Microsoft.AspNet.Mvc.HttpNotFoundResult
Represents an Microsoft.AspNet.Mvc.HttpStatusCodeResult that when executed will produce a Not Found (404) response.
class Microsoft.AspNet.Mvc.HttpOkObjectResult
An Microsoft.AspNet.Mvc.ObjectResult that when executed performs content negotiation, formats the entity body, and will produce a Microsoft.AspNet.Http.StatusCodes.Status200OK response if negotiation and formatting succeed.
class Microsoft.AspNet.Mvc.HttpOkResult
An Microsoft.AspNet.Mvc.HttpStatusCodeResult that when executed will produce an empty Microsoft.AspNet.Http.StatusCodes.Status200OK response.
class Microsoft.AspNet.Mvc.HttpPatchAttribute
Identifies an action that only supports the HTTP PATCH method.
class Microsoft.AspNet.Mvc.HttpPostAttribute
Identifies an action that only supports the HTTP POST method.
class Microsoft.AspNet.Mvc.HttpPutAttribute
Identifies an action that only supports the HTTP PUT method.
class Microsoft.AspNet.Mvc.HttpResponseStreamWriter
Writes to the System.IO.Stream using the supplied Microsoft.AspNet.Mvc.HttpResponseStreamWriter.Encoding. It does not write the BOM and also does not close the stream.
class Microsoft.AspNet.Mvc.HttpStatusCodeResult
Represents an Microsoft.AspNet.Mvc.ActionResult that when executed will produce an HTTP response with the given response status code.
class Microsoft.AspNet.Mvc.HttpUnauthorizedResult
Represents an Microsoft.AspNet.Mvc.HttpUnauthorizedResult that when executed will produce an Unauthorized (401) response.
class Microsoft.AspNet.Mvc.JsonPatchExtensions
Extensions for Microsoft.AspNet.JsonPatch.JsonPatchDocument`1
class Microsoft.AspNet.Mvc.JsonResult
An action result which formats the given object as JSON.
class Microsoft.AspNet.Mvc.LocalRedirectResult
An Microsoft.AspNet.Mvc.ActionResult that returns a redirect to the supplied local URL.
class Microsoft.AspNet.Mvc.ModelBinderAttribute
An attribute that can specify a model name or type of Microsoft.AspNet.Mvc.ModelBinding.IModelBinder to use for binding.
class Microsoft.AspNet.Mvc.ModelMetadataTypeAttribute
This attribute specifies the metadata class to associate with a data model class.
class Microsoft.AspNet.Mvc.MvcJsonOptions
Provides programmatic configuration for JSON in the MVC framework.
class Microsoft.AspNet.Mvc.MvcOptions
Provides programmatic configuration for the MVC framework.
class Microsoft.AspNet.Mvc.MvcViewOptions
Provides programmatic configuration for views in the MVC framework.

class Microsoft.AspNet.Mvc.NoContentResult

class Microsoft.AspNet.Mvc.NonActionAttribute

class Microsoft.AspNet.Mvc.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 Microsoft.AspNet.Mvc.ObjectResult

class Microsoft.AspNet.Mvc.PartialViewResult
Represents an Microsoft.AspNet.Mvc.ActionResult that renders a partial view to the response.
class Microsoft.AspNet.Mvc.PhysicalFileResult
A Microsoft.AspNet.Mvc.FileResult on execution will write a file from disk to the response using mechanisms provided by the host.
class Microsoft.AspNet.Mvc.ProducesAttribute
Specifies the allowed content types and the type of the value returned by the action which can be used to select a formatter while executing Microsoft.AspNet.Mvc.ObjectResult.
class Microsoft.AspNet.Mvc.RazorViewEngineOptionsSetup
Sets up default options for Microsoft.AspNet.Mvc.Razor.RazorViewEngineOptions.

class Microsoft.AspNet.Mvc.RedirectResult

class Microsoft.AspNet.Mvc.RedirectToActionResult

class Microsoft.AspNet.Mvc.RedirectToRouteResult

class Microsoft.AspNet.Mvc.RemoteAttribute
A System.ComponentModel.DataAnnotations.ValidationAttribute which configures Unobtrusive validation to send an Ajax request to the web site. The invoked action should return JSON indicating whether the value is valid.

class Microsoft.AspNet.Mvc.RequireHttpsAttribute

class Microsoft.AspNet.Mvc.ResponseCacheAttribute
Specifies the parameters necessary for setting appropriate headers in response caching.
class Microsoft.AspNet.Mvc.RouteAttribute
Specifies an attribute route on a controller.
class Microsoft.AspNet.Mvc.SerializableError
Defines a serializable container for storing ModelState information. This information is stored as key/value pairs.

class Microsoft.AspNet.Mvc.ServiceFilterAttribute

class Microsoft.AspNet.Mvc.SkipStatusCodePagesAttribute
Filter to prevent StatusCodePages middleware to handle responses.

class Microsoft.AspNet.Mvc.TypeFilterAttribute

class Microsoft.AspNet.Mvc.UnsupportedMediaTypeResult
A Microsoft.AspNet.Mvc.HttpStatusCodeResult that when executed will produce a UnsupportedMediaType (415) response.

class Microsoft.AspNet.Mvc.UrlHelperExtensions

class Microsoft.AspNet.Mvc.ValidateAntiForgeryTokenAttribute
Specifies that the class or method that this attribute is applied validates the anti-forgery token. If the anti-forgery token is not available, or if the token is invalid, the validation will fail and the action method will not execute.
class Microsoft.AspNet.Mvc.ViewComponent
A base class for view components.

class Microsoft.AspNet.Mvc.ViewComponentAttribute

class Microsoft.AspNet.Mvc.ViewComponentResult
An Microsoft.AspNet.Mvc.IActionResult which renders a view component to the response.
class Microsoft.AspNet.Mvc.ViewResult
Represents an Microsoft.AspNet.Mvc.ActionResult that renders a view to the response.
class Microsoft.AspNet.Mvc.VirtualFileResult
A Microsoft.AspNet.Mvc.FileResult that on execution writes the file specified using a virtual path to the response using mechanisms provided by the host.

Interfaces

interface Microsoft.AspNet.Mvc.IActionResult
Defines a contract that represents the result of an action method.
interface Microsoft.AspNet.Mvc.IUrlHelper
Defines the contract for the helper to build URLs for ASP.NET MVC within an application.

interface Microsoft.AspNet.Mvc.IViewComponentHelper

interface Microsoft.AspNet.Mvc.IViewComponentResult
Result type of a Microsoft.AspNet.Mvc.ViewComponent.

Enumerations

enum Microsoft.AspNet.Mvc.ResponseCacheLocation
Determines the value for the “Cache-control” header in the response.