摘要:
WCF 4.0中的WS-DiscoveryWCF安全指南发布WCF 3.5对HTTP编程的增强WCF中的Stream操作WCF应用程序的程序集划分WCF中的自定义集合VS 2008 beta2英文版的SvcUtil问题在WCF中获取服务元数据信息WCF配置文件全攻略Programming WCF Services翻译笔记(一)Programming WCF Services基于SOA的体系架构设计通过实例分析WCF Duplex消息交换Web Service Software FactoryWindows Communication Foundation之旅(Part Four)Windows 阅读全文
摘要:
1.服务端创建wcf服务端程序,2.由生成工具生成代理类3.将代理类提供给客户端使用服务端程序由三部分组成1.接口2.实现接口3.宿主程序客户端调用方法IService ws = new ServiceClient(new NetTcpBinding(), new EndpointAddress("net.tcp://127.0.0.1:12345"));宿主程序代码: using (ServiceHost host = new ServiceHost(typeof(Service), new Uri("net.tcp://127.0.0.1:12345" 阅读全文
摘要:
WCF进阶:扩展EndpointBehavior实现全局参数验证摘要: 上一篇文章WCF进阶:扩展bindingElementExtensions支持对称加密传输阐述了如何扩展BindElementExtension来支持在配置文件中配置服务或者客户端代理,本文讲述另外一种应用,通过实现IEndpointBehavior来全局验证操作参数,并且进一步产生比较复杂的配置支持的实现。阅读全文posted @2010-04-18 19:31Robin Zhang 阅读(2448) |评论 (5)编辑WCF进阶:扩展bindingElementExtensions支持对称加密传输摘要: 前面两篇文.. 阅读全文
摘要:
delete from ItemForScore where ifsid not in (select min(ifsid) from ItemForScore group by itemid,topflag,isactive having COUNT(-1)>1) and itemid in (select itemid from ItemForScore group by itemid having COUNT(-1)>1)例如: id name value 1 a pp 2 ... 阅读全文
摘要:
// ===============================================================================// Microsoft Data Access Application Block for .NET// http://msdn.microsoft.com/library/en-us/dnbda/html/daab-rm.asp//// SQLHelper.cs//// This file contains the implementations of the SqlHelper and SqlHelperParameterCa 阅读全文
摘要:
if (blIsUser) { //将用户名称存入cookie FormsAuthentication.SetAuthCookie(strLogName, false); if (IsAdmin(strLogName)) { Response.Redirect("AdminGround/adminmain.aspx"); } else { Response.Redir... 阅读全文