博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  WCF

摘要:WCF相关测试工具,文章... 阅读全文

posted @ 2008-05-20 23:37 江南白衣 阅读(1762) 评论(1) 推荐(0)

摘要:The Managed Services Engine (MSE) is one approach to facilitating Enterprise SOA through service virtualization. Built upon the Windows Communication Foundation (WCF) and the Microsoft Server Platform, the MSE was developed by Microsoft Services as we helped customers address the challenges of SOA in the enterprise. The MSE fully enables service virtualization through a Service Repository, which helps organizations deploy services faster, coordinate change management, and maximize the 阅读全文

posted @ 2008-05-20 23:01 江南白衣 阅读(728) 评论(0) 推荐(0)

摘要:If you are trying to do real time monitoring in WCF check out Live Trace Viewer. Craig Mcmurtry and Vittorio Bertocci from the Technology Evangelism team put together this cool tool to help to diagnose interactions between WCF service while is happening. This is an additional tool to the existing trace features in WCF. 阅读全文

posted @ 2008-05-20 21:22 江南白衣 阅读(776) 评论(0) 推荐(0)

摘要:Project Description Visual Studio 2005 shipped with a very nice feature called debugger visualizers. In accordance with their names, debugger visualizers allow you to visually view useful information about objects during debug. WCF Visualizers contain 5 visualizers: 1. Message Visualizer 2. ChannelDispatcher Visualizer 3. ServiceDescription Visualizer 4. ServiceHost Visualizer 5. ServiceEndpoint for the client side. 阅读全文

posted @ 2008-05-20 20:25 江南白衣 阅读(540) 评论(0) 推荐(0)

摘要:This is a digest of WCF Security resources I was collecting for some time. Drop me a comment in case it is useful. 阅读全文

posted @ 2008-05-12 00:20 江南白衣 阅读(561) 评论(0) 推荐(0)

摘要:当maxConnections 10的时候,服务会抛出EndpointNotFoundException异常。 解决方法: binding="mexTcpBinding" contract="IMetadataExchange" / 修改mexTcpBinding的端口,不要与baseAddress的端口一样。 阅读全文

posted @ 2007-10-17 16:23 江南白衣 阅读(2048) 评论(1) 推荐(0)

摘要:分布式下的Linq to sql 阅读全文

posted @ 2007-10-15 21:14 江南白衣 阅读(687) 评论(0) 推荐(0)

摘要:LINQ to SQL 在分布式环境下的应用 阅读全文

posted @ 2007-10-15 21:09 江南白衣 阅读(1769) 评论(3) 推荐(0)

摘要:ConfigSource for wcf config 原文地址:http://weblogs.asp.net/cibrax/archive/2007/07/24/configsource-attribute-on-system-servicemodel-section.aspx 阅读全文

posted @ 2007-08-10 00:16 江南白衣 阅读(998) 评论(12) 推荐(0)

摘要:  用IPrincipal作为参数在WCF中传输的时候,比如:client.Ahenticate(Thread.CurrentPrincipal); 总是提示说无法正常序列化,琢磨了好多天都不清楚怎么回事。刚才在看《Programming WCF Service》一书中的“Data Contract Hierarchy”章节的时候,找到了解决方法:在[ServiceContract]下加上:  [ServiceKnownType(typeof(GenericPrincipal))] [ServiceKnownType(typeof(GenericIdentity))]   其它无法序列化的解决方法也类似。 阅读全文

posted @ 2007-07-15 22:00 江南白衣 阅读(499) 评论(1) 推荐(0)

摘要:《Programming.WCF.Services》这本书里的Credentials Manager utility也有上Membership和Role的包装,可是在我看来过于复杂了:),所以自己做了下面的“工作”。PWS这本书的随书代码(WCF的一些扩展,一些工具,帮助类)写得很不错,我手上有,不知道是否应该放出来跟大家Sharing,请各位指点,谢谢。   BTW:个人觉得最近园子里好像有点死气沉沉的,不知道各位是否有所感觉:)   不废话了。翠花,上代码: 阅读全文

posted @ 2007-06-28 18:28 江南白衣 阅读(63667) 评论(11) 推荐(0)

摘要:讨论: Using WCF for database operations How to return datatable from a typed dataset using WCF service and Jun CTP ? 作为WCF的实践指导,这个原则在《Programming WCF Services》一书里也说明了: Appendix C. WCF Coding Standard 阅读全文

posted @ 2007-05-26 16:37 江南白衣 阅读(24848) 评论(7) 推荐(0)

摘要: 如果用self-host的方式来加载服务的话,我们一般是用这样的代码:ServiceHost host1 = new ServiceHost(typeof(UserService)); 问题是,如果当你的服务很多的时候这样做是不胜其烦的,今天在看Ingo Rammer(大名鼎鼎的《Advanced .Net Remoting》作者)的Blog的时候,看到了他解决这一问题的方法 阅读全文

posted @ 2007-05-25 21:45 江南白衣 阅读(31473) 评论(14) 推荐(1)