Wood.Admin.WebApi
action 异常捕捉 filter
异常捕捉 返回
性能统计
异步接口日志
action结果包装filter
全局异常中间件
全局异常中间件
Controller Model Binding 处理
自动扫描所有带service名称的程序集
扫描程序集中所有带service后缀的类
给类中所有public 方法注册路由
应用路由规则
get 开头为 get
其他为post
服务拓展
扫描指定程序集中的所有类型,并根据其实现的生命周期接口自动注册到DI容器中。
服务集合
要扫描的程序集数组
自动注册所有订阅事件
初始化数据库
开启缓存
Magicodes
导入导出
program
main
启用
入口
配置
构造函数
This method gets called by the runtime. Use this method to add services to the container.
This method gets called by the runtime. Use this method to configure the HTTP request pipeline.