1.定义类实现IResourceFilter 同步 异步 3.使用(IAction级别) controller级别 全局级别 4.效果 顺序 Read More
posted @ 2019-11-05 13:08
拎着红杯子的黄鸭子
Views(103)
Comments(0)
Diggs(0)
只有注册用户登录后才能阅读该文。 Read More
posted @ 2019-11-05 13:03
拎着红杯子的黄鸭子
Views(0)
Comments(0)
Diggs(0)
只有注册用户登录后才能阅读该文。 Read More
posted @ 2019-11-05 13:02
拎着红杯子的黄鸭子
Views(3)
Comments(0)
Diggs(0)
posted @ 2019-11-05 13:02
拎着红杯子的黄鸭子
Views(111)
Comments(0)
Diggs(0)
在start up类里面添加这个方法 app.UseStaticFiles(new StaticFileOptions { RequestPath = "/node_modules", FileProvider = new PhysicalFileProvider(Path.Combine(env. Read More
posted @ 2019-11-05 13:00
拎着红杯子的黄鸭子
Views(160)
Comments(0)
Diggs(0)
刷新 realeases Read More
posted @ 2019-11-05 12:59
拎着红杯子的黄鸭子
Views(105)
Comments(0)
Diggs(0)
1.建立Entity 建立IEntity的接口 建立实现IEntity接口的抽象类Entity 建立类继承抽象类Entity 2. 数据库放到infrastructure的项目中 3.注册和配置这个dbcontext 1.安装entityFramworkcore.sqlite的包 2.在开发环境下注 Read More
posted @ 2019-11-05 12:55
拎着红杯子的黄鸭子
Views(112)
Comments(0)
Diggs(0)
只有注册用户登录后才能阅读该文。 Read More
posted @ 2019-11-05 12:55
拎着红杯子的黄鸭子
Views(2)
Comments(0)
Diggs(0)
只有注册用户登录后才能阅读该文。 Read More
posted @ 2019-11-05 12:55
拎着红杯子的黄鸭子
Views(2)
Comments(0)
Diggs(0)
老师使用的是mysql的数据库,但是我只有sqlserver的数据库,于是就照猫画虎,想连自己的sqlserver,结果一连跳了几个坑: 坑一:appsetting中的字符串连接是后面还有个s, 坑二:直接出现failed build大多数是你这句话出了问题,不行的话就清理下项目 坑三:说你的目标项 Read More
posted @ 2019-11-05 12:54
拎着红杯子的黄鸭子
Views(140)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号