Class BiwenQuickApiOptions
public class BiwenQuickApiOptions
- Inheritance
-
BiwenQuickApiOptions
- Inherited Members
- Extension Methods
Constructors
BiwenQuickApiOptions()
public BiwenQuickApiOptions()
Fields
Key
配置文件中定位Key
public const string Key = "BiwenQuickApi:QuickApi"
Field Value
Properties
EnableAntiForgeryTokens
默认:true 是否启动防伪令牌检测,如果启动,会自动注册中间件,请确保客户端请求时带上__RequestVerificationToken参数
public bool EnableAntiForgeryTokens { get; set; }
Property Value
EnablePubSub
默认:true 是否启动发布订阅
public bool EnablePubSub { get; set; }
Property Value
EnableScheduling
默认:true 是否启动ScheduleTask
public bool EnableScheduling { get; set; }
Property Value
RoutePrefix
全局路径前缀
public string RoutePrefix { get; set; }
Property Value
UseQuickApiExceptionResultBuilder
使用QuickApi的方式返回规范化异常 默认:false,如果:false 仅返回:500
public bool UseQuickApiExceptionResultBuilder { get; set; }