上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 157 下一页

2017年1月7日

[转]ASP.NET Core 中的那些认证中间件及一些重要知识点

摘要: 本文转自:http://www.qingruanit.net/c_all/article_6645.html 在读这篇文章之间,建议先看一下我的 ASP.NET Core 之 Identity 入门系列(一,二,三)奠定一下基础。 有关于 Authentication 的知识太广,所以本篇介绍几个在 阅读全文

posted @ 2017-01-07 14:26 freeliver54 阅读(1381) 评论(0) 推荐(0)

[转]Asp.Net Core 简单的使用加密的Cookie保存用户状态

摘要: 本文转自:http://www.cnblogs.com/Joes/p/6023820.html 在以前的Asp.Net中可以用 FormsAuthentication 类的一系列方法来使用加密的Cookie存储用户身份,使用简单,可控性强。在Asp.Net Core中是否也可以的?答案是当然的。 使 阅读全文

posted @ 2017-01-07 14:18 freeliver54 阅读(2990) 评论(1) 推荐(2)

[转]How to override HandleUnauthorizedRequest in ASP.NET Core

摘要: 本文转自:http://quabr.com/40446028/how-to-override-handleunauthorizedrequest-in-asp-net-core I'm migrating my project to asp.net core and I'm stuck in mig 阅读全文

posted @ 2017-01-07 14:08 freeliver54 阅读(882) 评论(0) 推荐(0)

[转].NET Core中的认证管理解析

摘要: 本文转自:http://www.cnblogs.com/durow/p/5783089.html 0x00 问题来源 在新建.NET Core的Web项目时选择“使用个人用户账户”就可以创建一个带有用户和权限管理的项目,已经准备好了用户注册、登录等很多页面,也可以使用AuthorizeAttribu 阅读全文

posted @ 2017-01-07 13:38 freeliver54 阅读(429) 评论(0) 推荐(1)

.net core ClaimsPrincipal Class

摘要: hClaimsPrincipal Class ttps://msdn.microsoft.com/en-us/library/system.identitymodel.services.claimsprincipalpermission(v=vs.110).aspx ClaimsPrincipalP 阅读全文

posted @ 2017-01-07 10:33 freeliver54 阅读(391) 评论(0) 推荐(0)

[转]Asp.Net 用户验证(自定义IPrincipal和IIdentity)

摘要: 本文转自:http://www.cnblogs.com/amylis_chen/archive/2012/08/02/2620129.html 阅读全文

posted @ 2017-01-07 09:11 freeliver54 阅读(309) 评论(4) 推荐(0)

2017年1月6日

[转]用Middleware给ASP.NET Core Web API添加自己的授权验证

摘要: 本文转自:http://www.cnblogs.com/catcher1994/p/6021046.html Web API,是一个能让前后端分离、解放前后端生产力的好东西。不过大部分公司应该都没能做到完全的前后端分离。API的实现方式有很 多,可以用ASP.NET Core、也可以用ASP.NET 阅读全文

posted @ 2017-01-06 16:34 freeliver54 阅读(391) 评论(0) 推荐(0)

[转]教你实践ASP.NET Core Authorization

摘要: 本文转自:http://www.cnblogs.com/rohelm/p/Authorization.html 本文目录 Asp.net Core 对于授权的改动很友好,非常的灵活,本文以MVC为主,当然如果说webapi或者其他的分布式解决方案授权,也容易就可以实现单点登录都非常的简单,可以使用现 阅读全文

posted @ 2017-01-06 15:39 freeliver54 阅读(4433) 评论(0) 推荐(1)

[转]MVC5 - ASP.NET Identity登录原理 - Claims-based认证和OWIN

摘要: 本文转自:http://www.cnblogs.com/jesse2013/p/aspnet-identity-claims-based-authentication-and-owin.html 在Membership系列的最后一篇引入了ASP.NET Identity,看到大家对它还是挺感兴趣的, 阅读全文

posted @ 2017-01-06 15:29 freeliver54 阅读(1150) 评论(0) 推荐(2)

[转]Web APi之认证(Authentication)及授权(Authorization)【一】(十二)

摘要: 本文转自:http://www.cnblogs.com/CreateMyself/p/4856133.html 前言 无论是ASP.NET MVC还是Web API框架,在从请求到响应这一过程中对于请求信息的认证以及认证成功过后对于访问页面的授权是极其重要的,用两节来重点来讲述这二者,这一节首先讲述 阅读全文

posted @ 2017-01-06 11:06 freeliver54 阅读(386) 评论(0) 推荐(0)

2017年1月5日

[转]How to: Create a Custom Principal Identity

摘要: 本文转自:https://msdn.microsoft.com/en-us/library/aa702720(v=vs.110).aspx The PrincipalPermissionAttribute is a declarative means of controlling access to 阅读全文

posted @ 2017-01-05 17:07 freeliver54 阅读(287) 评论(0) 推荐(0)

[转]An introduction to OAuth 2.0 using Facebook in ASP.NET Core

摘要: 本文转自:http://andrewlock.net/an-introduction-to-oauth-2-using-facebook-in-asp-net-core/ This is the next post in a series on authentication and authoris 阅读全文

posted @ 2017-01-05 15:53 freeliver54 阅读(435) 评论(0) 推荐(0)

[转]Code! MVC 5 App with Facebook, Twitter, LinkedIn and Google OAuth2 Sign-on (C#)

摘要: 本文转自:https://www.asp.net/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on This tutorial shows you h 阅读全文

posted @ 2017-01-05 10:53 freeliver54 阅读(794) 评论(0) 推荐(0)

[转]OAuth 2.0 - Authorization Code授权方式详解

摘要: 本文转自:http://www.cnblogs.com/highend/archive/2012/07/06/oautn2_authorization_code.html I:OAuth 2.0 开发前期准备 天上不会自然掉馅饼让你轻松地去访问到人家资源服务器里面的用户数据资源,所以你需要做的前期开 阅读全文

posted @ 2017-01-05 10:16 freeliver54 阅读(368) 评论(0) 推荐(0)

[转]C# 使用Nlog记录日志到数据库

摘要: 本文转自:http://www.cnblogs.com/weixing/archive/2013/04/26/3044422.html 摘要]Nlog是一个很不错的.NET日志记录组件,它可以将日志输出到控件台,保存到文本,也可以很方便的记录到数据库中。本文为你介绍C# 使用Nlog记录日志到数据库 阅读全文

posted @ 2017-01-05 10:12 freeliver54 阅读(805) 评论(4) 推荐(0)

2017年1月4日

[转].net core 通过ViewComponent封装控件 左侧菜单

摘要: 本文转自:http://www.cnblogs.com/BenDan2002/p/6224816.html 我们在.net core中还使用了ViewComponent方式生成控件。ViewComponent也是asp.net core的新特性,是对页面部分的渲染,以前PartialView的功能, 阅读全文

posted @ 2017-01-04 18:12 freeliver54 阅读(1743) 评论(0) 推荐(1)

[转]ASP.NET Core 开发-Logging 使用NLog 写日志文件

摘要: 本文转自:http://www.cnblogs.com/Leo_wl/p/5561812.html ASP.NET Core 开发-Logging 使用NLog 写日志文件。 NLog 可以适用于 .NET Core 和 ASP.NET Core 。 ASP.NET Core已经内置了日志支持,可以 阅读全文

posted @ 2017-01-04 18:01 freeliver54 阅读(454) 评论(2) 推荐(0)

[转]How do you create a custom AuthorizeAttribute in ASP.NET Core?

摘要: 问: I'm trying to make a custom authorization attribute in ASP.NET Core. In previous versions it was possible to override bool AuthorizeCore(HttpContex 阅读全文

posted @ 2017-01-04 11:01 freeliver54 阅读(1656) 评论(2) 推荐(0)

[转]ASP.NET Core 中间件详解及项目实战

摘要: 本文转自:http://www.cnblogs.com/savorboard/p/5586229.html 前言 在上篇文章主要介绍了DotNetCore项目状况,本篇文章是我们在开发自己的项目中实际使用的,比较贴合实际应用,算是对中间件的一个深入使用了,不是简单的Hello World,如果你觉得 阅读全文

posted @ 2017-01-04 10:39 freeliver54 阅读(363) 评论(0) 推荐(0)

[转]如何在ASP.NET Core中实现一个基础的身份认证

摘要: 本文转自:http://www.cnblogs.com/onecodeonescript/p/6015512.html 注:本文提到的代码示例下载地址> How to achieve a basic authorization in ASP.NET Core 如何在ASP.NET Core中实现一个 阅读全文

posted @ 2017-01-04 10:30 freeliver54 阅读(321) 评论(0) 推荐(0)

上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 157 下一页

导航