Controller 클래스

정의

뷰가 지원되는 MVC 컨트롤러의 기본 클래스입니다.

public ref class Controller abstract : Microsoft::AspNetCore::Mvc::ControllerBase, IDisposable, Microsoft::AspNetCore::Mvc::Filters::IActionFilter, Microsoft::AspNetCore::Mvc::Filters::IAsyncActionFilter
public abstract class Controller : Microsoft.AspNetCore.Mvc.ControllerBase, IDisposable, Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter
type Controller = class
    inherit ControllerBase
    interface IActionFilter
    interface IFilterMetadata
    interface IAsyncActionFilter
    interface IDisposable
Public MustInherit Class Controller
Inherits ControllerBase
Implements IActionFilter, IAsyncActionFilter, IDisposable
상속
Controller
구현

생성자

Controller()

뷰가 지원되는 MVC 컨트롤러의 기본 클래스입니다.

속성

ControllerContext

ControllerContext를 가져오거나 설정합니다.

(다음에서 상속됨 ControllerBase)
HttpContext

HttpContext 실행 중인 작업에 대한 을 가져옵니다.

(다음에서 상속됨 ControllerBase)
MetadataProvider

IModelMetadataProvider를 가져오거나 설정합니다.

(다음에서 상속됨 ControllerBase)
ModelBinderFactory

IModelBinderFactory를 가져오거나 설정합니다.

(다음에서 상속됨 ControllerBase)
ModelState

ModelStateDictionary 모델 상태와 모델 바인딩 유효성 검사의 상태를 포함하는 을 가져옵니다.

(다음에서 상속됨 ControllerBase)
ObjectValidator

IObjectModelValidator를 가져오거나 설정합니다.

(다음에서 상속됨 ControllerBase)
ProblemDetailsFactory

ProblemDetailsFactory를 가져오거나 설정합니다.

(다음에서 상속됨 ControllerBase)
Request

HttpRequest 실행 중인 작업에 대한 를 가져옵니다.

(다음에서 상속됨 ControllerBase)
Response

HttpResponse 실행 중인 작업에 대한 를 가져옵니다.

(다음에서 상속됨 ControllerBase)
RouteData

RouteData 실행 중인 작업에 대한 를 가져옵니다.

(다음에서 상속됨 ControllerBase)
TempData

에서 사용하는 집합을 ViewResult가져오거나 설정합니다ITempDataDictionary.

Url

IUrlHelper를 가져오거나 설정합니다.

(다음에서 상속됨 ControllerBase)
User

ClaimsPrincipal 실행 중인 작업과 연결된 사용자의 를 가져옵니다.

(다음에서 상속됨 ControllerBase)
ViewBag

동적 뷰 모음을 가져옵니다.

ViewData

ViewBag에서 사용하는 집합을 ViewResult 가져오거나 설정합니다ViewDataDictionary.

메서드

Accepted()

AcceptedResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
Accepted(Object)

AcceptedResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
Accepted(String)

AcceptedResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
Accepted(String, Object)

AcceptedResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
Accepted(Uri)

AcceptedResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
Accepted(Uri, Object)

AcceptedResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtAction(String)

AcceptedAtActionResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtAction(String, Object)

AcceptedAtActionResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtAction(String, Object, Object)

AcceptedAtActionResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtAction(String, String)

AcceptedAtActionResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtAction(String, String, Object)

AcceptedAtActionResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtAction(String, String, Object, Object)

AcceptedAtActionResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtRoute(Object)

AcceptedAtRouteResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtRoute(Object, Object)

AcceptedAtRouteResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtRoute(String)

AcceptedAtRouteResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtRoute(String, Object)

AcceptedAtRouteResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
AcceptedAtRoute(String, Object, Object)

AcceptedAtRouteResult 응답을 생성하는 개체를 Status202Accepted 만듭니다.

(다음에서 상속됨 ControllerBase)
BadRequest()

BadRequestResult 응답을 생성하는 을 Status400BadRequest 만듭니다.

(다음에서 상속됨 ControllerBase)
BadRequest(ModelStateDictionary)

BadRequestObjectResult 응답을 생성하는 을 Status400BadRequest 만듭니다.

(다음에서 상속됨 ControllerBase)
BadRequest(Object)

BadRequestObjectResult 응답을 생성하는 을 Status400BadRequest 만듭니다.

(다음에서 상속됨 ControllerBase)
Challenge()

ChallengeResult을 만듭니다.

(다음에서 상속됨 ControllerBase)
Challenge(AuthenticationProperties)

지정된 를 사용하여 ChallengeResultproperties만듭니다.

(다음에서 상속됨 ControllerBase)
Challenge(AuthenticationProperties)

지정된 를 사용하여 ChallengeResultproperties만듭니다.

(다음에서 상속됨 ControllerBase)
Challenge(AuthenticationProperties, String[])

ChallengeResult 지정된 인증 체계 및 properties를 사용하여 을 만듭니다.

(다음에서 상속됨 ControllerBase)
Challenge(AuthenticationProperties, String[])

ChallengeResult 지정된 인증 체계 및 를 사용하여 을 만듭니다properties.

(다음에서 상속됨 ControllerBase)
Challenge(String[])

ChallengeResult 지정된 인증 체계를 사용하여 을 만듭니다.

(다음에서 상속됨 ControllerBase)
Conflict()

ConflictResult 응답을 생성하는 을 Status409Conflict 만듭니다.

(다음에서 상속됨 ControllerBase)
Conflict(ModelStateDictionary)

ConflictObjectResult 응답을 생성하는 을 Status409Conflict 만듭니다.

(다음에서 상속됨 ControllerBase)
Conflict(Object)

ConflictObjectResult 응답을 생성하는 을 Status409Conflict 만듭니다.

(다음에서 상속됨 ControllerBase)
Content(String)

문자열을 ContentResult 지정하여 개체를 content 만듭니다.

(다음에서 상속됨 ControllerBase)
Content(String, MediaTypeHeaderValue)

문자열과 를 ContentResult 지정하여 개체를 contentcontentType만듭니다.

(다음에서 상속됨 ControllerBase)
Content(String, String)

ContentResult 문자열 및 콘텐츠 형식을 content 지정하여 개체를 만듭니다.

(다음에서 상속됨 ControllerBase)
Content(String, String, Encoding)

문자열, ContentResultcontentEncoding를 지정하여 content 개체를 contentType만듭니다.

(다음에서 상속됨 ControllerBase)
Created()

CreatedResult 응답을 생성하는 개체를 Status201Created 만듭니다.

(다음에서 상속됨 ControllerBase)
Created(String, Object)

CreatedResult 응답을 생성하는 개체를 Status201Created 만듭니다.

(다음에서 상속됨 ControllerBase)
Created(Uri, Object)

CreatedResult 응답을 생성하는 개체를 Status201Created 만듭니다.

(다음에서 상속됨 ControllerBase)
CreatedAtAction(String, Object)

CreatedAtActionResult 응답을 생성하는 개체를 Status201Created 만듭니다.

(다음에서 상속됨 ControllerBase)
CreatedAtAction(String, Object, Object)

CreatedAtActionResult 응답을 생성하는 개체를 Status201Created 만듭니다.

(다음에서 상속됨 ControllerBase)
CreatedAtAction(String, String, Object, Object)

CreatedAtActionResult 응답을 생성하는 개체를 Status201Created 만듭니다.

(다음에서 상속됨 ControllerBase)
CreatedAtRoute(Object, Object)

CreatedAtRouteResult 응답을 생성하는 개체를 Status201Created 만듭니다.

(다음에서 상속됨 ControllerBase)
CreatedAtRoute(String, Object)

CreatedAtRouteResult 응답을 생성하는 개체를 Status201Created 만듭니다.

(다음에서 상속됨 ControllerBase)
CreatedAtRoute(String, Object, Object)

CreatedAtRouteResult 응답을 생성하는 개체를 Status201Created 만듭니다.

(다음에서 상속됨 ControllerBase)
Dispose()

뷰가 지원되는 MVC 컨트롤러의 기본 클래스입니다.

Dispose(Boolean)

Controller instance 현재 사용되는 모든 리소스를 해제합니다.

File(Byte[], String)

가 콘텐츠(Status200OK)로 지정되고 fileContents 가 Content-Type으로 지정된 contentType 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Byte[], String, Boolean)

가 콘텐츠(Status200OK)로 지정되고 fileContents 가 Content-Type으로 지정된 contentType 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Byte[], String, Nullable<DateTimeOffset>, EntityTagHeaderValue)

가 콘텐츠(Status200OK)로 지정되고 fileContents 가 Content-Type으로 지정된 contentType 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Byte[], String, Nullable<DateTimeOffset>, EntityTagHeaderValue, Boolean)

가 콘텐츠(Status200OK)로 지정되고 fileContents 가 Content-Type으로 지정된 contentType 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Byte[], String, String)

가 콘텐츠(Status200OK)로 지정되고 fileContents 가 Content-Type으로 지정되고 contentType 가 제안된 파일 이름으로 지정된 fileDownloadName 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Byte[], String, String, Boolean)

가 콘텐츠(Status200OK)로 지정되고 fileContents 가 Content-Type으로 지정되고 contentType 가 제안된 파일 이름으로 지정된 fileDownloadName 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Byte[], String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue)

가 콘텐츠(Status200OK), Content-Type으로 지정된 contentType 및 제안된 파일 fileContents 이름으로 지정된 fileDownloadName 가 있는 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Byte[], String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue, Boolean)

가 콘텐츠(Status200OK), Content-Type으로 지정된 contentType 및 제안된 파일 fileContents 이름으로 지정된 fileDownloadName 가 있는 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Stream, String)

가 Content-Type으로 지정된 fileStreamStatus200OKcontentType 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Stream, String, Boolean)

가 Content-Type으로 지정된 fileStreamStatus200OKcontentType 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Stream, String, Nullable<DateTimeOffset>, EntityTagHeaderValue)

지정된 fileStream (Status200OK)의 파일과 Content-Type으로 지정된 contentType 을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Stream, String, Nullable<DateTimeOffset>, EntityTagHeaderValue, Boolean)

지정된 fileStream (Status200OK)의 파일과 Content-Type으로 지정된 contentType 을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Stream, String, String)

가 Content-Type으로 지정되고 이 fileStream 제안된 파일 이름으로 지정된 contentTypefileDownloadName 가 있는 지정된 (Status200OK)의 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Stream, String, String, Boolean)

가 Content-Type으로 지정되고 이 fileStream 제안된 파일 이름으로 지정된 contentTypefileDownloadName 가 있는 지정된 (Status200OK)의 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Stream, String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue)

지정된 fileStream (Status200OK), Content-Type으로 지정된 contentType 및 제안된 파일 이름으로 지정된 fileDownloadName 의 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(Stream, String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue, Boolean)

지정된 fileStream (Status200OK), Content-Type으로 지정된 contentType 및 제안된 파일 이름으로 지정된 fileDownloadName 의 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(String, String)

가 Content-Type으로 지정된 virtualPath (Status200OK)로 지정된 contentType 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(String, String, Boolean)

가 Content-Type으로 지정된 virtualPath (Status200OK)로 지정된 contentType 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue)

(Status200OK)로 virtualPath 지정된 파일과 Content-Type으로 지정된 contentType 를 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue, Boolean)

(Status200OK)로 virtualPath 지정된 파일과 Content-Type으로 지정된 contentType 를 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(String, String, String)

가 Content-Type으로 지정 virtualPathcontentType 되고 이 제안된 파일 이름으로 지정된 (Status200OK)로 지정된 fileDownloadName 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(String, String, String, Boolean)

가 Content-Type으로 지정 virtualPathcontentType 되고 이 제안된 파일 이름으로 지정된 (Status200OK)로 지정된 fileDownloadName 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(String, String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue)

()로 virtualPath 지정된 파일, Content-Type으로 지정된 contentType 및 제안된 파일 이름으로 지정된 fileDownloadName 을 반환Status200OK합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
File(String, String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue, Boolean)

()로 virtualPath 지정된 파일, Content-Type으로 지정된 contentType 및 제안된 파일 이름으로 지정된 fileDownloadName 을 반환Status200OK합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
Forbid()

(Status403Forbidden기본적으로)을 ForbidResult 만듭니다.

(다음에서 상속됨 ControllerBase)
Forbid(AuthenticationProperties)

지정된 를 사용하여 ForbidResult (Status403Forbidden 기본적으로)를 properties만듭니다.

(다음에서 상속됨 ControllerBase)
Forbid(AuthenticationProperties)

지정된 를 사용하여 ForbidResultproperties만듭니다.

(다음에서 상속됨 ControllerBase)
Forbid(AuthenticationProperties, String[])

ForbidResult 지정된 인증 체계 및 properties를 사용하여 (Status403Forbidden기본적으로)를 만듭니다.

(다음에서 상속됨 ControllerBase)
Forbid(AuthenticationProperties, String[])

ForbidResult 지정된 인증 체계 및 properties를 사용하여 을 만듭니다.

(다음에서 상속됨 ControllerBase)
Forbid(String[])

지정된 인증 체계를 사용하여 ForbidResult (Status403Forbidden 기본적으로)를 만듭니다.

(다음에서 상속됨 ControllerBase)
Json(Object)

지정된 data 개체를 JsonResult JSON으로 직렬화하는 개체를 만듭니다.

Json(Object, JsonSerializerSettings)

지정된 data 개체를 JsonResult JSON으로 직렬화하는 개체를 만듭니다.

Json(Object, Object)

지정된 data 개체를 JsonResult JSON으로 직렬화하는 개체를 만듭니다.

LocalRedirect(String)

(Status302Found)를 LocalRedirectResult 지정된 로컬 localUrl로 리디렉션하는 개체를 만듭니다.

(다음에서 상속됨 ControllerBase)
LocalRedirectPermanent(String)

지정된 를 LocalRedirectResult 사용하여 true(Status301MovedPermanently)로 Permanent 설정된 개체를 localUrl만듭니다.

(다음에서 상속됨 ControllerBase)
LocalRedirectPermanentPreserveMethod(String)

를 true로 Permanent 설정하고 지정된 를 LocalRedirectResult 사용하여 truePreserveMethod(Status308PermanentRedirect)로 설정된 개체를 localUrl만듭니다.

(다음에서 상속됨 ControllerBase)
LocalRedirectPreserveMethod(String)

지정된 를 LocalRedirectResult 사용하여 false PreserveMethodPermanent 설정하고 true(Status307TemporaryRedirect)로 설정된 개체를 localUrl만듭니다.

(다음에서 상속됨 ControllerBase)
NoContent()

NoContentResultStatus204NoContent 응답을 생성하는 개체를 만듭니다.

(다음에서 상속됨 ControllerBase)
NotFound()

NotFoundResult 응답을 생성하는 을 Status404NotFound 만듭니다.

(다음에서 상속됨 ControllerBase)
NotFound(Object)

NotFoundObjectResult 응답을 생성하는 을 Status404NotFound 만듭니다.

(다음에서 상속됨 ControllerBase)
Ok()

OkResultStatus200OK 응답을 생성하는 개체를 만듭니다.

(다음에서 상속됨 ControllerBase)
Ok(Object)

OkObjectResult 응답을 생성하는 개체를 Status200OK 만듭니다.

(다음에서 상속됨 ControllerBase)
OnActionExecuted(ActionExecutedContext)

동작 메서드가 호출된 후 호출됩니다.

OnActionExecuting(ActionExecutingContext)

동작 메서드가 호출되기 전에 호출됩니다.

OnActionExecutionAsync(ActionExecutingContext, ActionExecutionDelegate)

동작 메서드가 호출되기 전에 호출됩니다.

PartialView()

응답에 PartialViewResult 부분 보기를 렌더링하는 개체를 만듭니다.

PartialView(Object)

부분 보기에서 PartialViewResult 렌더링할 를 model 지정하여 개체를 만듭니다.

PartialView(String)

PartialViewResult 지정하여 개체를 만듭니다 viewName.

PartialView(String, Object)

부분 보기에서 PartialViewResult 렌더링할 및 model 을 지정하여 viewName 개체를 만듭니다.

PhysicalFile(String, String)

가 Content-Type으로 지정된 physicalPath (Status200OK)로 지정된 contentType 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
PhysicalFile(String, String, Boolean)

가 Content-Type으로 지정된 physicalPath (Status200OK)로 지정된 contentType 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
PhysicalFile(String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue)

(Status200OK)로 physicalPath 지정된 파일과 Content-Type으로 지정된 contentType 를 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
PhysicalFile(String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue, Boolean)

(Status200OK)로 physicalPath 지정된 파일과 Content-Type으로 지정된 contentType 를 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
PhysicalFile(String, String, String)

가 Content-Type으로 지정 physicalPathcontentType 되고 이 제안된 파일 이름으로 지정된 (Status200OK)로 지정된 fileDownloadName 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
PhysicalFile(String, String, String, Boolean)

가 Content-Type으로 지정 physicalPathcontentType 되고 이 제안된 파일 이름으로 지정된 (Status200OK)로 지정된 fileDownloadName 파일을 반환합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
PhysicalFile(String, String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue)

()로 physicalPath 지정된 파일, Content-Type으로 지정된 contentType 및 제안된 파일 이름으로 지정된 fileDownloadName 을 반환Status200OK합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
PhysicalFile(String, String, String, Nullable<DateTimeOffset>, EntityTagHeaderValue, Boolean)

()로 physicalPath 지정된 파일, Content-Type으로 지정된 contentType 및 제안된 파일 이름으로 지정된 fileDownloadName 을 반환Status200OK합니다. 범위 요청(Status206PartialContent 또는 Status416RangeNotSatisfiable 범위가 만족스럽지 않은 경우)을 지원합니다.

(다음에서 상속됨 ControllerBase)
Problem(String, String, Nullable<Int32>, String, String)

ObjectResult 응답을 생성하는 을 ProblemDetails 만듭니다.

(다음에서 상속됨 ControllerBase)
Redirect(String)

지정된 urlRedirectResult 리디렉션(Status302Found)하는 개체를 만듭니다.

(다음에서 상속됨 ControllerBase)
RedirectPermanent(String)

지정된 를 RedirectResult 사용하여 true(Status301MovedPermanently)로 Permanent 설정된 개체를 url만듭니다.

(다음에서 상속됨 ControllerBase)
RedirectPermanentPreserveMethod(String)

를 true로 Permanent 설정하고 지정된 를 RedirectResult 사용하여 truePreserveMethod(Status308PermanentRedirect)로 설정된 개체를 url만듭니다.

(다음에서 상속됨 ControllerBase)
RedirectPreserveMethod(String)

지정된 를 RedirectResult 사용하여 false PreserveMethodPermanent 설정하고 true(Status307TemporaryRedirect)로 설정된 개체를 url만듭니다.

(다음에서 상속됨 ControllerBase)
RedirectToAction()

(Status302Found)를 현재 작업과 동일한 이름의 작업으로 리디렉션합니다. 'controller' 및 'action' 이름은 현재 요청의 앰비언트 값에서 검색됩니다.

(다음에서 상속됨 ControllerBase)
RedirectToAction(String)

를 사용하여 지정된 작업으로 (Status302Found)를 리디렉션합니다 actionName.

(다음에서 상속됨 ControllerBase)
RedirectToAction(String, Object)

routeValues를 사용하여 지정된 작업으로 (Status302Found)를 리디렉션합니다actionName.

(다음에서 상속됨 ControllerBase)
RedirectToAction(String, String)

및 를 사용하여 지정된 작업으로 (Status302Found)를 actionName 리디렉션합니다 controllerName.

(다음에서 상속됨 ControllerBase)
RedirectToAction(String, String, Object)

지정된 , controllerNamerouteValues를 사용하여 지정된 작업으로 (Status302Found)를 actionName리디렉션합니다.

(다음에서 상속됨 ControllerBase)
RedirectToAction(String, String, Object, String)

지정된 , , routeValuescontrollerNamefragment를 사용하여 지정된 작업으로 (Status302Found)를 actionName리디렉션합니다.

(다음에서 상속됨 ControllerBase)
RedirectToAction(String, String, String)

지정된 , controllerNamefragment를 사용하여 지정된 작업으로 (Status302Found)를 actionName리디렉션합니다.

(다음에서 상속됨 ControllerBase)
RedirectToActionPermanent(String)

지정된 를 사용하여 actionName(Status301MovedPermanently)를 true로 설정된 지정된 작업으로 Permanent 리디렉션합니다.

(다음에서 상속됨 ControllerBase)
RedirectToActionPermanent(String, Object)

지정된 및 routeValues를 사용하여 true로 설정된 지정된 작업으로 Permanent 리디렉션(Status301MovedPermanently)합니다actionName.

(다음에서 상속됨 ControllerBase)
RedirectToActionPermanent(String, String)

지정된 및 controllerName를 사용하여 true로 설정된 지정된 작업으로 Permanent 리디렉션(Status301MovedPermanently)합니다actionName.

(다음에서 상속됨 ControllerBase)
RedirectToActionPermanent(String, String, Object)

지정된 , controllerNamerouteValues를 사용하여 actionNametrue로 설정된 지정된 작업으로 Permanent 리디렉션(Status301MovedPermanently)합니다.

(다음에서 상속됨 ControllerBase)
RedirectToActionPermanent(String, String, Object, String)

지정된 , , 및 fragment를 사용하여 actionNametrue로 설정된 지정된 작업으로 Permanent 리디렉션(Status301MovedPermanently)routeValues합니다. controllerName

(다음에서 상속됨 ControllerBase)
RedirectToActionPermanent(String, String, String)

지정된 , controllerNamefragment를 사용하여 actionNametrue로 설정된 지정된 작업으로 Permanent 리디렉션(Status301MovedPermanently)합니다.

(다음에서 상속됨 ControllerBase)
RedirectToActionPermanentPreserveMethod(String, String, Object, String)

지정된 , , 및 를 사용하여 true로 설정된 지정된 작업으로 Permanent 리디렉션Status308PermanentRedirect하고 PreserveMethod true로 actionName설정합니다.fragmentrouteValuescontrollerName

(다음에서 상속됨 ControllerBase)
RedirectToActionPreserveMethod(String, String, Object, String)

지정된 , , 및 를 사용하여 false로 설정된 지정된 작업으로 Permanent 리디렉션Status307TemporaryRedirect하고 PreserveMethod true로 actionName설정합니다.fragmentrouteValuescontrollerName

(다음에서 상속됨 ControllerBase)
RedirectToPage(String)

(Status302Found)를 지정된 pageName로 리디렉션합니다.

(다음에서 상속됨 ControllerBase)
RedirectToPage(String, Object)

지정된 를 사용하여 지정된 로 리디렉션(Status302Found)합니다routeValues.pageName

(다음에서 상속됨 ControllerBase)
RedirectToPage(String, String)

지정된 를 사용하여 지정된 로 리디렉션(Status302Found)합니다pageHandler.pageName

(다음에서 상속됨 ControllerBase)
RedirectToPage(String, String, Object)

(Status302Found)를 지정된 pageName로 리디렉션합니다.

(다음에서 상속됨 ControllerBase)
RedirectToPage(String, String, Object, String)

지정된 및 fragment를 사용하여 지정된 로 pageName 리디렉션(Status302Found)합니다routeValues.

(다음에서 상속됨 ControllerBase)
RedirectToPage(String, String, String)

지정된 를 사용하여 지정된 로 리디렉션(Status302Found)합니다fragment.pageName

(다음에서 상속됨 ControllerBase)
RedirectToPagePermanent(String)

(Status301MovedPermanently)를 지정된 pageName로 리디렉션합니다.

(다음에서 상속됨 ControllerBase)
RedirectToPagePermanent(String, Object)

지정된 를 사용하여 지정된 로 리디렉션(Status301MovedPermanently)합니다routeValues.pageName

(다음에서 상속됨 ControllerBase)
RedirectToPagePermanent(String, String)

지정된 를 사용하여 지정된 로 리디렉션(Status301MovedPermanently)합니다pageHandler.pageName

(다음에서 상속됨 ControllerBase)
RedirectToPagePermanent(String, String, Object, String)

지정된 및 fragment를 사용하여 지정된 로 pageName 리디렉션(Status301MovedPermanently)합니다routeValues.

(다음에서 상속됨 ControllerBase)
RedirectToPagePermanent(String, String, String)

지정된 를 사용하여 지정된 로 리디렉션(Status301MovedPermanently)합니다fragment.pageName

(다음에서 상속됨 ControllerBase)
RedirectToPagePermanentPreserveMethod(String, String, Object, String)

지정된 , routeValuesfragment를 사용하여 true로 설정된 지정된 경로로 Permanent 리디렉션Status308PermanentRedirect하고 PreserveMethod true로 pageName설정합니다.

(다음에서 상속됨 ControllerBase)
RedirectToPagePreserveMethod(String, String, Object, String)

지정된 , routeValuesfragment을 사용하여 false로 설정되고 PreserveMethod true로 Permanent 설정된 지정된 페이지로 pageName리디렉션Status307TemporaryRedirect()합니다.

(다음에서 상속됨 ControllerBase)
RedirectToRoute(Object)

지정된 를 사용하여 지정된 경로로 리디렉션(Status302Found)합니다 routeValues.

(다음에서 상속됨 ControllerBase)
RedirectToRoute(String)

지정된 를 사용하여 지정된 경로로 리디렉션(Status302Found)합니다 routeName.

(다음에서 상속됨 ControllerBase)
RedirectToRoute(String, Object)

지정된 및 를 사용하여 지정된 경로로 (Status302Found)를 routeName 리디렉션합니다 routeValues.

(다음에서 상속됨 ControllerBase)
RedirectToRoute(String, Object, String)

지정된 , routeValuesfragment를 사용하여 지정된 경로로 (Status302Found)를 routeName리디렉션합니다.

(다음에서 상속됨 ControllerBase)
RedirectToRoute(String, String)

지정된 및 를 사용하여 지정된 경로로 (Status302Found)를 routeName 리디렉션합니다 fragment.

(다음에서 상속됨 ControllerBase)
RedirectToRoutePermanent(Object)

지정된 를 사용하여 true로 설정된 지정된 경로로 리디렉션(Status301MovedPermanently)합니다routeValues.Permanent

(다음에서 상속됨 ControllerBase)
RedirectToRoutePermanent(String)

지정된 를 사용하여 true로 설정된 지정된 경로로 리디렉션(Status301MovedPermanently)합니다routeName.Permanent

(다음에서 상속됨 ControllerBase)
RedirectToRoutePermanent(String, Object)

지정된 및 routeValues를 사용하여 (Status301MovedPermanently)를 true로 Permanent 설정된 지정된 경로로 routeName 리디렉션합니다.

(다음에서 상속됨 ControllerBase)
RedirectToRoutePermanent(String, Object, String)

지정된 , 및 을 사용하여 (Status301MovedPermanently)를 true로 Permanent 설정된 지정된 경로로 routeName리디렉션합니다.fragmentrouteValues

(다음에서 상속됨 ControllerBase)
RedirectToRoutePermanent(String, String)

지정된 및 fragment를 사용하여 (Status301MovedPermanently)를 true로 Permanent 설정된 지정된 경로로 routeName 리디렉션합니다.

(다음에서 상속됨 ControllerBase)
RedirectToRoutePermanentPreserveMethod(String, Object, String)

지정된 , routeValuesfragment를 사용하여 true로 설정된 지정된 경로로 Permanent 리디렉션Status308PermanentRedirect하고 PreserveMethod true로 routeName설정합니다.

(다음에서 상속됨 ControllerBase)
RedirectToRoutePreserveMethod(String, Object, String)

지정된 , routeValuesfragment을 사용하여 false로 설정된 지정된 경로로 Permanent 리디렉션Status307TemporaryRedirect하고 PreserveMethod true로 routeName설정합니다.

(다음에서 상속됨 ControllerBase)
SignIn(ClaimsPrincipal)

SignInResult을 만듭니다.

(다음에서 상속됨 ControllerBase)
SignIn(ClaimsPrincipal, AuthenticationProperties)

를 사용하여 을 SignInResultproperties만듭니다.

(다음에서 상속됨 ControllerBase)
SignIn(ClaimsPrincipal, AuthenticationProperties, String)

SignInResult 지정된 인증 체계 properties및 를 사용하여 을 만듭니다.

(다음에서 상속됨 ControllerBase)
SignIn(ClaimsPrincipal, AuthenticationProperties, String)

SignInResult 지정된 인증 체계 및 properties를 사용하여 을 만듭니다.

(다음에서 상속됨 ControllerBase)
SignIn(ClaimsPrincipal, String)

SignInResult 지정된 인증 체계를 사용하여 을 만듭니다.

(다음에서 상속됨 ControllerBase)
SignOut()

SignOutResult을 만듭니다.

(다음에서 상속됨 ControllerBase)
SignOut(AuthenticationProperties)

를 사용하여 을 SignOutResultproperties만듭니다.

(다음에서 상속됨 ControllerBase)
SignOut(AuthenticationProperties, String[])

SignOutResult 지정된 인증 체계 및 를 사용하여 을 만듭니다properties.

(다음에서 상속됨 ControllerBase)
SignOut(AuthenticationProperties, String[])

SignOutResult 지정된 인증 체계 및 를 사용하여 을 만듭니다properties.

(다음에서 상속됨 ControllerBase)
SignOut(String[])

SignOutResult 지정된 인증 체계를 사용하여 을 만듭니다.

(다음에서 상속됨 ControllerBase)
StatusCode(Int32)

StatusCodeResult 지정하여 개체를 statusCode만듭니다.

(다음에서 상속됨 ControllerBase)
StatusCode(Int32, Object)

및 을 ObjectResult 지정하여 개체를 statusCode 만듭니다. value

(다음에서 상속됨 ControllerBase)
TryUpdateModelAsync(Object, Type, String)

컨트롤러의 현재 IValueProviderprefix의 값을 사용하여 지정된 model instance 업데이트.

(다음에서 상속됨 ControllerBase)
TryUpdateModelAsync(Object, Type, String, IValueProvider, Func<ModelMetadata,Boolean>)

prefix를 사용하여 valueProvider 지정된 model instance 업데이트.

(다음에서 상속됨 ControllerBase)
TryUpdateModelAsync<TModel>(TModel)

컨트롤러의 현재 IValueProvider의 값을 사용하여 지정된 model instance 업데이트.

(다음에서 상속됨 ControllerBase)
TryUpdateModelAsync<TModel>(TModel, String)

컨트롤러의 현재 IValueProviderprefix의 값을 사용하여 지정된 model instance 업데이트.

(다음에서 상속됨 ControllerBase)
TryUpdateModelAsync<TModel>(TModel, String, Expression<Func<TModel,Object>>[])

컨트롤러의 현재 IValueProviderprefix의 값을 사용하여 지정된 model instance 업데이트.

(다음에서 상속됨 ControllerBase)
TryUpdateModelAsync<TModel>(TModel, String, Func<ModelMetadata,Boolean>)

컨트롤러의 현재 IValueProviderprefix의 값을 사용하여 지정된 model instance 업데이트.

(다음에서 상속됨 ControllerBase)
TryUpdateModelAsync<TModel>(TModel, String, IValueProvider)

prefix를 사용하여 valueProvider 지정된 model instance 업데이트.

(다음에서 상속됨 ControllerBase)
TryUpdateModelAsync<TModel>(TModel, String, IValueProvider, Expression<Func<TModel,Object>>[])

prefix를 사용하여 valueProvider 지정된 model instance 업데이트.

(다음에서 상속됨 ControllerBase)
TryUpdateModelAsync<TModel>(TModel, String, IValueProvider, Func<ModelMetadata,Boolean>)

prefix를 사용하여 valueProvider 지정된 model instance 업데이트.

(다음에서 상속됨 ControllerBase)
TryValidateModel(Object)

지정된 instance 유효성을 model 검사합니다.

(다음에서 상속됨 ControllerBase)
TryValidateModel(Object, String)

지정된 instance 유효성을 model 검사합니다.

(다음에서 상속됨 ControllerBase)
Unauthorized()

UnauthorizedResult 응답을 생성하는 을 Status401Unauthorized 만듭니다.

(다음에서 상속됨 ControllerBase)
Unauthorized(Object)

UnauthorizedObjectResult 응답을 생성하는 를 Status401Unauthorized 만듭니다.

(다음에서 상속됨 ControllerBase)
UnprocessableEntity()

UnprocessableEntityResult 응답을 생성하는 를 Status422UnprocessableEntity 만듭니다.

(다음에서 상속됨 ControllerBase)
UnprocessableEntity(ModelStateDictionary)

UnprocessableEntityObjectResult 응답을 생성하는 를 Status422UnprocessableEntity 만듭니다.

(다음에서 상속됨 ControllerBase)
UnprocessableEntity(Object)

UnprocessableEntityObjectResult 응답을 생성하는 를 Status422UnprocessableEntity 만듭니다.

(다음에서 상속됨 ControllerBase)
ValidationProblem()

ActionResult 에서 유효성 검사 오류가 있는 Status400BadRequest 응답을 생성하는 을 ModelState만듭니다.

(다음에서 상속됨 ControllerBase)
ValidationProblem(ModelStateDictionary)

ActionResult 에서 유효성 검사 오류가 있는 Status400BadRequest 응답을 생성하는 을 modelStateDictionary만듭니다.

(다음에서 상속됨 ControllerBase)
ValidationProblem(String, String, Nullable<Int32>, String, String, ModelStateDictionary)

ActionResult 값을 사용하여 응답을 생성하는 Status400BadRequestValidationProblemDetails 만듭니다.

(다음에서 상속됨 ControllerBase)
ValidationProblem(ValidationProblemDetails)

BadRequestObjectResult 응답을 생성하는 를 Status400BadRequest 만듭니다.

(다음에서 상속됨 ControllerBase)
View()

뷰를 ViewResult 응답에 렌더링하는 개체를 만듭니다.

View(Object)

뷰에서 ViewResult 렌더링할 를 model 지정하여 개체를 만듭니다.

View(String)

ViewResult 지정하여 개체를 만듭니다 viewName.

View(String, Object)

뷰에서 ViewResult 렌더링할 및 modelviewName 지정하여 개체를 만듭니다.

ViewComponent(String)

렌더링할 ViewComponentResult 뷰 구성 요소의 이름을 지정하여 을 만듭니다.

ViewComponent(String, Object)

렌더링할 ViewComponentResult 뷰 구성 요소의 이름을 지정하여 을 만듭니다.

ViewComponent(Type)

렌더링할 ViewComponentResult 뷰 구성 요소의 를 지정하여 Type 을 만듭니다.

ViewComponent(Type, Object)

렌더링할 ViewComponentResult 뷰 구성 요소의 를 지정하여 Type 을 만듭니다.

적용 대상