上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 92 下一页
http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx[代码]库文件:asp.net_mvc_routing_debugger.zip Read More
posted @ 2010-12-20 13:07 庚武 Views(247) Comments(0) Diggs(0) Edit
配置http://www.castleproject.org/container/documentation/v21/manual/windsorconfigref.htmlapp.config Read More
posted @ 2010-12-19 15:29 庚武 Views(1621) Comments(0) Diggs(0) Edit
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. Read More
posted @ 2010-12-18 16:36 庚武 Views(193) Comments(0) Diggs(0) Edit
示例代码: Read More
posted @ 2010-12-18 15:21 庚武 Views(330) Comments(0) Diggs(0) Edit
使用 PIVOT 和 UNPIVOTPIVOT 提供的语法比一系列复杂的 SELECT...CASE 语句中所指定的语法更简单和更具可读性。有关 PIVOT 语法的完整说明,请参阅 FROM (Transact-SQL)。以下是带批注的 PIVOT 语法。SELECT 非透视的列, [第一个透视的列] AS 列名称, [第二个透视的列] AS 列名称, ... [最后一个透视的列] AS 列名称,FROM (生成数据的 SELECT 查询) AS 源查询的别名PIVOT( 聚合函数(要聚合的列)FOR[包含要成为列标题的值的列] IN ( [第一个透视的列] Read More
posted @ 2010-12-16 15:03 庚武 Views(336) Comments(0) Diggs(0) Edit
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 Read More
posted @ 2010-12-14 00:09 庚武 Views(273) Comments(0) Diggs(0) Edit
WCF 预定义的绑定BasicHttpBinding 符合WSBasicProfile 1.1以提供最大的互操作性WSHttpBinding 符合WS-*协议的HTTP通信WSDualHttpBindind 双工HTTP通信,初始信息的接收者不会直接响应发送者,而是可以在一段时间之内传送任意次的响应.WSFederationBinding HTTP通信,对服务次源的访问可以根据一个显式确定的凭据提供程序发出的凭据加以控制.NetTcpBinding 提供网络里的WCF软件实体之间的安全,可靠,高性能的通信NetNamedPipeBinding 同一台机器上的WCF软件实体之间的安全,可靠 Read More
posted @ 2010-12-13 17:11 庚武 Views(272) Comments(0) Diggs(0) Edit
ABC: Address,Binding(BasicHttpBinding/WSHttpBinding/NetTcpBinding etc.),Contract1.添加一个WCF服务库项目App.config2.Host项目3.ClientApp Read More
posted @ 2010-12-12 21:01 庚武 Views(219) Comments(0) Diggs(0) Edit
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... Read More
posted @ 2010-12-09 14:56 庚武 Views(317) Comments(0) Diggs(0) Edit
该文被密码保护。 Read More
posted @ 2010-12-09 14:38 庚武 Views(5) Comments(0) Diggs(0) Edit
上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 92 下一页