Show / Hide Table of Contents

Class AbpControllerBase

Inheritance
object
Microsoft.AspNetCore.Mvc.ControllerBase
AbpControllerBase
AbpTenantController
AbpApplicationConfigurationController
AbpApplicationLocalizationController
Implements
IAvoidDuplicateCrossCuttingConcerns
Inherited Members
Microsoft.AspNetCore.Mvc.ControllerBase.StatusCode(int)
Microsoft.AspNetCore.Mvc.ControllerBase.StatusCode(int, object)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(string)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(string, string, System.Text.Encoding)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(string, Microsoft.Net.Http.Headers.MediaTypeHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.NoContent()
Microsoft.AspNetCore.Mvc.ControllerBase.Ok()
Microsoft.AspNetCore.Mvc.ControllerBase.Ok(object)
Microsoft.AspNetCore.Mvc.ControllerBase.Redirect(string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectPermanent(string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectPreserveMethod(string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectPermanentPreserveMethod(string)
Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirect(string)
Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirectPermanent(string)
Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirectPreserveMethod(string)
Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirectPermanentPreserveMethod(string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction()
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(string, string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(string, string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(string, string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPreserveMethod(string, string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(string, string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(string, string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(string, string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanentPreserveMethod(string, string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePreserveMethod(string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanentPreserveMethod(string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(string, string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(string, string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(string, string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(string, string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(string, string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePreserveMethod(string, string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanentPreserveMethod(string, string, object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.File(byte[], string)
Microsoft.AspNetCore.Mvc.ControllerBase.File(byte[], string, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(byte[], string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.File(byte[], string, string, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(byte[], string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(byte[], string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(byte[], string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(byte[], string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, string)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, string, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, string, string, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.File(string, string, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(string, string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.File(string, string, string, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.File(string, string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(string, string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(string, string, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(string, string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(string, string, string, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(string, string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(string, string, string, System.DateTimeOffset?, Microsoft.Net.Http.Headers.EntityTagHeaderValue, bool)
Microsoft.AspNetCore.Mvc.ControllerBase.Unauthorized()
Microsoft.AspNetCore.Mvc.ControllerBase.Unauthorized(object)
Microsoft.AspNetCore.Mvc.ControllerBase.NotFound()
Microsoft.AspNetCore.Mvc.ControllerBase.NotFound(object)
Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest()
Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest(object)
Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)
Microsoft.AspNetCore.Mvc.ControllerBase.UnprocessableEntity()
Microsoft.AspNetCore.Mvc.ControllerBase.UnprocessableEntity(object)
Microsoft.AspNetCore.Mvc.ControllerBase.UnprocessableEntity(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)
Microsoft.AspNetCore.Mvc.ControllerBase.Conflict()
Microsoft.AspNetCore.Mvc.ControllerBase.Conflict(object)
Microsoft.AspNetCore.Mvc.ControllerBase.Conflict(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)
Microsoft.AspNetCore.Mvc.ControllerBase.Problem(string, string, int?, string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.ValidationProblem(Microsoft.AspNetCore.Mvc.ValidationProblemDetails)
Microsoft.AspNetCore.Mvc.ControllerBase.ValidationProblem(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)
Microsoft.AspNetCore.Mvc.ControllerBase.ValidationProblem()
Microsoft.AspNetCore.Mvc.ControllerBase.ValidationProblem(string, string, int?, string, string, Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)
Microsoft.AspNetCore.Mvc.ControllerBase.Created(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.Created(System.Uri, object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(string, object, object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(string, string, object, object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(object, object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(string, object, object)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted()
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(object)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Uri)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(string)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Uri, object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(string)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(string, string)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(string, string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(string, object, object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(string, string, object, object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(string)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(string, object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(object, object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(string, object, object)
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge()
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(params string[])
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties)
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties, params string[])
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid()
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(params string[])
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties)
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties, params string[])
Microsoft.AspNetCore.Mvc.ControllerBase.SignIn(System.Security.Claims.ClaimsPrincipal)
Microsoft.AspNetCore.Mvc.ControllerBase.SignIn(System.Security.Claims.ClaimsPrincipal, string)
Microsoft.AspNetCore.Mvc.ControllerBase.SignIn(System.Security.Claims.ClaimsPrincipal, Microsoft.AspNetCore.Authentication.AuthenticationProperties)
Microsoft.AspNetCore.Mvc.ControllerBase.SignIn(System.Security.Claims.ClaimsPrincipal, Microsoft.AspNetCore.Authentication.AuthenticationProperties, string)
Microsoft.AspNetCore.Mvc.ControllerBase.SignOut()
Microsoft.AspNetCore.Mvc.ControllerBase.SignOut(Microsoft.AspNetCore.Authentication.AuthenticationProperties)
Microsoft.AspNetCore.Mvc.ControllerBase.SignOut(params string[])
Microsoft.AspNetCore.Mvc.ControllerBase.SignOut(Microsoft.AspNetCore.Authentication.AuthenticationProperties, params string[])
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, string)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, string, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, string, params System.Linq.Expressions.Expression<System.Func<TModel, object>>[])
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, string, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, bool>)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, string, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, params System.Linq.Expressions.Expression<System.Func<TModel, object>>[])
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, string, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, bool>)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync(object, System.Type, string)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync(object, System.Type, string, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, bool>)
Microsoft.AspNetCore.Mvc.ControllerBase.TryValidateModel(object)
Microsoft.AspNetCore.Mvc.ControllerBase.TryValidateModel(object, string)
Microsoft.AspNetCore.Mvc.ControllerBase.HttpContext
Microsoft.AspNetCore.Mvc.ControllerBase.Request
Microsoft.AspNetCore.Mvc.ControllerBase.Response
Microsoft.AspNetCore.Mvc.ControllerBase.RouteData
Microsoft.AspNetCore.Mvc.ControllerBase.ModelState
Microsoft.AspNetCore.Mvc.ControllerBase.ControllerContext
Microsoft.AspNetCore.Mvc.ControllerBase.MetadataProvider
Microsoft.AspNetCore.Mvc.ControllerBase.ModelBinderFactory
Microsoft.AspNetCore.Mvc.ControllerBase.Url
Microsoft.AspNetCore.Mvc.ControllerBase.ObjectValidator
Microsoft.AspNetCore.Mvc.ControllerBase.ProblemDetailsFactory
Microsoft.AspNetCore.Mvc.ControllerBase.User
Microsoft.AspNetCore.Mvc.ControllerBase.Empty
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public abstract class AbpControllerBase : ControllerBase, IAvoidDuplicateCrossCuttingConcerns

Constructors

AbpControllerBase()

Declaration
protected AbpControllerBase()

Properties

AppliedCrossCuttingConcerns

Declaration
public List<string> AppliedCrossCuttingConcerns { get; }
Property Value
Type Description
System.Collections.Generic.List<T><string>

AuthorizationService

Declaration
protected IAuthorizationService AuthorizationService { get; }
Property Value
Type Description
Microsoft.AspNetCore.Authorization.IAuthorizationService

Clock

Declaration
protected IClock Clock { get; }
Property Value
Type Description
IClock

CurrentTenant

Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type Description
ICurrentTenant

CurrentUnitOfWork

Declaration
protected IUnitOfWork CurrentUnitOfWork { get; }
Property Value
Type Description
IUnitOfWork

CurrentUser

Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
Type Description
ICurrentUser

FeatureChecker

Declaration
protected IFeatureChecker FeatureChecker { get; }
Property Value
Type Description
IFeatureChecker

GuidGenerator

Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
Type Description
IGuidGenerator

L

Declaration
protected IStringLocalizer L { get; }
Property Value
Type Description
Microsoft.Extensions.Localization.IStringLocalizer

LazyServiceProvider

Declaration
public IAbpLazyServiceProvider LazyServiceProvider { get; set; }
Property Value
Type Description
IAbpLazyServiceProvider

LocalizationResource

Declaration
protected Type LocalizationResource { get; set; }
Property Value
Type Description
System.Type

Logger

Declaration
protected ILogger Logger { get; }
Property Value
Type Description
Microsoft.Extensions.Logging.ILogger

LoggerFactory

Declaration
protected ILoggerFactory LoggerFactory { get; }
Property Value
Type Description
Microsoft.Extensions.Logging.ILoggerFactory

ModelValidator

Declaration
protected IModelStateValidator ModelValidator { get; }
Property Value
Type Description
IModelStateValidator

ObjectMapper

Declaration
protected IObjectMapper ObjectMapper { get; }
Property Value
Type Description
IObjectMapper

ObjectMapperContext

Declaration
protected Type ObjectMapperContext { get; set; }
Property Value
Type Description
System.Type

StringLocalizerFactory

Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Type Description
Microsoft.Extensions.Localization.IStringLocalizerFactory

UnitOfWorkManager

Declaration
protected IUnitOfWorkManager UnitOfWorkManager { get; }
Property Value
Type Description
IUnitOfWorkManager

Methods

CreateLocalizer()

Declaration
protected virtual IStringLocalizer CreateLocalizer()
Returns
Type Description
Microsoft.Extensions.Localization.IStringLocalizer

ValidateModel()

Declaration
protected virtual void ValidateModel()

Implements

IAvoidDuplicateCrossCuttingConcerns

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft