06 2021 档案

摘要:Enviroment: .Net(5.0) Autofac(6.2.0) Autofac.Configuration(6.0.0) Autofac.Extensions.DependencyInjection(7.1.0) 1. first intall follow packages 2. use 阅读全文
posted @ 2021-06-25 11:24 Kevin-xk 阅读(170) 评论(0) 推荐(0)
摘要:1. create class which is inheirt from DBContext, make sure there is an database connection which is named of xxxx public class SimpleContext : DbConte 阅读全文
posted @ 2021-06-18 10:51 Kevin-xk 阅读(43) 评论(0) 推荐(0)
摘要:1. add nuget packages below Microsoft.AspNet.WebApi.Owin Owin Microsoft.Owin.Host.SystemWeb Microsoft.Owin.Security.OAuth Microsoft.Owin.Security.Cook 阅读全文
posted @ 2021-06-08 10:27 Kevin-xk 阅读(173) 评论(0) 推荐(0)