摘要:
So far I’ve talked about the standards behind it all,but in fact WCF hides most of this from the developer by providing a programming interface for de 阅读全文
摘要:
While messaging protocols are responsible for message serialization formats,there must be a way to capture the protocols required to communicate betwe 阅读全文
摘要:
In Chapter 1,you were introduced to fundamental WCF concepts, 在章节1中,学习了wcf中的基础概念including how to create and consume a service, 包括如何创建以及调用服务how to host 阅读全文
摘要:
SummaryThis chapter covered a lot of ground,beginning with a look at the purpose of WCF,the problems it solves and its alignment with SOA,through disc 阅读全文
摘要:
1.查找本机上的端口使用情况 netstat -an 2.查找指定端口的使用情况 C:\Windows\System32>netstat -ano | find "8002" TCP 0.0.0.0:8002 0.0.0.0:0 LISTENING 2884 TCP [::]:8002 [::]:0 阅读全文
摘要:
1.第一种情况 百度上找到了这篇文章 http://blog.sina.com.cn/s/blog_6b44b2ba01016j0z.html 讲的是使用了using用完之后就释放了,得到启发,仔细检查了Host的代码 对比了Learning WCF第一章中的示例代码,发现用try finally来 阅读全文
摘要:
Exception Handling Statements (C# Reference) C# provides built-in support for handling anomalous situations, known as exceptions, which may occur duri 阅读全文
摘要:
主体代码如下 IServiceA proxyA; ChannelFactory factoryA = new ChannelFactory(); proxyA = factoryA.CreateChannel();仔细检查后发现上面的ChannelFactory的构造函数,忘记传递参数了IServ... 阅读全文
摘要:
Six important .NET concepts: Stack, heap, value types, reference types, boxing, and unboxing 阅读全文