摘要:
1、首先安装一个Kestrel服务器包 Microsoft.AspNetCore.Server.Kestrel 2、在Main方法中插入如下代码 static class Program { /// <summary> /// The main entry point for the applica 阅读全文
摘要:
如果报以下错误 The type initializer for 'OracleInternal.ServiceObjects.OracleConnectionImpl' threw an exception. 解决方式是将.csproj文件中插入以下红色代码: <PropertyGroup Con 阅读全文
摘要:
1、安装插件 Swashbuckle(版本5.6.0) 和 Swagger.Net.UI(版本1.1.0) 2、SwaggerNet类中注释掉一下代码: using System; using System.IO; using System.Web; using System.Web.Http; u 阅读全文