摘要: 1、单体架构: 这是我们最初的一个系统架构:无论我们是什么样的一个客户端,UI呈现是一个什么样的,后端都只有一个,相对比较简单; 以前项目就一个进程,各种模块项目都放在一起,随着业务的发展,数据量,流量的不断增长,单体不够用了,【eg:一个石头太大,搬不动】那我们怎么做呢? 要么换大力士【升级硬件】 阅读全文
posted @ 2021-08-11 17:09 wangwangwangMax 阅读(520) 评论(0) 推荐(0) 编辑
摘要: appsettings.json { "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "opti 阅读全文
posted @ 2020-12-03 16:33 wangwangwangMax 阅读(336) 评论(0) 推荐(1) 编辑
摘要: 1.初识Core 我们新建一个项目- 新建之后我们就会看到: Program.cs /// <summary> /// asp.net--网站托管在IIS--IIS负责监听-转发请求--响应客户端 /// .net core--控制台--CreateWebHostBuilder(内置了服务器)--启 阅读全文
posted @ 2020-12-03 16:23 wangwangwangMax 阅读(424) 评论(0) 推荐(1) 编辑
摘要: 我们在Startup类里面可以看到那么一句话: // This method gets called by the runtime. Use this method to add services to the container. // This method gets called by the 阅读全文
posted @ 2020-12-03 16:01 wangwangwangMax 阅读(281) 评论(0) 推荐(0) 编辑
摘要: .Net Core,log4net,.net5中使用log4net 阅读全文
posted @ 2020-12-02 23:36 wangwangwangMax 阅读(1173) 评论(5) 推荐(1) 编辑
摘要: C#7 阅读全文
posted @ 2020-12-01 19:40 wangwangwangMax 阅读(358) 评论(0) 推荐(1) 编辑
摘要: C#6 阅读全文
posted @ 2020-12-01 19:27 wangwangwangMax 阅读(341) 评论(0) 推荐(0) 编辑
摘要: .NET Core,.NETCore部署IIS 阅读全文
posted @ 2020-11-29 22:31 wangwangwangMax 阅读(284) 评论(0) 推荐(0) 编辑
摘要: #C# #特性 #特性多重修饰写法 #C# 特性【Attribute】【什么是特性?以及特性的一些修饰】 阅读全文
posted @ 2020-11-16 17:08 wangwangwangMax 阅读(719) 评论(0) 推荐(0) 编辑
摘要: C#反射学习 阅读全文
posted @ 2020-11-12 17:46 wangwangwangMax 阅读(461) 评论(1) 推荐(4) 编辑