摘要: 1、验证码帮助类 namespace IdeaCore.Services.Common { public class ValidateCodeService : IValidateCodeService { private const string ValidateCodeKey = "Valida 阅读全文
posted @ 2020-06-18 17:28 Aaron_Net 阅读(543) 评论(0) 推荐(0)
摘要: 1. ConfigureServices services.AddControllersWithViews(config=>config.Filters.Add(typeof(ModelValidateActionFilterAttribute))); 2. ModelValidateActionF 阅读全文
posted @ 2020-06-18 16:09 Aaron_Net 阅读(375) 评论(0) 推荐(0)
摘要: net core 3.1 Authorize 1 //配置authorrize services.AddAuthentication(b => { b.DefaultAuthenticateScheme = CookieAuthenticationDefaults.AuthenticationSch 阅读全文
posted @ 2020-06-18 11:51 Aaron_Net 阅读(961) 评论(0) 推荐(0)