• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 








每日三省吾身
 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  Asp.net

1 2 下一页

 
AutoMapper
摘要:对象之间的映射工具,详细见:https://github.com/AutoMapper/AutoMapper 阅读全文
posted @ 2015-03-16 13:52 渔樵耕读2017 阅读(139) 评论(0) 推荐(0)
jQuery验证控件jquery.validate.js使用说明+中文API
摘要:官网地址:http://bassistance.de/jquery-plugins/jquery-plugin-validationjQuery plugin: Validation 使用说明转载自:http://blog.sina.com.cn/s/blog_608475eb0100h3h1.ht... 阅读全文
posted @ 2014-05-15 20:36 渔樵耕读2017 阅读(258) 评论(0) 推荐(0)
Quartz.NET
摘要:1. 官网:http://www.quartz-scheduler.net/2. 博客园: http://www.cnblogs.com/dudu/archive/2011/04/04/quartz_net.html http://www.cnblogs.com/shanyou/category/102991.html 阅读全文
posted @ 2013-09-13 23:04 渔樵耕读2017 阅读(335) 评论(0) 推荐(0)
Linux.net && mono
摘要:资料:http://www.cnblogs.com/xiaodiejinghong/archive/2013/04/01/2994216.htmlhttp://www.cnblogs.com/shanyou/archive/2012/07/28/2612919.html 阅读全文
posted @ 2013-09-03 23:01 渔樵耕读2017 阅读(181) 评论(0) 推荐(0)
CKEditor
摘要:http://ckeditor.comhttp://peterkeating.co.uk/using-ckeditor-with-razor-for-net-mvc3/ 阅读全文
posted @ 2013-08-08 22:58 渔樵耕读2017 阅读(220) 评论(0) 推荐(0)
Microsoft.NET企业级应用架构设计
摘要:http://nsk.codeplex.com/http://blogs.ugidotnet.org/mrbrightside/archive/2012/01/10/no-nsk-is-not-about-northwind.aspxDino Esposito: 一个领域模型的设计,http://kb.cnblogs.com/page/123821/ 阅读全文
posted @ 2012-12-21 16:40 渔樵耕读2017 阅读(216) 评论(0) 推荐(0)
orchard
摘要:1. 官网:http://docs.orchardproject.net2. 中文社区:http://www.orchardch.com/http://www.cnblogs.com/zhoujg/tag/Orchard/http://www.cnblogs.com/esshs/tag/Orchard/default.html?page=1 从http://www.microsoft.com/web/downloads/platform.aspx下载安装Microsoft Web Platform Installer 4.5 http://docs.orchardproject.net/ ht 阅读全文
posted @ 2012-11-21 18:32 渔樵耕读2017 阅读(591) 评论(0) 推荐(0)
Filter in ASP.NET MVC
摘要:在Asp.net MVC中,filter为cross-cutting concerns提供一个简单的实现方式。它共有4类Filter: 下边分别来讲述。 1. Authorization Filter Authorize filter可以用于action: [Authorize(Users="adam,steve,bob",Roles="admin")]publicActionResultIndex()也可以直接用于controller: [Authorize(Roles="Trader")]publicclassAdminContr 阅读全文
posted @ 2012-10-31 09:43 渔樵耕读2017 阅读(322) 评论(0) 推荐(0)
Model Binding in ASP.NET MVC
摘要:Request被处理到ActionInvoker时,ActionInvoker找到目标Action,方法列表的参数是怎么传递的? 这就需要理解Model Binding过程了。 看一个普通的action: publicViewResultPerson(intid) {varmyPerson=newPerson();returnView(myPerson); }请求http://mydomain.com/Home/Person/1 经过Route系统解析后,执行到Person。id的参数值解析过程为: Request.Form["id"] -> RouteData.Va 阅读全文
posted @ 2012-10-30 19:59 渔樵耕读2017 阅读(379) 评论(0) 推荐(0)
Controller Extensibility in ASP.NET MVC
摘要:在Asp.net MVC中,一个request过来后,mvc framework是怎么处理的:一个请求过来,经过Route系统的处理后, 它会找出适合request的controller和action的名称。注意,这个时候仅仅是找到了它的名称,那它怎么去创建对应的Controller,并调用action呢? 1. Controller Factory: 所有的Controller Factory都要实现IControllerFactory接口: publicinterfaceIControllerFactory{IControllerCreateController(Reques... 阅读全文
posted @ 2012-10-30 08:31 渔樵耕读2017 阅读(224) 评论(0) 推荐(0)
Urls, Routing and Area in Asp.net MVC
摘要:本文着重讲述Asp.net MVC的路由配置,url灵活动态输出以及Area的使用。 一、路由配置:这里忽略VS2010给默认生成的Route,按照先易后难的顺序来讲解。 在讲解route之前,先说一下url segment的概念。如对于url:http://mydomain.com/admin/index它的segment有2个。第一个是admin,第二个是index。基于segment,关于Route匹配规则,有3点特征:1)保守,它只匹配包含相同个数segment的url(Route配置中有默认值或者是optional的例外);2)开明,只要segment个数相同,它就接纳... 阅读全文
posted @ 2012-10-20 22:50 渔樵耕读2017 阅读(463) 评论(0) 推荐(0)
Model Validation in Asp.net MVC
摘要:本文用于记录Pro ASP.NET MVC 3 Framework中阐述的数据验证的方式。 先说服务器端的吧。最简单的一种方式自然是直接在Action方法中来进行了,如下: [HttpPost]publicViewResultMakeBooking(Appointmentappt){if(String.IsNullOrWhiteSpace(appt.ClientName)){ModelState.AddModelError("ClientName","Pleaseenteryourname");}if(ModelState.IsValidField(&q 阅读全文
posted @ 2012-10-15 18:50 渔樵耕读2017 阅读(920) 评论(0) 推荐(0)
HttpRuntime.Cache vs. HttpContext.Current.Cache
摘要:Here's a development tip I came across on one of the ASP.NET discussion lists I'm on, atAspAdvice.com.Original question:Is there a difference in accessing the Cache of an application when calling HttpRuntime.Cache vs. HttpContext.Current.Cache? I "think" I remember reading about a 阅读全文
posted @ 2012-10-11 11:43 渔樵耕读2017 阅读(157) 评论(0) 推荐(0)
Parallel Programming Easier than ever using .NET Framework 4
摘要:The .NET Framework 4 Provides support for parallel loops and regions easily if you compare to the older versions of .Net such as using System.Threading now with the introduction of the Parallel class it now provides library-based data parallel operations such as for loops, for each loops, and invoke 阅读全文
posted @ 2012-09-18 17:53 渔樵耕读2017 阅读(278) 评论(0) 推荐(0)
你未必真正了解的Singleton
摘要:缘于http://www.cnblogs.com/TomXu/archive/2011/12/19/2291448.html这篇文章,发现胖哥对于singleton的分析仍然不是十分深入,借鉴CLR via C#,再次深入完美一下singleton。 经典的double-check locking: publicclassSingleton{privatestaticSingletoninstance;privatestaticreadonlyObjectsyncRoot=newObject();privateSingleton(){}publicstaticSingletonG... 阅读全文
posted @ 2012-09-05 09:40 渔樵耕读2017 阅读(260) 评论(0) 推荐(0)
URL Rewrite
摘要:1. 原理:http://www.cnblogs.com/jeffreyzhao/archive/2008/01/12/url-rewrite-1.html2. url解析:For example, if a request was made for this URL: http://www.mysite.com/content/default.aspx?tabid=2&subtabid=3, and a rewrite rule was defined on the site level then: The rule pattern gets the URL string conte 阅读全文
posted @ 2012-05-16 16:25 渔樵耕读2017 阅读(267) 评论(0) 推荐(0)
使用antixss防御xss
摘要:下载地址:http://www.microsoft.com/download/en/details.aspx?id=28589参考:http://www.cnblogs.com/zxktxj/archive/2012/02/10/2345059.html http://www.cnblogs.com/cnsanshao/archive/2012/02/16/2354160.html 阅读全文
posted @ 2012-04-16 14:04 渔樵耕读2017 阅读(192) 评论(0) 推荐(0)
一篇很不错的有关ASP.NET Session的分析文章
摘要:Session模型简介Session 是什么呢?简单来说就是服务器给客户端的一个编号。当一台WWW服务器运行时,可能有若干个用户浏览正在运正在这台服务器上的网站。当每个用户首次与这台 WWW服务器建立连接时,他就与这个服务器建立了一个Session,同时服务器会自动为其分配一个SessionID,用以标识这个用户的唯一身份。这 个SessionID是由WWW服务器随机产生的一个由24个字符组成的字符串,我们会在下面的实验中见到它的实际样子。这个唯一的 SessionID是有很大的实际意义的。当一个用户提交了表单时,浏览器会将用户的SessionID自动附加在HTTP头信息中,(这是浏览器的自动 阅读全文
posted @ 2011-10-26 18:14 渔樵耕读2017 阅读(220) 评论(0) 推荐(0)
URL Rewrite Module Configuration Reference
摘要:About the URL Rewrite moduleThe Microsoft URL Rewrite Module 2.0 for IIS 7 enables IIS administrators to create powerful customized rules to map request URLs to friendly URLs that are easier for users to remember and easier for search engines to find. You can use the URL Rewrite module to perform UR 阅读全文
posted @ 2011-06-29 15:52 渔樵耕读2017 阅读(349) 评论(0) 推荐(0)
ASP.NET Cache
摘要:IntroductionCaching is a technique of storing data in memory which takes time to create. Caching is one of the best features of the ASP.NET. For example, you could cache the data from complex query wh... 阅读全文
posted @ 2010-08-13 14:18 渔樵耕读2017 阅读(431) 评论(0) 推荐(0)
 

1 2 下一页