随笔分类 -  asp.net mvc

上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页

js 获取 Url.Action 设置area
摘要:var url = '@Url.Action("UserEdit","User",new { Area = "Setup", id = 1})'; alert(url); 阅读全文

posted @ 2017-02-15 17:15 freeliver54 阅读(780) 评论(0) 推荐(0)

[转]Load ASP.NET MVC Partial Views Dynamically Using jQuery
摘要:本文转自:http://www.binaryintellect.net/articles/218ca630-ba50-48fe-af6e-6f754b5894aa.aspx Most of the times ASP.NET MVC views are rendered as a result of 阅读全文

posted @ 2017-02-15 17:13 freeliver54 阅读(388) 评论(0) 推荐(0)

[转]EntityFramework中常用的数据修改方式
摘要:本文转自:http://blog.csdn.net/itmaxin/article/details/47662151 上一篇文章里提到了 EntityFramework中常用的数据删除方式,那么修改对象值也有多种方式 第一种 同样是官方推荐的方式,先查询出来,再对要修改的字段赋值,这也应该是用的比较 阅读全文

posted @ 2017-02-14 11:06 freeliver54 阅读(319) 评论(0) 推荐(0)

[转](.NET Core C#) AES Encryption
摘要:本文转自:https://www.example-code.com/dotnet-core/crypt2_aes.asp 阅读全文

posted @ 2017-02-14 09:57 freeliver54 阅读(1174) 评论(8) 推荐(0)

[转]Asp.Net大型项目实践(11)-基于MVC Action粒度的权限管理【续】【源码在这里】(在线demo,全部源码)
摘要:本文转自:http://www.cnblogs.com/legendxian/archive/2010/01/25/1655551.html 接上篇Asp.Net大型项目实践(10)-基于MVC Action粒度的权限管理(在线demo,全部源码) 在线Demo: 地址:http://218.60. 阅读全文

posted @ 2017-02-10 09:33 freeliver54 阅读(509) 评论(0) 推荐(0)

[转].NET Core之Entity Framework Core 你如何创建 DbContext
摘要:本文转自:http://www.cnblogs.com/tdws/p/5874212.html 本文版权归博客园和作者吴双共同所有,欢迎转载,转载和爬虫请注明博客园蜗牛原文地址 http://www.cnblogs.com/tdws/p/5874212.html。 目前国内各大论坛,各位大牛的分享, 阅读全文

posted @ 2017-02-09 17:18 freeliver54 阅读(19126) 评论(4) 推荐(1)

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

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

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

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

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

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

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

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

[转]解读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 阅读(445) 评论(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 阅读(298) 评论(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 阅读(588) 评论(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 阅读(578) 评论(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 阅读(1406) 评论(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 阅读(485) 评论(0) 推荐(0)

[转] 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)

上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页

导航