随笔分类 -  40.Asp.net MVC

摘要:from:http://mvcsharp.wordpress.com/2010/01/09/setting-up-ioc-in-asp-net-mvc-using-castle-windsor/Abstract: This post gathers information needed to setting up Inversion of Control (IoC) in an ASP.NET MVC application using Castle Windsor.Introduction: Inprevious postI summarized how ASP.NET MVC compon 阅读全文
posted @ 2012-03-09 17:29 庚武 阅读(687) 评论(0) 推荐(1) 编辑
摘要:http://msdn.microsoft.com/en-us/library/e1f13641.aspxhttp://msdn.microsoft.com/en-us/library/h6bb9cz9.aspx<httpRuntime apartmentThreading = "[True|False]" appRequestQueueLimit = "number" delayNotificationTimeout = "number" enable = "[True|False]" enableHead 阅读全文
posted @ 2012-02-04 15:02 庚武 阅读(1399) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2011-10-29 01:08 庚武 阅读(5) 评论(1) 推荐(0) 编辑
摘要:Memcached 是一个高性能的分布式内存对象缓存系统,用于动态Web应用以减轻数据库负载。它通过在内存中缓存数据和对象来减少读取数据库的次数,从而提供动态、数据库驱动网站的速度。Memcached基于一个存储键/值对的hashmap。其守护进程(daemon )是用C写的,但是客户端可以用任何语言来编写,并通过memcached协议与守护进程通信。但是它并不提供冗余(例如,复制其hashmap条目);当某个服务器S停止运行或崩溃了,所有存放在S上的键/值对都将丢失。Memcached官方:http://danga.com/memcached/关于Memcached的介绍请参考:Memca. 阅读全文
posted @ 2011-03-01 17:29 庚武 阅读(61649) 评论(9) 推荐(6) 编辑
摘要:Validation是jQuery的一個很強的驗證使用者輸入的plugin,功能強就算了,還非常的有彈性,可以客制非常多的東西,這次要介紹的是7個Callback使用,讓用Validation更隨心所欲。 Callback 說明 預設值 submitHandler 在Submit之前,且所有驗證成功,可以在這裡改成用$.ajax()送出。 default (native) form submit invalidHandler 在Submit之前,且驗證失敗。 沒有 success 單項證驗成功,參數是err 阅读全文
posted @ 2011-01-24 14:45 庚武 阅读(429) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2011-01-21 10:59 庚武 阅读(11) 评论(0) 推荐(0) 编辑
摘要:asp.net mvc js验证:jquery.validate.js 阅读全文
posted @ 2010-12-30 14:30 庚武 阅读(332) 评论(0) 推荐(0) 编辑
摘要:Model:Controller中: 阅读全文
posted @ 2010-12-26 17:23 庚武 阅读(529) 评论(0) 推荐(0) 编辑
摘要:Difference Between ViewData and TempData?In one sentence: TempData are like ViewData with one difference: They only contain data between two successive requests, after that they are destroyed. You can use tempdata to pass error messages or something similar.Although outdated, this article has good d 阅读全文
posted @ 2010-12-25 09:34 庚武 阅读(162) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-12-24 17:46 庚武 阅读(3) 评论(0) 推荐(0) 编辑
摘要:In the first part of this chapter, you’ll learn about model binding, which is a powerful MVCFramework feature for handling data entry using conventions rather than writing lots of code.After that, you’ll see how to apply your knowledge of controllers, views, model binding, andMVC architecture with r 阅读全文
posted @ 2010-12-24 14:45 庚武 阅读(339) 评论(0) 推荐(0) 编辑
摘要:Rendering ViewData Items Using ViewData.EvalOne of the main uses for inline code is to pull out and display data from ViewData, either bytreating it as a dictionary (e.g., %= ViewData["message"] %) or as a strongly typed object(e.g., %= Model.LastUpdateDate.Year %). What you haven’t seen yet is 阅读全文
posted @ 2010-12-24 11:28 庚武 阅读(244) 评论(0) 推荐(0) 编辑
摘要:Using Filters to Attach Reusable BehaviorsIntroducing the Four Basic Types of FiltersNotice that ActionFilterAttribute is the default implementation for both IActionFilterand IResultFilter—it implements both of those interfaces. It’s meant to be totally generalpurpose, so it doesn’t provide any impl 阅读全文
posted @ 2010-12-21 10:46 庚武 阅读(996) 评论(1) 推荐(0) 编辑
摘要:from : Pro ASPnetMVCFramework使用: 阅读全文
posted @ 2010-12-20 15:28 庚武 阅读(304) 评论(0) 推荐(0) 编辑
摘要:http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx[代码]库文件:asp.net_mvc_routing_debugger.zip 阅读全文
posted @ 2010-12-20 13:07 庚武 阅读(249) 评论(0) 推荐(0) 编辑
摘要:http://msdn.microsoft.com/zh-cn/library/h6bb9cz9(VS.80).aspx 阅读全文
posted @ 2010-11-04 11:36 庚武 阅读(813) 评论(0) 推荐(0) 编辑
摘要:部分摘自:http://student.csdn.net/space.php?uid=42425&do=blog&id=8663 阅读全文
posted @ 2010-10-13 19:36 庚武 阅读(870) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2010-10-05 22:16 庚武 阅读(102) 评论(0) 推荐(0) 编辑
摘要:Stage 1:IISCan enable ASP.NET in one of two managed pipelinemodes:  a. In ISAPI mode, also called Classic mode, ASP.NETis invoked through an ISAPI extension (aspnet_isapi.dll), associated with particu... 阅读全文
posted @ 2010-10-05 18:22 庚武 阅读(309) 评论(0) 推荐(0) 编辑

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