麒麟正青春

 

2019年10月21日

net core 3.0 与swagger

摘要: 首先nuget引入包 Swashbuckle.AspNetCore.Swagger Swashbuckle.AspNetCore.SwaggerGen Swashbuckle.AspNetCore.SwaggerUI 然后进行服务定义及管道注入 public class Startup { publ 阅读全文

posted @ 2019-10-21 11:48 麒麟正青春 阅读(835) 评论(0) 推荐(0) 编辑

net core 3.0 与Autofac

摘要: 首先需要nuget引入包 using Autofac;using Autofac.Extensions.DependencyInjection; public class Startup { public Startup(IConfiguration configuration) { Configu 阅读全文

posted @ 2019-10-21 11:30 麒麟正青春 阅读(2652) 评论(0) 推荐(0) 编辑

net core 3.0 与80端口

摘要: 通过netstat的相关命令可以查看、处理的端口, 对于net core 3.0可以用其他区未被占用的端口, http的80端口被系统占用, https的443端口未被再用,可以正常使用 下面引用博客的文章https://www.cnblogs.com/eedc/p/9907706.html Win 阅读全文

posted @ 2019-10-21 11:13 麒麟正青春 阅读(749) 评论(0) 推荐(0) 编辑

net core 3.0 配置https的ssl证书

摘要: public class Program { public static void Main(string[] args) { Console.Title = "mvc客户端"; CreateHostBuilder(args).Build().Run(); } //通过配置文件hostsetting 阅读全文

posted @ 2019-10-21 10:28 麒麟正青春 阅读(6220) 评论(0) 推荐(0) 编辑

导航