编程语言
首页 > 编程语言> > 《ASP.NET Core 6框架揭秘》勘误

《ASP.NET Core 6框架揭秘》勘误

作者:互联网

var options = new WebApplicationOptions
{
 Args = args,
 ApplicationName = "MyApp",
 ContentRootPath = Path.Combine(Directory.GetCurrentDirectory(), "contents"),
 EnvironmentName = "staging"
};
var options = new WebApplicationOptions
{
 Args = args,
 ApplicationName = "MyApp",
 ContentRootPath = Path.Combine(Directory.GetCurrentDirectory(), "contents"),
 WebRootPath = Path.Combine(Directory.GetCurrentDirectory(), "contents","wwwroot"),
 EnvironmentName = "staging"
};

标签:Core,ASP,勘误,接口,改为,原文,NET
来源: https://www.cnblogs.com/artech/p/asp-net-core-6-correction.html