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

2017年2月9日

[转]Setting the NLog database connection string in the ASP.NET Core appsettings.json

摘要: 本文转自:https://damienbod.com/2016/09/22/setting-the-nlog-database-connection-string-in-the-asp-net-core-appsettings-json/ NLog posts in this series: The 阅读全文

posted @ 2017-02-09 11:37 freeliver54 阅读(1019) 评论(1) 推荐(0)

[转]Asp.Net MVC EF各版本区别

摘要: 本文转自:http://www.cnblogs.com/liangxiaofeng/p/5840754.html 2009年發行ASP.NET MVC 1.0版 2010年發行ASP.NET MVC 2.0版,VS2010 2011年發行ASP.NET MVC 3.0版+EF4,需要.Net4.0支 阅读全文

posted @ 2017-02-09 10:01 freeliver54 阅读(1162) 评论(0) 推荐(1)

2017年2月8日

[转]ASP.NET Core / MVC 6 HttpContext.Current

摘要: 本文转自:http://www.spaprogrammer.com/2015/07/mvc-6-httpcontextcurrent.html As you know with MVC 6, HttpContext is rewritten and one of the most used func 阅读全文

posted @ 2017-02-08 14:52 freeliver54 阅读(548) 评论(0) 推荐(0)

[转]How to use IHttpContextAccessor in static class to set cookies

摘要: 本文转自:http://stackoverflow.com/questions/37329354/how-to-use-ihttpcontextaccessor-in-static-class-to-set-cookies While i would advise staying away from 阅读全文

posted @ 2017-02-08 10:56 freeliver54 阅读(768) 评论(0) 推荐(0)

2017年2月6日

[转]使用 Razor 进行递归操作

摘要: 本文转自:http://www.cnblogs.com/zbw911/archive/2013/01/10/2855025.html 做一个菜单,多级的会遇到递归的问题,打算在code中做一个递归方法 ,一查之下发现,在 Razor 中原来有递归方法。 @helper NodeHelper(Node 阅读全文

posted @ 2017-02-06 16:25 freeliver54 阅读(1074) 评论(0) 推荐(0)

[转]Razor里写函数

摘要: 本文转自:http://blog.csdn.net/leftfist/article/details/43243177 asp.net mvc的视图里使用Razor来书写服务器代码,人尽皆知。可以常常见到里面写上for循环语句,输出一大堆东东,牛逼得很。 可是,如果循环语句还不能满足我们的要求,需要 阅读全文

posted @ 2017-02-06 16:24 freeliver54 阅读(314) 评论(0) 推荐(0)

[转]在视图中使用递归生成树状结构

摘要: 本文转自:http://www.cnblogs.com/JeffreyZhao/archive/2009/09/27/rendering-tree-like-structure-recursively.html 在开发过程中往往会有一个需求,就是将一个树状的数据结构在视图中表示出来。例如最传统的多级 阅读全文

posted @ 2017-02-06 16:17 freeliver54 阅读(803) 评论(0) 推荐(0)

2017年2月4日

[转]解读ASP.NET 5 & MVC6系列(8):Session与Caching

摘要: 本文转自:http://www.cnblogs.com/TomXu/p/4496445.html 在之前的版本中,Session存在于System.Web中,新版ASP.NET 5中由于不在依赖于System.Web.dll库了,所以相应的,Session也就成了ASP.NET 5中一个可配置的模块 阅读全文

posted @ 2017-02-04 14:23 freeliver54 阅读(448) 评论(3) 推荐(0)

[转]Implementing User Authentication in ASP.NET MVC 6

摘要: 本文转自:http://www.dotnetcurry.com/aspnet-mvc/1229/user-authentication-aspnet-mvc-6-identity In this article we will be implementing User Authentication 阅读全文

posted @ 2017-02-04 13:57 freeliver54 阅读(299) 评论(1) 推荐(0)

[转]ASP.NET Core基本原理(11)-管理应用程序状态

摘要: 本文转自:http://zhuchenglin.me/fundamentals-11-app-state?utm_source=tuicool&utm_medium=referral ASP.NET Core基本原理(11)-管理应用程序状态[译] 在ASP.NET Core中,应用程序的状态可以有 阅读全文

posted @ 2017-02-04 11:30 freeliver54 阅读(589) 评论(2) 推荐(1)

[转] .net core Session , Working with a distributed cache

摘要: 本文转自:https://docs.microsoft.com/en-us/aspnet/core/performance/caching/distributed By Steve Smith+ Distributed caches can improve the performance and s 阅读全文

posted @ 2017-02-04 11:24 freeliver54 阅读(580) 评论(0) 推荐(0)

[转]Session and application state in ASP.NET Core

摘要: 本文转自:https://docs.microsoft.com/en-us/aspnet/core/fundamentals/app-state By Rick Anderson and Steve Smith+ HTTP is a stateless protocol; the Web serve 阅读全文

posted @ 2017-02-04 11:21 freeliver54 阅读(1409) 评论(1) 推荐(0)

[转]Asp.net Core中使用Session

摘要: 本文转自:http://www.cnblogs.com/sword-successful/p/6243841.html 前言 2017年就这么悄无声息的开始了,2017年对我来说又是特别重要的一年。 元旦放假在家写了个Asp.net Core验证码登录, 做demo的过程中遇到两个小问题,第一是在A 阅读全文

posted @ 2017-02-04 11:16 freeliver54 阅读(487) 评论(0) 推荐(0)

[转]Cookie/Session机制详解

摘要: 本文转自:http://blog.csdn.net/fangaoxin/article/details/6952954/ 会话(Session)跟踪是Web程序中常用的技术,用来跟踪用户的整个会话。常用的会话跟踪技术是Cookie与Session。Cookie通过在客户端记录信息确定用户身份,Ses 阅读全文

posted @ 2017-02-04 11:03 freeliver54 阅读(200) 评论(0) 推荐(0)

2017年1月13日

[转] 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 阅读(303) 评论(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 阅读(537) 评论(0) 推荐(0)

[转]asp.net core视图组件(ViewComponent)简单使用

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

posted @ 2017-01-13 11:32 freeliver54 阅读(661) 评论(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 阅读(2032) 评论(0) 推荐(0)

2017年1月12日

[转].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 阅读(1516) 评论(0) 推荐(0)

[转]【无私分享:ASP.NET CORE 项目实战(第十四章)】图形验证码的实现

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

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

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

导航