1.先看官方文档入门
https://docs.microsoft.com/zh-cn/aspnet/core/tutorials/first-web-api?view=aspnetcore-2.2&tabs=visual-studio
2.如何使用依赖注入框架 AutoFac
https://www.cnblogs.com/bluesummer/p/8875702.html
3.如何使用轻量级ORM框架 Dapper
https://www.cnblogs.com/jixiaosa/p/10261778.html
4.我的测试代码在GITHUB方便自己查阅
https://github.com/520xchly/TestCoreOne