01 2017 档案

[转] asp.net core Introducing View Components
摘要:本文转自:http://www.c-sharpcorner.com/uploadfile/8c19e8/asp-net-5-getting-started-with-asp-net-mvc-6/ Introducing View Components Another cool feature in 阅读全文

posted @ 2017-01-13 12:20 freeliver54 阅读(291) 评论(0) 推荐(0) 编辑

[转]ASP.NET Core 十种方式扩展你的 Views
摘要:本文转自:http://www.cnblogs.com/savorboard/p/aspnetcore-views.html 原文地址:http://asp.net-hacker.rocks/2016/02/18/extending-razor-views.html 作者:Jürgen Gutsch 阅读全文

posted @ 2017-01-13 11:35 freeliver54 阅读(528) 评论(0) 推荐(0) 编辑

[转]asp.net core视图组件(ViewComponent)简单使用
摘要:本文转自:http://www.cnblogs.com/dralee/p/6170496.html 一、组成: 一个视图组件包括两个部分,派生自ViewComponent的类及其返回结果。类似控制器。 定义一个视图组件,如控制器一样,必须是公开,非嵌套,非抽象的类。一般,视图组件名称为类名去掉”Vi 阅读全文

posted @ 2017-01-13 11:32 freeliver54 阅读(650) 评论(0) 推荐(0) 编辑

[转]ASP.NET Core集成微信登录
摘要:本文转自:http://www.cnblogs.com/early-moon/p/5819760.html 工具: Visual Studio 2015 update 3 Asp.Net Core 1.0 1 准备工作 申请微信公众平台接口测试帐号,申请网址:(http://mp.weixin.qq 阅读全文

posted @ 2017-01-13 09:11 freeliver54 阅读(2007) 评论(0) 推荐(0) 编辑

[转].Net Core上用于代替System.Drawing的类库
摘要:本文转自:http://www.tuicool.com/wx/iuaINjy 目前.Net Core上没有System.Drawing这个类库,想要在.Net Core上处理图片得另辟蹊径。 微软给出了将来取代System.Drawing的方案,偏向于使用一个单独的服务端进行各种图片处理 https 阅读全文

posted @ 2017-01-12 16:53 freeliver54 阅读(1499) 评论(0) 推荐(0) 编辑

[转]【无私分享:ASP.NET CORE 项目实战(第十四章)】图形验证码的实现
摘要:本文转自:http://www.cnblogs.com/yuangang/p/6000460.html 目录索引 【无私分享:ASP.NET CORE 项目实战】目录索引 简介 很长时间没有来更新博客了,一是,最近有些忙,二是,Core也是一直在摸索中,其实已经完成了一个框架了,并且正在准备在生产环 阅读全文

posted @ 2017-01-12 16:29 freeliver54 阅读(667) 评论(0) 推荐(0) 编辑

[转]在离线环境中发布.NET Core至Windows Server 2008
摘要:本文转自:http://www.cnblogs.com/durow/p/5765145.html 0x00 写在开始 之前一篇博客中写了在离线环境中使用.NET Core,之后一边学习一边写了一些页面作为测试,现在打算发布一下试试。看了下官方给出的发布教程感觉挺详细的了(https://docs.a 阅读全文

posted @ 2017-01-11 10:41 freeliver54 阅读(364) 评论(0) 推荐(0) 编辑

[转]ASP.NET Core 1 Deploy to IIS
摘要:本文转自: http://webmodelling.com/webbits/aspnet/aspnet-deploy-iis.aspx 15 Sep 2016. This tutorial will show step by step how to deploy an ASP.NET Core 1 阅读全文

posted @ 2017-01-11 10:05 freeliver54 阅读(339) 评论(1) 推荐(0) 编辑

[转]Publishing and Running ASP.NET Core Applications with IIS
摘要:本文转自:https://weblog.west-wind.com/posts/2016/Jun/06/Publishing-and-Running-ASPNET-Core-Applications-with-IIS#DoyouneedIIS? When you build ASP.NET Core 阅读全文

posted @ 2017-01-10 17:47 freeliver54 阅读(540) 评论(2) 推荐(0) 编辑

[转].NET Core配置文件加载与DI注入配置数据
摘要:本文转自:http://www.cnblogs.com/skig/p/6079187.html .NET Core配置文件 在以前.NET中配置文件都是以App.config / Web.config等XML格式的配置文件,而.NET Core中建议使用以JSON为格式的配置文件,因为使用起来更加方 阅读全文

posted @ 2017-01-09 16:02 freeliver54 阅读(428) 评论(0) 推荐(0) 编辑

[转]解读ASP.NET 5 & MVC6系列(7):依赖注入
摘要:本文转自:http://www.cnblogs.com/TomXu/p/4496440.html 在前面的章节(Middleware章节)中,我们提到了依赖注入功能(Dependency Injection),ASP.NET 5正式将依赖注入进行了全功能的实现,以便开发人员能够开发更具弹性的组件程序 阅读全文

posted @ 2017-01-09 15:42 freeliver54 阅读(594) 评论(0) 推荐(0) 编辑

[转] EF Configuring a DbContext
摘要:本文转自:https://docs.microsoft.com/en-us/ef/core/miscellaneous/configuring-dbcontext Note This documentation is for EF Core. For EF6.x, see Entity Framew 阅读全文

posted @ 2017-01-09 15:20 freeliver54 阅读(590) 评论(0) 推荐(0) 编辑

[转]ASP.NET Core--根据方案来限制身份
摘要:本文转自:http://www.cnblogs.com/duyao/p/5980105.html 翻译如下: 在某些情况下,比如单页的应用程序,可以与多种认证来方式结合。例如,您的应用程序可能使用基于Cookie的身份验证来登录和JavaScript的请求承载认证。在某些情况下,可能一个授权验证的中 阅读全文

posted @ 2017-01-07 15:30 freeliver54 阅读(330) 评论(0) 推荐(0) 编辑

[转]Writing Custom Middleware in ASP.NET Core 1.0
摘要:本文转自:https://www.exceptionnotfound.net/writing-custom-middleware-in-asp-net-core-1-0/ One of the new features from ASP.NET Core 1.0 is the idea of Mid 阅读全文

posted @ 2017-01-07 15:18 freeliver54 阅读(296) 评论(0) 推荐(0) 编辑

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

posted @ 2017-01-07 14:26 freeliver54 阅读(1377) 评论(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 阅读(2984) 评论(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 阅读(879) 评论(0) 推荐(0) 编辑

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

posted @ 2017-01-07 13:38 freeliver54 阅读(420) 评论(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 阅读(388) 评论(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 阅读(305) 评论(4) 推荐(0) 编辑

[转]用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 阅读(386) 评论(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 阅读(4424) 评论(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 阅读(1143) 评论(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 阅读(374) 评论(0) 推荐(0) 编辑

[转]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 阅读(281) 评论(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 阅读(425) 评论(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 阅读(789) 评论(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 阅读(364) 评论(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 阅读(798) 评论(4) 推荐(0) 编辑

[转].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 阅读(1733) 评论(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 阅读(443) 评论(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 阅读(1647) 评论(2) 推荐(0) 编辑

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

posted @ 2017-01-04 10:39 freeliver54 阅读(357) 评论(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 阅读(312) 评论(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 阅读(927) 评论(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 阅读(317) 评论(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 阅读(308) 评论(0) 推荐(0) 编辑

[转]用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-03 11:22 freeliver54 阅读(1206) 评论(0) 推荐(0) 编辑

[转]NET Core中实现一个Token base的身份认证
摘要:本文转自:http://www.cnblogs.com/Leo_wl/p/6077203.html 注:本文提到的代码示例下载地址> How to achieve a bearer token authentication and authorization in ASP.NET Core 在ASP 阅读全文

posted @ 2017-01-03 11:11 freeliver54 阅读(3233) 评论(3) 推荐(0) 编辑

[转]MVC过滤器
摘要:本文转自:http://www.cnblogs.com/HopeGi/p/3342083.html APS.NET MVC中(以下简称“MVC”)的每一个请求,都会分配给相应的控制器和对应的行为方法去处理,而在这些处理的前前后后如果想再加一些额外的逻辑处理。这时候就用到了过滤器。 MVC支持的过滤器 阅读全文

posted @ 2017-01-03 09:14 freeliver54 阅读(220) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示