文章分类 - .net学习笔记
摘要:hangfire.httpjob用的是basic认证,现在需要对接sso,支持oath2认证,没有找到相关的文章。只有自己找源码修改。 下载hangfire.httpjob源码 找到类HttpJob =》 方法PrepareHttpRequestMessage 修改类似如下的代码 if (!stri
阅读全文
摘要:[转].net core 通过ViewComponent封装控件 左侧菜单 本文转自:http://www.cnblogs.com/BenDan2002/p/6224816.html 我们在.net core中还使用了ViewComponent方式生成控件。ViewComponent也是asp.ne
阅读全文
摘要:第一步 在startup中注册 services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme) .AddCookie(CookieAuthenticationDefaults.AuthenticationSc
阅读全文