CardsController - класс

Working with cards.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[RouteAttribute("api/v1/cards")]
[ApiControllerAttribute]
[AuthorizeAttribute("saml2")]
[ProducesErrorResponseTypeAttribute(typeof(PlainValidationResult))]
[ProducesResponseTypeAttribute(400)]
[ProducesResponseTypeAttribute(401)]
[ProducesResponseTypeAttribute(403)]
public sealed class CardsController : Controller
Inheritance
Object    ControllerBase    Controller    CardsController

Конструкторы

CardsControllerИнициализирует новый экземпляр класса CardsController

Свойства

ControllerContext Gets or sets the ControllerContext.
(Унаследован от ControllerBase)
HttpContext Gets the HttpContext for the executing action.
(Унаследован от ControllerBase)
MetadataProvider Gets or sets the IModelMetadataProvider.
(Унаследован от ControllerBase)
ModelBinderFactory Gets or sets the IModelBinderFactory.
(Унаследован от ControllerBase)
ModelState Gets the ModelStateDictionary that contains the state of the model and of model-binding validation.
(Унаследован от ControllerBase)
ObjectValidator Gets or sets the IObjectModelValidator.
(Унаследован от ControllerBase)
ProblemDetailsFactory Gets or sets the ProblemDetailsFactory.
(Унаследован от ControllerBase)
Request Gets the HttpRequest for the executing action.
(Унаследован от ControllerBase)
Response Gets the HttpResponse for the executing action.
(Унаследован от ControllerBase)
RouteData Gets the RouteData for the executing action.
(Унаследован от ControllerBase)
TempData Gets or sets ITempDataDictionary used by ViewResult.
(Унаследован от Controller)
Url Gets or sets the IUrlHelper.
(Унаследован от ControllerBase)
User Gets the ClaimsPrincipal for user associated with the executing action.
(Унаследован от ControllerBase)
ViewBag Gets the dynamic view bag.
(Унаследован от Controller)
ViewData Gets or sets ViewDataDictionary used by ViewResult and ViewBag.
(Унаследован от Controller)

Методы

Accepted Creates a AcceptedResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
Accepted(Object) Creates a AcceptedResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
Accepted(String) Creates a AcceptedResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
Accepted(Uri) Creates a AcceptedResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
Accepted(String, Object) Creates a AcceptedResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
Accepted(Uri, Object) Creates a AcceptedResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtAction(String) Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtAction(String, Object) Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtAction(String, String) Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtAction(String, Object, Object) Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtAction(String, String, Object) Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtAction(String, String, Object, Object) Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtRoute(Object) Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtRoute(String) Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtRoute(Object, Object) Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtRoute(String, Object) Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
AcceptedAtRoute(String, Object, Object) Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.
(Унаследован от ControllerBase)
BadRequest Creates an BadRequestResult that produces a Status400BadRequest response.
(Унаследован от ControllerBase)
BadRequest(ModelStateDictionary) Creates an BadRequestObjectResult that produces a Status400BadRequest response.
(Унаследован от ControllerBase)
BadRequest(Object) Creates an BadRequestObjectResult that produces a Status400BadRequest response.
(Унаследован от ControllerBase)
CardCopyRequest Create copy of the card.
CardCreateFromTemplate Create card from specified template. Card is not yet present in database.
Challenge Creates a ChallengeResult.
(Унаследован от ControllerBase)
Challenge(AuthenticationProperties) Creates a ChallengeResult with the specified properties.
(Унаследован от ControllerBase)
Challenge(String) Creates a ChallengeResult with the specified authentication schemes.
(Унаследован от ControllerBase)
Challenge(AuthenticationProperties, String) Creates a ChallengeResult with the specified authentication schemes and properties.
(Унаследован от ControllerBase)
Conflict Creates an ConflictResult that produces a Status409Conflict response.
(Унаследован от ControllerBase)
Conflict(ModelStateDictionary) Creates an ConflictObjectResult that produces a Status409Conflict response.
(Унаследован от ControllerBase)
Conflict(Object) Creates an ConflictObjectResult that produces a Status409Conflict response.
(Унаследован от ControllerBase)
Content(String) Creates a ContentResult object by specifying a content string.
(Унаследован от ControllerBase)
Content(String, MediaTypeHeaderValue) Creates a ContentResult object by specifying a content string and a contentType.
(Унаследован от ControllerBase)
Content(String, String) Creates a ContentResult object by specifying a content string and a content type.
(Унаследован от ControllerBase)
Content(String, String, Encoding) Creates a ContentResult object by specifying a content string, a contentType, and contentEncoding.
(Унаследован от ControllerBase)
Created Creates a CreatedResult object that produces a Status201Created response.
(Унаследован от ControllerBase)
Created(String, Object) Creates a CreatedResult object that produces a Status201Created response.
(Унаследован от ControllerBase)
Created(Uri, Object) Creates a CreatedResult object that produces a Status201Created response.
(Унаследован от ControllerBase)
CreatedAtAction(String, Object) Creates a CreatedAtActionResult object that produces a Status201Created response.
(Унаследован от ControllerBase)
CreatedAtAction(String, Object, Object) Creates a CreatedAtActionResult object that produces a Status201Created response.
(Унаследован от ControllerBase)
CreatedAtAction(String, String, Object, Object) Creates a CreatedAtActionResult object that produces a Status201Created response.
(Унаследован от ControllerBase)
CreatedAtRoute(Object, Object) Creates a CreatedAtRouteResult object that produces a Status201Created response.
(Унаследован от ControllerBase)
CreatedAtRoute(String, Object) Creates a CreatedAtRouteResult object that produces a Status201Created response.
(Унаследован от ControllerBase)
CreatedAtRoute(String, Object, Object) Creates a CreatedAtRouteResult object that produces a Status201Created response.
(Унаследован от ControllerBase)
Delete Delete card with specified attributes. Method is also used to restore deleted card.
DeleteQuery Delete card with attributes specified in route and query.
Dispose
(Унаследован от Controller)
Dispose(Boolean) Releases all resources currently used by this Controller instance.
(Унаследован от Controller)
File(Byte, String) Returns a file with the specified fileContents as content (Status200OK), and the specified contentType as the Content-Type. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
File(Stream, String) Returns a file in the specified fileStream (Status200OK), with the specified contentType as the Content-Type. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
File(String, String) Returns the file specified by virtualPath (Status200OK) with the specified contentType as the Content-Type. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
File(Byte, String, Boolean) Returns a file with the specified fileContents as content (Status200OK), and the specified contentType as the Content-Type. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
File(Byte, String, String) Returns a file with the specified fileContents as content (Status200OK), the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
File(Stream, String, Boolean) Returns a file in the specified fileStream (Status200OK), with the specified contentType as the Content-Type. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
File(Stream, String, String) Returns a file in the specified fileStream (Status200OK) with the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
File(String, String, Boolean) Returns the file specified by virtualPath (Status200OK) with the specified contentType as the Content-Type. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
File(String, String, String) Returns the file specified by virtualPath (Status200OK) with the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[],System.String,System.Nullable`1,System.Void)]
(Унаследован от ControllerBase)
File(Byte, String, String, Boolean) Returns a file with the specified fileContents as content (Status200OK), the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream,System.String,System.Nullable`1,System.Void)]
(Унаследован от ControllerBase)
File(Stream, String, String, Boolean) Returns a file in the specified fileStream (Status200OK) with the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String,System.String,System.Nullable`1,System.Void)]
(Унаследован от ControllerBase)
File(String, String, String, Boolean) Returns the file specified by virtualPath (Status200OK) with the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[],System.String,System.Nullable`1,System.Void,System.DateTimeOffset)]
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[],System.String,System.String,System.Nullable`1,System.Void)]
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream,System.String,System.Nullable`1,System.Void,System.DateTimeOffset)]
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream,System.String,System.String,System.Nullable`1,System.Void)]
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String,System.String,System.Nullable`1,System.Void,System.DateTimeOffset)]
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String,System.String,System.String,System.Nullable`1,System.Void)]
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[],System.String,System.String,System.Nullable`1,System.Void,System.DateTimeOffset)]
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream,System.String,System.String,System.Nullable`1,System.Void,System.DateTimeOffset)]
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String,System.String,System.String,System.Nullable`1,System.Void,System.DateTimeOffset)]
(Унаследован от ControllerBase)
Forbid Creates a ForbidResult (Status403Forbidden by default).
(Унаследован от ControllerBase)
Forbid(AuthenticationProperties) Creates a ForbidResult (Status403Forbidden by default) with the specified properties.
(Унаследован от ControllerBase)
Forbid(String) Creates a ForbidResult (Status403Forbidden by default) with the specified authentication schemes.
(Унаследован от ControllerBase)
Forbid(AuthenticationProperties, String) Creates a ForbidResult (Status403Forbidden by default) with the specified authentication schemes and properties.
(Унаследован от ControllerBase)
GetStoreError Get error info of operation "saving card with files contents" with specified identifier. Returns 204 (No Content) if card isn't found, therefore no errors occured.
Json(Object) Creates a JsonResult object that serializes the specified data object to JSON.
(Унаследован от Controller)
Json(Object, Object) Creates a JsonResult object that serializes the specified data object to JSON.
(Унаследован от Controller)
LocalRedirect Creates a LocalRedirectResult object that redirects (Status302Found) to the specified local localUrl.
(Унаследован от ControllerBase)
LocalRedirectPermanent Creates a LocalRedirectResult object with Permanent set to true (Status301MovedPermanently) using the specified localUrl.
(Унаследован от ControllerBase)
LocalRedirectPermanentPreserveMethod Creates a LocalRedirectResult object with Permanent set to true and PreserveMethod set to true (Status308PermanentRedirect) using the specified localUrl.
(Унаследован от ControllerBase)
LocalRedirectPreserveMethod Creates a LocalRedirectResult object with Permanent set to false and PreserveMethod set to true (Status307TemporaryRedirect) using the specified localUrl.
(Унаследован от ControllerBase)
NoContent Creates a NoContentResult object that produces an empty Status204NoContent response.
(Унаследован от ControllerBase)
NotFound Creates an NotFoundResult that produces a Status404NotFound response.
(Унаследован от ControllerBase)
NotFound(Object) Creates an NotFoundObjectResult that produces a Status404NotFound response.
(Унаследован от ControllerBase)
Ok Creates a OkResult object that produces an empty Status200OK response.
(Унаследован от ControllerBase)
Ok(Object) Creates an OkObjectResult object that produces an Status200OK response.
(Унаследован от ControllerBase)
OnActionExecuted Called after the action method is invoked.
(Унаследован от Controller)
OnActionExecuting Called before the action method is invoked.
(Унаследован от Controller)
OnActionExecutionAsync Called before the action method is invoked.
(Унаследован от Controller)
PartialView Creates a PartialViewResult object that renders a partial view to the response.
(Унаследован от Controller)
PartialView(Object) Creates a PartialViewResult object by specifying a model to be rendered by the partial view.
(Унаследован от Controller)
PartialView(String) Creates a PartialViewResult object by specifying a viewName.
(Унаследован от Controller)
PartialView(String, Object) Creates a PartialViewResult object by specifying a viewName and the model to be rendered by the partial view.
(Унаследован от Controller)
PhysicalFile(String, String) Returns the file specified by physicalPath (Status200OK) with the specified contentType as the Content-Type. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
PhysicalFile(String, String, Boolean) Returns the file specified by physicalPath (Status200OK) with the specified contentType as the Content-Type. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
PhysicalFile(String, String, String) Returns the file specified by physicalPath (Status200OK) with the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String,System.String,System.Nullable`1,System.Void)]
(Унаследован от ControllerBase)
PhysicalFile(String, String, String, Boolean) Returns the file specified by physicalPath (Status200OK) with the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable).
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String,System.String,System.Nullable`1,System.Void,System.DateTimeOffset)]
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String,System.String,System.String,System.Nullable`1,System.Void)]
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String,System.String,System.String,System.Nullable`1,System.Void,System.DateTimeOffset)]
(Унаследован от ControllerBase)
PostBundleInsert Import multiple cards as a bundle. Method is available for administrators only.
PostGet Get card with specified attributes. Card should be present in database, or it should be virtual.
PostGetFileContent

Get contents FileStreamResult for a file with specified attributes. Suggested file name is returned in response header Content-Disposition.

Response from cards API CardGetFileContentResponse isn't returned. But if there are errors occured, they are returned as PlainValidationResult object as typed JSON with status BadRequest.

PostGetFileContentMultipart

Get contents for a file with specified attributes as multipart/form-data, where first part with name "Response" is CardGetFileContentResponse serialized as typed JSON application/json, and second part with name "Content" (if its present) is binary file contents application/octet-stream with recommended file name in Content-Disposition header.

If response has HasContent as false, then second part is absent.

PostGetFileContentStream

Get contents for a file with specified attributes as Stream containing response CardGetFileContentResponse and binary file contents.

Method is used in desktop client apps. Use .NET client API to read the stream.

PostGetFileTemplate

Get contents FileStreamResult for a file created from template with specified attributes. Suggested file name is returned in response header Content-Disposition.

Response from cards API CardGetFileContentResponse isn't returned. But if there are errors occured, they are returned as PlainValidationResult object as typed JSON with status BadRequest.

PostGetFileTemplateMultipart

Get contents for a file created from template with specified attributes as multipart/form-data, where first part with name "Response" is CardGetFileContentResponse serialized as typed JSON application/json, and second part with name "Content" (if its present) is binary file contents application/octet-stream with recommended file name in Content-Disposition header.

If response has HasContent as false, then second part is absent.

PostGetFileVersions Get versions of a file with specified attributes.
PostNew Create new card object with default field values. Card is not yet present in database.
PostRepair Repair card's structure.
PostRequest Perform universal query to cards API with specified attributes. It executes any business logic registered for specified RequestType. Operation can be linked to specific card CardID or it can be linked to no card.
PostStore Save card Card with specified attributes. If card has StoreMode as Insert, then the card is being created as the new one, otherwise existent card is modified.
PostStoreFiles

Save card with its files contents. Similar to request PostStore(CardStoreRequest, CancellationToken), but allows to provide files contents in form of multipart/form-data in request body (files are attached to the card as being created or replaced).

First part is form data form-data with attributes being named according to CardStoreFilesRequest: "Header" is CardHeader object (typed JSON), and "Request" is CardStoreRequest object (typed JSON).

Consequent parts are binary file contents application/octet-stream in the order, resolved by GetOrderedFiles method of CardHeader object.

PostStoreStream

Save card with its files contents. Similar to request PostStore(CardStoreRequest, CancellationToken), but allows to provide files contents in input stream (files are attached to the card as being created or replaced). Input stream Stream, consists of header CardHeader, store request CardStoreRequest and binary contents of files to save.

Method is used in desktop client apps. Use .NET client API to write the stream.

[M:Microsoft.AspNetCore.Mvc.ControllerBase.Problem(System.String,System.String,System.Nullable`1,System.Void,System.Int32)]
(Унаследован от ControllerBase)
Redirect Creates a RedirectResult object that redirects (Status302Found) to the specified url.
(Унаследован от ControllerBase)
RedirectPermanent Creates a RedirectResult object with Permanent set to true (Status301MovedPermanently) using the specified url.
(Унаследован от ControllerBase)
RedirectPermanentPreserveMethod Creates a RedirectResult object with Permanent set to true and PreserveMethod set to true (Status308PermanentRedirect) using the specified url.
(Унаследован от ControllerBase)
RedirectPreserveMethod Creates a RedirectResult object with Permanent set to false and PreserveMethod set to true (Status307TemporaryRedirect) using the specified url.
(Унаследован от ControllerBase)
RedirectToAction Redirects (Status302Found) to an action with the same name as current one. The 'controller' and 'action' names are retrieved from the ambient values of the current request.
(Унаследован от ControllerBase)
RedirectToAction(String) Redirects (Status302Found) to the specified action using the actionName.
(Унаследован от ControllerBase)
RedirectToAction(String, Object) Redirects (Status302Found) to the specified action using the actionName and routeValues.
(Унаследован от ControllerBase)
RedirectToAction(String, String) Redirects (Status302Found) to the specified action using the actionName and the controllerName.
(Унаследован от ControllerBase)
RedirectToAction(String, String, Object) Redirects (Status302Found) to the specified action using the specified actionName, controllerName, and routeValues.
(Унаследован от ControllerBase)
RedirectToAction(String, String, String) Redirects (Status302Found) to the specified action using the specified actionName, controllerName, and fragment.
(Унаследован от ControllerBase)
RedirectToAction(String, String, Object, String) Redirects (Status302Found) to the specified action using the specified actionName, controllerName, routeValues, and fragment.
(Унаследован от ControllerBase)
RedirectToActionPermanent(String) Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName.
(Унаследован от ControllerBase)
RedirectToActionPermanent(String, Object) Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName and routeValues.
(Унаследован от ControllerBase)
RedirectToActionPermanent(String, String) Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName and controllerName.
(Унаследован от ControllerBase)
RedirectToActionPermanent(String, String, Object) Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, and routeValues.
(Унаследован от ControllerBase)
RedirectToActionPermanent(String, String, String) Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, and fragment.
(Унаследован от ControllerBase)
RedirectToActionPermanent(String, String, Object, String) Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, routeValues, and fragment.
(Унаследован от ControllerBase)
RedirectToActionPermanentPreserveMethod Redirects (Status308PermanentRedirect) to the specified action with Permanent set to true and PreserveMethod set to true, using the specified actionName, controllerName, routeValues, and fragment.
(Унаследован от ControllerBase)
RedirectToActionPreserveMethod Redirects (Status307TemporaryRedirect) to the specified action with Permanent set to false and PreserveMethod set to true, using the specified actionName, controllerName, routeValues, and fragment.
(Унаследован от ControllerBase)
RedirectToPage(String) Redirects (Status302Found) to the specified pageName.
(Унаследован от ControllerBase)
RedirectToPage(String, Object) Redirects (Status302Found) to the specified pageName using the specified routeValues.
(Унаследован от ControllerBase)
RedirectToPage(String, String) Redirects (Status302Found) to the specified pageName using the specified pageHandler.
(Унаследован от ControllerBase)
RedirectToPage(String, String, Object) Redirects (Status302Found) to the specified pageName.
(Унаследован от ControllerBase)
RedirectToPage(String, String, String) Redirects (Status302Found) to the specified pageName using the specified fragment.
(Унаследован от ControllerBase)
RedirectToPage(String, String, Object, String) Redirects (Status302Found) to the specified pageName using the specified routeValues and fragment.
(Унаследован от ControllerBase)
RedirectToPagePermanent(String) Redirects (Status301MovedPermanently) to the specified pageName.
(Унаследован от ControllerBase)
RedirectToPagePermanent(String, Object) Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues.
(Унаследован от ControllerBase)
RedirectToPagePermanent(String, String) Redirects (Status301MovedPermanently) to the specified pageName using the specified pageHandler.
(Унаследован от ControllerBase)
RedirectToPagePermanent(String, String, String) Redirects (Status301MovedPermanently) to the specified pageName using the specified fragment.
(Унаследован от ControllerBase)
RedirectToPagePermanent(String, String, Object, String) Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues and fragment.
(Унаследован от ControllerBase)
RedirectToPagePermanentPreserveMethod Redirects (Status308PermanentRedirect) to the specified route with Permanent set to true and PreserveMethod set to true, using the specified pageName, routeValues, and fragment.
(Унаследован от ControllerBase)
RedirectToPagePreserveMethod Redirects (Status307TemporaryRedirect) to the specified page with Permanent set to false and PreserveMethod set to true, using the specified pageName, routeValues, and fragment.
(Унаследован от ControllerBase)
RedirectToRoute(Object) Redirects (Status302Found) to the specified route using the specified routeValues.
(Унаследован от ControllerBase)
RedirectToRoute(String) Redirects (Status302Found) to the specified route using the specified routeName.
(Унаследован от ControllerBase)
RedirectToRoute(String, Object) Redirects (Status302Found) to the specified route using the specified routeName and routeValues.
(Унаследован от ControllerBase)
RedirectToRoute(String, String) Redirects (Status302Found) to the specified route using the specified routeName and fragment.
(Унаследован от ControllerBase)
RedirectToRoute(String, Object, String) Redirects (Status302Found) to the specified route using the specified routeName, routeValues, and fragment.
(Унаследован от ControllerBase)
RedirectToRoutePermanent(Object) Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeValues.
(Унаследован от ControllerBase)
RedirectToRoutePermanent(String) Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeName.
(Унаследован от ControllerBase)
RedirectToRoutePermanent(String, Object) Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeName and routeValues.
(Унаследован от ControllerBase)
RedirectToRoutePermanent(String, String) Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeName and fragment.
(Унаследован от ControllerBase)
RedirectToRoutePermanent(String, Object, String) Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeName, routeValues, and fragment.
(Унаследован от ControllerBase)
RedirectToRoutePermanentPreserveMethod Redirects (Status308PermanentRedirect) to the specified route with Permanent set to true and PreserveMethod set to true, using the specified routeName, routeValues, and fragment.
(Унаследован от ControllerBase)
RedirectToRoutePreserveMethod Redirects (Status307TemporaryRedirect) to the specified route with Permanent set to false and PreserveMethod set to true, using the specified routeName, routeValues, and fragment.
(Унаследован от ControllerBase)
SignIn(ClaimsPrincipal) Creates a SignInResult.
(Унаследован от ControllerBase)
SignIn(ClaimsPrincipal, AuthenticationProperties) Creates a SignInResult with properties.
(Унаследован от ControllerBase)
SignIn(ClaimsPrincipal, String) Creates a SignInResult with the specified authentication scheme.
(Унаследован от ControllerBase)
SignIn(ClaimsPrincipal, AuthenticationProperties, String) Creates a SignInResult with the specified authentication scheme and properties.
(Унаследован от ControllerBase)
SignOut Creates a SignOutResult.
(Унаследован от ControllerBase)
SignOut(AuthenticationProperties) Creates a SignOutResult with properties.
(Унаследован от ControllerBase)
SignOut(String) Creates a SignOutResult with the specified authentication schemes.
(Унаследован от ControllerBase)
SignOut(AuthenticationProperties, String) Creates a SignOutResult with the specified authentication schemes and properties.
(Унаследован от ControllerBase)
StatusCode(Int32) Creates a StatusCodeResult object by specifying a statusCode.
(Унаследован от ControllerBase)
StatusCode(Int32, Object) Creates a ObjectResult object by specifying a statusCode and value
(Унаследован от ControllerBase)
TryUpdateModelAsync(Void, Boolean, Object)
(Унаследован от ControllerBase)
TryUpdateModelAsync(Void, Boolean, Object, Type, String)
(Унаследован от ControllerBase)
TryUpdateModelAsync``1(Void)
(Унаследован от ControllerBase)
TryUpdateModelAsync``1(Void, Boolean)
(Унаследован от ControllerBase)
TryUpdateModelAsync``1(Void, Boolean, UMP)
(Унаследован от ControllerBase)
TryUpdateModelAsync``1(Void, Boolean, UMP, String)
(Унаследован от ControllerBase)
TryValidateModel(Object) Validates the specified model instance.
(Унаследован от ControllerBase)
TryValidateModel(Object, String) Validates the specified model instance.
(Унаследован от ControllerBase)
Unauthorized Creates an UnauthorizedResult that produces an Status401Unauthorized response.
(Унаследован от ControllerBase)
Unauthorized(Object) Creates an UnauthorizedObjectResult that produces a Status401Unauthorized response.
(Унаследован от ControllerBase)
UnprocessableEntity Creates an UnprocessableEntityResult that produces a Status422UnprocessableEntity response.
(Унаследован от ControllerBase)
UnprocessableEntity(ModelStateDictionary) Creates an UnprocessableEntityObjectResult that produces a Status422UnprocessableEntity response.
(Унаследован от ControllerBase)
UnprocessableEntity(Object) Creates an UnprocessableEntityObjectResult that produces a Status422UnprocessableEntity response.
(Унаследован от ControllerBase)
ValidationProblem Creates an ActionResult that produces a Status400BadRequest response with validation errors from ModelState.
(Унаследован от ControllerBase)
ValidationProblem(ModelStateDictionary) Creates an ActionResult that produces a Status400BadRequest response with validation errors from modelStateDictionary.
(Унаследован от ControllerBase)
ValidationProblem(ValidationProblemDetails) Creates an BadRequestObjectResult that produces a Status400BadRequest response.
(Унаследован от ControllerBase)
[M:Microsoft.AspNetCore.Mvc.ControllerBase.ValidationProblem(System.String,System.String,System.Nullable`1,System.Void,System.Int32,System.String)]
(Унаследован от ControllerBase)
View Creates a ViewResult object that renders a view to the response.
(Унаследован от Controller)
View(Object) Creates a ViewResult object by specifying a model to be rendered by the view.
(Унаследован от Controller)
View(String) Creates a ViewResult object by specifying a viewName.
(Унаследован от Controller)
View(String, Object) Creates a ViewResult object by specifying a viewName and the model to be rendered by the view.
(Унаследован от Controller)
ViewComponent(String) Creates a ViewComponentResult by specifying the name of a view component to render.
(Унаследован от Controller)
ViewComponent(Type) Creates a ViewComponentResult by specifying the Type of a view component to render.
(Унаследован от Controller)
ViewComponent(String, Object) Creates a ViewComponentResult by specifying the name of a view component to render.
(Унаследован от Controller)
ViewComponent(Type, Object) Creates a ViewComponentResult by specifying the Type of a view component to render.
(Унаследован от Controller)

Методы расширения

BinaryStream
(Определяется WebExtensions)
ErrorView Creates ViewResult object to show web client error page. Return it from controller method to navigate to error page.
(Определяется WebExtensions)
ErrorView Creates ViewResult object to show web client error page. Return it from controller method to navigate to error page.
(Определяется WebExtensions)
ErrorView Creates ViewResult object to show web client error page. Return it from controller method to navigate to error page.
(Определяется WebExtensions)
Multipart
(Определяется WebExtensions)
TypedJsonAsync
(Определяется WebExtensions)

См. также