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 阅读(1746) 评论(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 阅读(456) 评论(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 阅读(1659) 评论(2) 推荐(0)

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

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

posted @ 2017-01-04 10:39 freeliver54 阅读(366) 评论(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 阅读(322) 评论(0) 推荐(0)

[转]ASP.NET Core 之 Identity 入门(三)

摘要: 本文转自:http://www.cnblogs.com/savorboard/p/aspnetcore-identity3.html 前言 在上一篇文章中,我们学习了 CookieAuthentication 中间件,本篇的话主要看一下 Identity 本身。 最早2005年 ASP.NET 2. 阅读全文

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

[转]ASP.NET Core 之 Identity 入门(二)

摘要: 本文转自:http://www.cnblogs.com/savorboard/p/aspnetcore-identity2.html 前言 在 上篇文章 中讲了关于 Identity 需要了解的单词以及相对应的几个知识点,并且知道了Identity处在整个登入流程中的位置,本篇主要是在 .NET 整 阅读全文

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

[转]ASP.NET Core 之 Identity 入门(一)

摘要: 本文转自:http://www.cnblogs.com/savorboard/p/aspnetcore-identity.html 前言 在 ASP.NET Core 中,仍然沿用了 ASP.NET里面的 Identity 组件库,负责对用户的身份进行认证,总体来说的话,没有MVC 5 里面那么复杂 阅读全文

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

导航