摘要: 1.安装log4net和Microsoft.Extensions.Logging.Log4Net.AspNetCore的Nuget包 2.添加log4net.Config配置文件 <?xml version="1.0" encoding="utf-8"?> <log4net> <appender n 阅读全文
posted @ 2021-09-16 18:03 云谋 阅读(98) 评论(0) 推荐(0)
摘要: 1.安装 Swashbuckle.AspNetCore的Nuget包 2.在Startup类的ConfigureServices方法里面注入服务 public void ConfigureServices(IServiceCollection services) { // 添加Swagger ser 阅读全文
posted @ 2021-09-16 17:53 云谋 阅读(50) 评论(0) 推荐(0)