03 2019 档案

在 VSCode 调试 .net core 过程中,使用 Watcher,免手动重新编译
摘要:1.安装Microsoft.DotNet.Watcher.Tools包 dotnet add package Microsoft.DotNet.Watcher.Tools --version 2.0.0 2.修改项目文件 *.csproj 在 <ItemGroup /> 中添加 <DotNetCli 阅读全文

posted @ 2019-03-25 09:20 ChenXinyuan 阅读(633) 评论(0) 推荐(0)

.net core - 配置管理 - json文件配置
摘要:Json 文件配置 1 public class Startup 2 { 3 public Startup(IHostingEnvironment env) 4 { 5 var builder = new ConfigurationBuilder() 6 .AddJsonFile("Class.js 阅读全文

posted @ 2019-03-13 11:42 ChenXinyuan 阅读(204) 评论(0) 推荐(0)

导航