摘要: 异常:System.IO.FileNotFoundException:“Could not find file 'F:\.net core stuty\Demo02\Demo02\bin\Debug\net6.0\Demo02.xml'.” 解决方法: 详细请见:.net 6 配置使用swagger 阅读全文
posted @ 2022-12-29 13:26 燕钰达 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 注:.net 6 注册使用Swagger 封装扩展静态类方法 注: C# .net core(.net 6) 注册使用Swagger 封装扩展静态类方法 一、Version版本控制 1、安装两个NuGet包 Microsoft.AspNetCore.Mvc.VersioningMicrosoft.A 阅读全文
posted @ 2022-12-29 13:20 燕钰达 阅读(1276) 评论(0) 推荐(0) 编辑
摘要: 注:Swagger配置参考:.net 6 配置使用swagger C#扩展静态类方法实现参考:https://www.cnblogs.com/spirit-ling/p/14537735.html 1、创建SwaggerExtension.cs 类 项目下创建Utility文件夹(用于存放扩展类) 阅读全文
posted @ 2022-12-29 11:07 燕钰达 阅读(471) 评论(0) 推荐(0) 编辑