ABP注解

摘要:
AutoValidateAntiforgeryTokenAttributeAspectAttributeAuditedAttributeAbpAllowAnonymousAttribute:用于允许任何用户访问方法AbpAuthorizeAttributeAutoRepositoryTypesAttributeAbpDisplayNameAttributeAbpMvcAuthorizeAttrib

AutoValidateAntiforgeryTokenAttribute
AspectAttribute
AuditedAttribute
AbpAllowAnonymousAttribute:用于允许任何用户访问方法
AbpAuthorizeAttribute
AutoRepositoryTypesAttribute
AbpDisplayNameAttribute
AbpMvcAuthorizeAttribute:此属性用于MVC“Controller”的操作,以使该操作仅可由授权用户使用。

AllowClientCacheAttribute
AutoMapAttribute
AutoMapFromAttribute
AutoMapKeyAttribute
AutoMapToAttribute
AbpApiAuthorizeAttribute:此属性用于“ ApiController”的方法,以使该方法仅可由授权用户使用

AbpApiExceptionFilterAttribute
DisableAuditingAttribute
DependsOnAttribute
DisableValidationAttribute
DontWrapResultAttribute:ABP默认对返回结果做了封装,使用这个特性就不会受特性的干扰了
DapperAutoRepositoryTypeAttribute
DefaultDbContextAttribute
DisableAbpAntiForgeryTokenValidationAttribute
EnableValidationAttribute
IgnoreOnCompareAttribute
InputTypeAttribute
MultiTenancySideAttribute

MyIgnoreApiAttribute
NoClientCacheAttribute
RequiresFeatureAttribute
RemoteServiceAttribute
UnitOfWorkAttribute
UseCaseAttribute
ValidatorAttribute
ValidateAbpAntiForgeryTokenAttribute

WrapResultAttribute

免责声明:文章转载自《ABP注解》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇lua API 小记2kafka使用时的问题下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

浅入 ABP 系列(7):对象映射

目录 基础 DTO和实体 麻烦的映射 AutoMapper 集成 IObjectMapper/ObjectMapper 对象拓展 写博客的过程中,发现很多基础理论太薄弱,因此很多专业词汇可能会解释错误或者不准确,建议读者多参考官方文档或者其它书籍。 本篇主要讲解 ABP 中如何配置、使用对象映射,其中大部分跟 AutoMapper 这个框架有...

ABP 继承 ISoftDelete 后调用 HardDeleteAsync 实现物理删除

如标题描述的一样,在继承ISoftDelete 后希望进行物理删除操作时,调用HardDeleteAsync 方法即可。下面是该方法的内部实现: public static async Task HardDeleteAsync<TEntity, TPrimaryKey>(this IRepository<TEntity, TPrimary...

Abp vNext异常处理的缺陷/改造方案

吐槽Abp Vnext异常处理! 哎呀,是一个喷子 目前项目使用Abp VNext开发,免不了要全局处理异常、提示服务器异常信息。 1. Abp官方异常处理 Abp项目默认会启动内置的异常处理,默认不将异常信息发送到客户端。 在AppModule文件ConfigureServices方法中使用以下代码: Configure<AbpException...

ABP module-zero +AdminLTE+Bootstrap Table+jQuery权限管理系统第十三节--RBAC模式及ABP权限管理(附赠福利)

ABP+AdminLTE+Bootstrap Table权限管理系统一期Github:https://github.com/Jimmey-Jiang/ABP-ASP.NET-Boilerplate-Project-CMS 角色访问控制(RBAC) 角色访问控制(RBAC)应该是目前用得最多也是关注最多的权限管理模型了。 权限(Permission)与角色(...

ABP使用及框架解析系列

前言 ABP ABP是“ASP.NET Boilerplate Project”的简称。 ABP的官方网站:http://www.aspnetboilerplate.com ABP在Github上的开源项目:https://github.com/aspnetboilerplate ABP其他学习博客推荐及介绍:http://www.cnblogs.com...

ABP Framework V4.4 RC 新增功能介绍

目录 新增功能概述 启动模板删除 EntityFrameworkCore.DbMigrations 项目 CMS-Kit 动态菜单管理 Razor引擎对文本模板的支持 DbContext/Entities 新的定制点 ABP CLI 新命令 新增 appsettings.secrets.json 配置文件 ABP Framework 其他改进 发布免费...