麒麟正青春

 

10 2019 档案

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 麒麟正青春 阅读(844) 评论(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 麒麟正青春 阅读(2659) 评论(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 麒麟正青春 阅读(763) 评论(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 麒麟正青春 阅读(6236) 评论(0) 推荐(0) 编辑

导航

统计

点击右上角即可分享
微信分享提示