New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ContentProviderController

Properties

ContentPath - String

Filter - String

ViewData - ViewDataDictionary

TempData - ITempDataDictionary

ViewBag - Object

HttpContext - HttpContext

Request - HttpRequest

Response - HttpResponse

RouteData - RouteData

ModelState - ModelStateDictionary

ControllerContext - ControllerContext

MetadataProvider - IModelMetadataProvider

ModelBinderFactory - IModelBinderFactory

Url - IUrlHelper

ObjectValidator - IObjectModelValidator

ProblemDetailsFactory - ProblemDetailsFactory

User - ClaimsPrincipal

Methods

Authorize(System.String)

Determines if content of a given path can be browsed.

Parameters

path - System.String

The path which will be browsed.

RETURNS

true if browsing is allowed, otherwise false.

Create(System.String,Kendo.Mvc.UI.FileManagerEntry)

Parameters

target - System.String
entry - FileManagerEntry

Destroy(Kendo.Mvc.UI.FileManagerEntry)

Parameters

entry - FileManagerEntry

Read(System.String)

Parameters

target - System.String

Update(System.String,Kendo.Mvc.UI.FileManagerEntry)

Updates an entry with a given entry.

Parameters

target - System.String
entry - FileManagerEntry

The entry.

RETURNS

An empty .

AuthorizeUpload(System.String,Microsoft.AspNetCore.Http.IFormFile)

Determines if a file can be uploaded to a given path.

Parameters

path - System.String

The path to which the file should be uploaded.

file - Microsoft.AspNetCore.Http.IFormFile

The path to which the file should be uploaded.

RETURNS

true if the upload is allowed, otherwise false.

Upload(System.String,Microsoft.AspNetCore.Http.IFormFile)

Uploads a file to a given path.

Parameters

path - System.String

The path to which the file should be uploaded.

file - Microsoft.AspNetCore.Http.IFormFile

The path to which the file should be uploaded.

RETURNS

A containing the uploaded file's size and name.

GetFileName(Microsoft.AspNetCore.Http.IFormFile)

Parameters

file - Microsoft.AspNetCore.Http.IFormFile

View()

View(System.String)

Parameters

viewName - System.String

View(System.Object)

Parameters

model - System.Object

View(System.String,System.Object)

Parameters

viewName - System.String
model - System.Object

PartialView()

PartialView(System.String)

Parameters

viewName - System.String

PartialView(System.Object)

Parameters

model - System.Object

PartialView(System.String,System.Object)

Parameters

viewName - System.String
model - System.Object

ViewComponent(System.String)

Parameters

componentName - System.String

ViewComponent(System.Type)

Parameters

componentType - System.Type

ViewComponent(System.String,System.Object)

Parameters

componentName - System.String
arguments - System.Object

ViewComponent(System.Type,System.Object)

Parameters

componentType - System.Type
arguments - System.Object

Json(System.Object)

Parameters

data - System.Object

Json(System.Object,System.Object)

Parameters

data - System.Object
serializerSettings - System.Object

OnActionExecuting(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext)

Parameters

context - Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext

OnActionExecuted(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext)

Parameters

context - Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext

OnActionExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext,Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate)

Parameters

context - Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext
next - Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate

Dispose()

Conflict(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

Problem(System.String,System.String,System.Nullable,System.String,System.String)

Parameters

detail - System.String
instance - System.String
statusCode - System.Nullable<Int32>
title - System.String
type - System.String

ValidationProblem(Microsoft.AspNetCore.Mvc.ValidationProblemDetails)

Parameters

descriptor - Microsoft.AspNetCore.Mvc.ValidationProblemDetails

ValidationProblem(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

modelStateDictionary - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

ValidationProblem()

ValidationProblem(System.String,System.String,System.Nullable,System.String,System.String,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

detail - System.String
instance - System.String
statusCode - System.Nullable<Int32>
title - System.String
type - System.String
modelStateDictionary - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

Created(System.String,System.Object)

Parameters

uri - System.String
value - System.Object

Created(System.Uri,System.Object)

Parameters

uri - System.Uri
value - System.Object

CreatedAtAction(System.String,System.Object)

Parameters

actionName - System.String
value - System.Object

CreatedAtAction(System.String,System.Object,System.Object)

Parameters

actionName - System.String
routeValues - System.Object
value - System.Object

CreatedAtAction(System.String,System.String,System.Object,System.Object)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Object
value - System.Object

CreatedAtRoute(System.String,System.Object)

Parameters

routeName - System.String
value - System.Object

CreatedAtRoute(System.Object,System.Object)

Parameters

routeValues - System.Object
value - System.Object

CreatedAtRoute(System.String,System.Object,System.Object)

Parameters

routeName - System.String
routeValues - System.Object
value - System.Object

Accepted()

Accepted(System.Object)

Parameters

value - System.Object

Accepted(System.Uri)

Parameters

uri - System.Uri

Accepted(System.String)

Parameters

uri - System.String

Accepted(System.String,System.Object)

Parameters

uri - System.String
value - System.Object

Accepted(System.Uri,System.Object)

Parameters

uri - System.Uri
value - System.Object

AcceptedAtAction(System.String)

Parameters

actionName - System.String

AcceptedAtAction(System.String,System.String)

Parameters

actionName - System.String
controllerName - System.String

AcceptedAtAction(System.String,System.Object)

Parameters

actionName - System.String
value - System.Object

AcceptedAtAction(System.String,System.String,System.Object)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Object

AcceptedAtAction(System.String,System.Object,System.Object)

Parameters

actionName - System.String
routeValues - System.Object
value - System.Object

AcceptedAtAction(System.String,System.String,System.Object,System.Object)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Object
value - System.Object

AcceptedAtRoute(System.Object)

Parameters

routeValues - System.Object

AcceptedAtRoute(System.String)

Parameters

routeName - System.String

AcceptedAtRoute(System.String,System.Object)

Parameters

routeName - System.String
routeValues - System.Object

AcceptedAtRoute(System.Object,System.Object)

Parameters

routeValues - System.Object
value - System.Object

AcceptedAtRoute(System.String,System.Object,System.Object)

Parameters

routeName - System.String
routeValues - System.Object
value - System.Object

Challenge()

Challenge(System.String[])

Parameters

authenticationSchemes - System.String[]

Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties)

Parameters

properties - Microsoft.AspNetCore.Authentication.AuthenticationProperties

Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties,System.String[])

Parameters

properties - Microsoft.AspNetCore.Authentication.AuthenticationProperties
authenticationSchemes - System.String[]

Forbid()

Forbid(System.String[])

Parameters

authenticationSchemes - System.String[]

Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties)

Parameters

properties - Microsoft.AspNetCore.Authentication.AuthenticationProperties

Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties,System.String[])

Parameters

properties - Microsoft.AspNetCore.Authentication.AuthenticationProperties
authenticationSchemes - System.String[]

SignIn(System.Security.Claims.ClaimsPrincipal)

Parameters

principal - System.Security.Claims.ClaimsPrincipal

SignIn(System.Security.Claims.ClaimsPrincipal,System.String)

Parameters

principal - System.Security.Claims.ClaimsPrincipal
authenticationScheme - System.String

SignIn(System.Security.Claims.ClaimsPrincipal,Microsoft.AspNetCore.Authentication.AuthenticationProperties)

Parameters

principal - System.Security.Claims.ClaimsPrincipal
properties - Microsoft.AspNetCore.Authentication.AuthenticationProperties

SignIn(System.Security.Claims.ClaimsPrincipal,Microsoft.AspNetCore.Authentication.AuthenticationProperties,System.String)

Parameters

principal - System.Security.Claims.ClaimsPrincipal
properties - Microsoft.AspNetCore.Authentication.AuthenticationProperties
authenticationScheme - System.String

SignOut()

SignOut(Microsoft.AspNetCore.Authentication.AuthenticationProperties)

Parameters

properties - Microsoft.AspNetCore.Authentication.AuthenticationProperties

SignOut(System.String[])

Parameters

authenticationSchemes - System.String[]

SignOut(Microsoft.AspNetCore.Authentication.AuthenticationProperties,System.String[])

Parameters

properties - Microsoft.AspNetCore.Authentication.AuthenticationProperties
authenticationSchemes - System.String[]

TryUpdateModelAsync(Microsoft.AspNetCore.Mvc.TModel)

Parameters

model - Microsoft.AspNetCore.Mvc.TModel

TryUpdateModelAsync(Microsoft.AspNetCore.Mvc.TModel,System.String)

Parameters

model - Microsoft.AspNetCore.Mvc.TModel
prefix - System.String

TryUpdateModelAsync(Microsoft.AspNetCore.Mvc.TModel,System.String,Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider)

Parameters

model - Microsoft.AspNetCore.Mvc.TModel
prefix - System.String
valueProvider - Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider

TryUpdateModelAsync(Microsoft.AspNetCore.Mvc.TModel,System.String,System.Linq.Expressions.Expression[])

Parameters

model - Microsoft.AspNetCore.Mvc.TModel
prefix - System.String
includeExpressions - System.Linq.Expressions.Expression1[]`

TryUpdateModelAsync(Microsoft.AspNetCore.Mvc.TModel,System.String,System.Func)

Parameters

model - Microsoft.AspNetCore.Mvc.TModel
prefix - System.String
propertyFilter - System.Func<ModelMetadata,Boolean>

TryUpdateModelAsync(Microsoft.AspNetCore.Mvc.TModel,System.String,Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider,System.Linq.Expressions.Expression[])

Parameters

model - Microsoft.AspNetCore.Mvc.TModel
prefix - System.String
valueProvider - Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider
includeExpressions - System.Linq.Expressions.Expression1[]`

TryUpdateModelAsync(Microsoft.AspNetCore.Mvc.TModel,System.String,Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider,System.Func)

Parameters

model - Microsoft.AspNetCore.Mvc.TModel
prefix - System.String
valueProvider - Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider
propertyFilter - System.Func<ModelMetadata,Boolean>

TryUpdateModelAsync(System.Object,System.Type,System.String)

Parameters

model - System.Object
modelType - System.Type
prefix - System.String

TryUpdateModelAsync(System.Object,System.Type,System.String,Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider,System.Func)

Parameters

model - System.Object
modelType - System.Type
prefix - System.String
valueProvider - Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider
propertyFilter - System.Func<ModelMetadata,Boolean>

TryValidateModel(System.Object)

Parameters

model - System.Object

TryValidateModel(System.Object,System.String)

Parameters

model - System.Object
prefix - System.String

StatusCode(System.Int32)

Parameters

statusCode - System.Int32

StatusCode(System.Int32,System.Object)

Parameters

statusCode - System.Int32
value - System.Object

Content(System.String)

Parameters

content - System.String

Content(System.String,System.String)

Parameters

content - System.String
contentType - System.String

Content(System.String,System.String,System.Text.Encoding)

Parameters

content - System.String
contentType - System.String
contentEncoding - System.Text.Encoding

Content(System.String,Microsoft.Net.Http.Headers.MediaTypeHeaderValue)

Parameters

content - System.String
contentType - Microsoft.Net.Http.Headers.MediaTypeHeaderValue

NoContent()

Ok()

Ok(System.Object)

Parameters

value - System.Object

Redirect(System.String)

Parameters

url - System.String

RedirectPermanent(System.String)

Parameters

url - System.String

RedirectPreserveMethod(System.String)

Parameters

url - System.String

RedirectPermanentPreserveMethod(System.String)

Parameters

url - System.String

LocalRedirect(System.String)

Parameters

localUrl - System.String

LocalRedirectPermanent(System.String)

Parameters

localUrl - System.String

LocalRedirectPreserveMethod(System.String)

Parameters

localUrl - System.String

LocalRedirectPermanentPreserveMethod(System.String)

Parameters

localUrl - System.String

RedirectToAction()

RedirectToAction(System.String)

Parameters

actionName - System.String

RedirectToAction(System.String,System.Object)

Parameters

actionName - System.String
routeValues - System.Object

RedirectToAction(System.String,System.String)

Parameters

actionName - System.String
controllerName - System.String

RedirectToAction(System.String,System.String,System.Object)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Object

RedirectToAction(System.String,System.String,System.String)

Parameters

actionName - System.String
controllerName - System.String
fragment - System.String

RedirectToAction(System.String,System.String,System.Object,System.String)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Object
fragment - System.String

RedirectToActionPreserveMethod(System.String,System.String,System.Object,System.String)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Object
fragment - System.String

RedirectToActionPermanent(System.String)

Parameters

actionName - System.String

RedirectToActionPermanent(System.String,System.Object)

Parameters

actionName - System.String
routeValues - System.Object

RedirectToActionPermanent(System.String,System.String)

Parameters

actionName - System.String
controllerName - System.String

RedirectToActionPermanent(System.String,System.String,System.String)

Parameters

actionName - System.String
controllerName - System.String
fragment - System.String

RedirectToActionPermanent(System.String,System.String,System.Object)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Object

RedirectToActionPermanent(System.String,System.String,System.Object,System.String)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Object
fragment - System.String

RedirectToActionPermanentPreserveMethod(System.String,System.String,System.Object,System.String)

Parameters

actionName - System.String
controllerName - System.String
routeValues - System.Object
fragment - System.String

RedirectToRoute(System.String)

Parameters

routeName - System.String

RedirectToRoute(System.Object)

Parameters

routeValues - System.Object

RedirectToRoute(System.String,System.Object)

Parameters

routeName - System.String
routeValues - System.Object

RedirectToRoute(System.String,System.String)

Parameters

routeName - System.String
fragment - System.String

RedirectToRoute(System.String,System.Object,System.String)

Parameters

routeName - System.String
routeValues - System.Object
fragment - System.String

RedirectToRoutePreserveMethod(System.String,System.Object,System.String)

Parameters

routeName - System.String
routeValues - System.Object
fragment - System.String

RedirectToRoutePermanent(System.String)

Parameters

routeName - System.String

RedirectToRoutePermanent(System.Object)

Parameters

routeValues - System.Object

RedirectToRoutePermanent(System.String,System.Object)

Parameters

routeName - System.String
routeValues - System.Object

RedirectToRoutePermanent(System.String,System.String)

Parameters

routeName - System.String
fragment - System.String

RedirectToRoutePermanent(System.String,System.Object,System.String)

Parameters

routeName - System.String
routeValues - System.Object
fragment - System.String

RedirectToRoutePermanentPreserveMethod(System.String,System.Object,System.String)

Parameters

routeName - System.String
routeValues - System.Object
fragment - System.String

RedirectToPage(System.String)

Parameters

pageName - System.String

RedirectToPage(System.String,System.Object)

Parameters

pageName - System.String
routeValues - System.Object

RedirectToPage(System.String,System.String)

Parameters

pageName - System.String
pageHandler - System.String

RedirectToPage(System.String,System.String,System.Object)

Parameters

pageName - System.String
pageHandler - System.String
routeValues - System.Object

RedirectToPage(System.String,System.String,System.String)

Parameters

pageName - System.String
pageHandler - System.String
fragment - System.String

RedirectToPage(System.String,System.String,System.Object,System.String)

Parameters

pageName - System.String
pageHandler - System.String
routeValues - System.Object
fragment - System.String

RedirectToPagePermanent(System.String)

Parameters

pageName - System.String

RedirectToPagePermanent(System.String,System.Object)

Parameters

pageName - System.String
routeValues - System.Object

RedirectToPagePermanent(System.String,System.String)

Parameters

pageName - System.String
pageHandler - System.String

RedirectToPagePermanent(System.String,System.String,System.String)

Parameters

pageName - System.String
pageHandler - System.String
fragment - System.String

RedirectToPagePermanent(System.String,System.String,System.Object,System.String)

Parameters

pageName - System.String
pageHandler - System.String
routeValues - System.Object
fragment - System.String

RedirectToPagePreserveMethod(System.String,System.String,System.Object,System.String)

Parameters

pageName - System.String
pageHandler - System.String
routeValues - System.Object
fragment - System.String

RedirectToPagePermanentPreserveMethod(System.String,System.String,System.Object,System.String)

Parameters

pageName - System.String
pageHandler - System.String
routeValues - System.Object
fragment - System.String

File(System.Byte[],System.String)

Parameters

fileContents - System.Byte[]
contentType - System.String

File(System.Byte[],System.String,System.Boolean)

Parameters

fileContents - System.Byte[]
contentType - System.String
enableRangeProcessing - System.Boolean

File(System.Byte[],System.String,System.String)

Parameters

fileContents - System.Byte[]
contentType - System.String
fileDownloadName - System.String

File(System.Byte[],System.String,System.String,System.Boolean)

Parameters

fileContents - System.Byte[]
contentType - System.String
fileDownloadName - System.String
enableRangeProcessing - System.Boolean

File(System.Byte[],System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue)

Parameters

fileContents - System.Byte[]
contentType - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue

File(System.Byte[],System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue,System.Boolean)

Parameters

fileContents - System.Byte[]
contentType - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue
enableRangeProcessing - System.Boolean

File(System.Byte[],System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue)

Parameters

fileContents - System.Byte[]
contentType - System.String
fileDownloadName - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue

File(System.Byte[],System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue,System.Boolean)

Parameters

fileContents - System.Byte[]
contentType - System.String
fileDownloadName - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue
enableRangeProcessing - System.Boolean

File(System.IO.Stream,System.String)

Parameters

fileStream - System.IO.Stream
contentType - System.String

File(System.IO.Stream,System.String,System.Boolean)

Parameters

fileStream - System.IO.Stream
contentType - System.String
enableRangeProcessing - System.Boolean

File(System.IO.Stream,System.String,System.String)

Parameters

fileStream - System.IO.Stream
contentType - System.String
fileDownloadName - System.String

File(System.IO.Stream,System.String,System.String,System.Boolean)

Parameters

fileStream - System.IO.Stream
contentType - System.String
fileDownloadName - System.String
enableRangeProcessing - System.Boolean

File(System.IO.Stream,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue)

Parameters

fileStream - System.IO.Stream
contentType - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue

File(System.IO.Stream,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue,System.Boolean)

Parameters

fileStream - System.IO.Stream
contentType - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue
enableRangeProcessing - System.Boolean

File(System.IO.Stream,System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue)

Parameters

fileStream - System.IO.Stream
contentType - System.String
fileDownloadName - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue

File(System.IO.Stream,System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue,System.Boolean)

Parameters

fileStream - System.IO.Stream
contentType - System.String
fileDownloadName - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue
enableRangeProcessing - System.Boolean

File(System.String,System.String)

Parameters

virtualPath - System.String
contentType - System.String

File(System.String,System.String,System.Boolean)

Parameters

virtualPath - System.String
contentType - System.String
enableRangeProcessing - System.Boolean

File(System.String,System.String,System.String)

Parameters

virtualPath - System.String
contentType - System.String
fileDownloadName - System.String

File(System.String,System.String,System.String,System.Boolean)

Parameters

virtualPath - System.String
contentType - System.String
fileDownloadName - System.String
enableRangeProcessing - System.Boolean

File(System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue)

Parameters

virtualPath - System.String
contentType - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue

File(System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue,System.Boolean)

Parameters

virtualPath - System.String
contentType - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue
enableRangeProcessing - System.Boolean

File(System.String,System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue)

Parameters

virtualPath - System.String
contentType - System.String
fileDownloadName - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue

File(System.String,System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue,System.Boolean)

Parameters

virtualPath - System.String
contentType - System.String
fileDownloadName - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue
enableRangeProcessing - System.Boolean

PhysicalFile(System.String,System.String)

Parameters

physicalPath - System.String
contentType - System.String

PhysicalFile(System.String,System.String,System.Boolean)

Parameters

physicalPath - System.String
contentType - System.String
enableRangeProcessing - System.Boolean

PhysicalFile(System.String,System.String,System.String)

Parameters

physicalPath - System.String
contentType - System.String
fileDownloadName - System.String

PhysicalFile(System.String,System.String,System.String,System.Boolean)

Parameters

physicalPath - System.String
contentType - System.String
fileDownloadName - System.String
enableRangeProcessing - System.Boolean

PhysicalFile(System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue)

Parameters

physicalPath - System.String
contentType - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue

PhysicalFile(System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue,System.Boolean)

Parameters

physicalPath - System.String
contentType - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue
enableRangeProcessing - System.Boolean

PhysicalFile(System.String,System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue)

Parameters

physicalPath - System.String
contentType - System.String
fileDownloadName - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue

PhysicalFile(System.String,System.String,System.String,System.Nullable,Microsoft.Net.Http.Headers.EntityTagHeaderValue,System.Boolean)

Parameters

physicalPath - System.String
contentType - System.String
fileDownloadName - System.String
lastModified - System.Nullable<DateTimeOffset>
entityTag - Microsoft.Net.Http.Headers.EntityTagHeaderValue
enableRangeProcessing - System.Boolean

Unauthorized()

Unauthorized(System.Object)

Parameters

value - System.Object

NotFound()

NotFound(System.Object)

Parameters

value - System.Object

BadRequest()

BadRequest(System.Object)

Parameters

error - System.Object

BadRequest(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

UnprocessableEntity()

UnprocessableEntity(System.Object)

Parameters

error - System.Object

UnprocessableEntity(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)

Parameters

modelState - Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary

Conflict()

Conflict(System.Object)

Parameters

error - System.Object
In this article
Not finding the help you need?