我在其他visualstudio版本中使用相同的代码,效果很好
我遵循了一些与清理项目相关的建议-清空appdata但不起作用
代码非常简单
public class Teacher
â{
â public int TeacherId { get; set; }
â public string Code { get; set; }
â public string Name { get; set; }
â} â
public class Student
â{
â public int StudentId { get; set; }
â public string Code { get; set; }
â public string Name { get; set; }
â public string EnrollmentNo { get; set; }
â}â
重新编写代码手册需要时间,而且我想知道原因,因为我没有找到任何相关的原因,在我的网上搜索可用
在记事本中,当编码为ansi时,它显示如下
应用程序设置json
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}