12 2010 档案
摘要:asp.net mvc js验证:jquery.validate.js
阅读全文
摘要:Model:Controller中:
阅读全文
摘要:http://sourceforge.net/projects/virtuawin/VirtuaWin is an application for the Windows user community that misses the wonderful multiple desktop functionality often used on Unix systems. It is simple, reliable and highly configurable, supporting up to 20 virtual desktops. 下载地址:http://sourceforge.net/
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:from : Pro ASPnetMVCFramework使用:
阅读全文
摘要:
阅读全文
摘要:http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx[代码]库文件:asp.net_mvc_routing_debugger.zip
阅读全文
摘要:配置http://www.castleproject.org/container/documentation/v21/manual/windsorconfigref.htmlapp.config
阅读全文
摘要:1.Linq2.Extension Methods3.Lambda Methods string [] names=new string[]{"bill","Jane","Bob"}; IEnumberablestring bs=name.Wherestring(deletegate(string s){ return s.StartWith("b"); });等同于: IEnumberablestring bs=names.Where( n = n.StartWith("b") );4.Generic Type Inference5.Automatic properties6.
阅读全文
摘要:使用 PIVOT 和 UNPIVOTPIVOT 提供的语法比一系列复杂的 SELECT...CASE 语句中所指定的语法更简单和更具可读性。有关 PIVOT 语法的完整说明,请参阅 FROM (Transact-SQL)。以下是带批注的 PIVOT 语法。SELECT 非透视的列, [第一个透视的列] AS 列名称, [第二个透视的列] AS 列名称, ... [最后一个透视的列] AS 列名称,FROM (生成数据的 SELECT 查询) AS 源查询的别名PIVOT( 聚合函数(要聚合的列)FOR[包含要成为列标题的值的列] IN ( [第一个透视的列]
阅读全文
摘要:http://www.geekzone.co.nz/vs2008/4653With Windows Communication Foundation (WCF), now developers can create interoperable services that send and receive messages between server and client. WCF is based on message based communication and supports many Communication Protocols like TCP, MSMQ, and HTTP
阅读全文
摘要:WCF 预定义的绑定BasicHttpBinding 符合WSBasicProfile 1.1以提供最大的互操作性WSHttpBinding 符合WS-*协议的HTTP通信WSDualHttpBindind 双工HTTP通信,初始信息的接收者不会直接响应发送者,而是可以在一段时间之内传送任意次的响应.WSFederationBinding HTTP通信,对服务次源的访问可以根据一个显式确定的凭据提供程序发出的凭据加以控制.NetTcpBinding 提供网络里的WCF软件实体之间的安全,可靠,高性能的通信NetNamedPipeBinding 同一台机器上的WCF软件实体之间的安全,可靠
阅读全文
摘要:ABC: Address,Binding(BasicHttpBinding/WSHttpBinding/NetTcpBinding etc.),Contract1.添加一个WCF服务库项目App.config2.Host项目3.ClientApp
阅读全文
摘要:var customers = BuildCustomers();var results = from c in customers from o in c.Orders where c.FirstName.Length >=5 && o.Product == "Milk" group by c into avg select new { avg.Key.Firs...
阅读全文
摘要:火狐浏览器功能强大,安全性高,但是它的启动速度比较慢,打开网页的速度也比较一般,但是我们可以通过简单的设置让它成为最优秀的浏览器,具体操作如下:在火狐地址栏中输入: about:config进入配置1.右键点击FireFox的快捷方式,在“属性”—“快捷方式”—“目标”,加上参数“ /Prefetch:1”。即:"C:Program FilesMozilla Firefox irefox.exe" /Prefetch:1”(注意:“/”前有空格)2.让火狐在最小化时自动释放内存:右击鼠标-新建-布尔(boolean)项,输入:config.trim_on_minimize,并设置为true。做
阅读全文
摘要:finally语句块中,i将变成3,但res=2.结论:在return之后,再执行finally语句.
阅读全文
摘要:Toad for mysql 比较强大的mysql 客户端,运行于windows.免费.官网:http://www.quest.com/toad-for-mysql/
阅读全文
摘要:AutoIT 3主页.http://www.autoitscript.com/autoit3/
阅读全文