[转][C#][VS2019]更改此网站的绑定
摘要:打开网上项目时遇到以下错误: error : Web 应用程序项目 xx.Web 已配置为使用 IIS。 URL“http://localhost/xx.Web”的网站同时存在于本地 IIS Web 服务器和 IIS Express Web 服务器上。您需要编辑“C:\Users\Administr
阅读全文
posted @
2021-05-09 00:32
z5337
阅读(175)
推荐(0) 编辑
[转][C#]Json.Net 设置项
摘要:1、忽略 Null JsonSerializerSettings jsetting=new JsonSerializerSettings(); jsetting.NullValueHandling = NullValueHandling.Ignore; 2、将 Null 输出为 string.Emp
阅读全文
posted @
2021-05-07 23:25
z5337
阅读(82)
推荐(0) 编辑
[转][VS2022]Nuget源设置
摘要:使用 VS2019 / VS2022 时,把Nuget 的源设置为: https://api.nuget.org/v3/index.json 即可, 但 VS2013 不管是默认的: https://www.nuget.org/api/v2/ 还是 v3 都无法使用。 设置DNS 为阿里的 223.
阅读全文
posted @
2021-05-05 20:31
z5337
阅读(622)
推荐(0) 编辑