摘要:
错误代码 public Startup() { var builder = new ConfigurationBuilder().AddJsonFile("AppSetting.json"); Configuration = builder.Build(); } 修改 public Startup( 阅读全文
posted @ 2018-10-30 13:43
六个字的名字
阅读(2322)
评论(0)
推荐(1)
摘要:
控制台程序: 修改文件编码为UTF8 WEB程序: 在await context.Response.WriteAsync("中文");前面加上:context.Response.ContentType = "text/plain;charset=utf-8"; 阅读全文
posted @ 2018-10-30 13:36
六个字的名字
阅读(2094)
评论(0)
推荐(0)
浙公网安备 33010602011771号