11 2021 档案
摘要:直接上代码,Swagger配置很多,我项目中只用到一些简单配置,感觉够用就可以了,有其他个性化需求的大家自己百度找教程配置 public static void AddSwaggerServices(this IServiceCollection services) { AuthConfig aut
阅读全文
摘要:以前都是重复造轮子,最近研究asp.net core的认证和授权,用起来还是很方便的。 配置类: using Auth.Core.ComponentExtensions; using Auth.Core.Configuration; using Microsoft.AspNetCore.Authen
阅读全文