摘要: 1、安装所有NuGet包 2、上代码 2.1 新建helper类 private static IConfiguration _config; public AppsettingHelper(IConfiguration configuration) { _config = configuratio 阅读全文
posted @ 2022-03-08 14:51 PrintY 阅读(3227) 评论(0) 推荐(0) 编辑
摘要: 本章主要和大家分享下如何使用cmd命令行(.NET Core CLI)来启动ASP.NET Core 应用程序的多个实例,以此来模拟集群。 .NET Core 命令行接口 (CLI) 工具是用于开发、生成、运行和发布 .NET Core 应用程序的跨平台工具链。 CLI 命令结构包含驱动程序(“do 阅读全文
posted @ 2022-03-08 11:27 PrintY 阅读(2768) 评论(0) 推荐(1) 编辑