malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 27 下一页

2012年6月17日

How to publish metadata for WF service---Weird problem.

摘要: recently ,when i was coding a simple enought wf service program.i found a weird problem by using the Wcf test client tool.my wcf endpoint is http://localhost:8000/WFServicesbut if i acess this address in my chrome.i got a message like this. The service page has some helpful tips to enable metadata f 阅读全文

posted @ 2012-06-17 13:33 malaikuangren 阅读(194) 评论(0) 推荐(0)

2012年6月16日

Hosting a WCF service in a Windows Service

摘要: In my last post I explained how you could use WCF and MSMQ to respond to messages asynchronously. We've setup a class library with our service, a console application for our host and a console application for our client. In this post I'll explain how we can use the class library again for ho 阅读全文

posted @ 2012-06-16 20:35 malaikuangren 阅读(179) 评论(0) 推荐(0)
WCF and MSMQ

摘要: It's been a while since I blogged about one of my favorite topics, Windows Communication Foundation.In this article I'll explain how you can use MSMQ with WCF to really process messages asynchronously. It's unbelievable how easy this is. Read my completeWCF serieson how to set up your fi 阅读全文

posted @ 2012-06-16 20:34 malaikuangren 阅读(296) 评论(0) 推荐(0)
WCF Part 7 : Bindings

摘要: As I've been pretty busy, it's been a while since my last post in the WCFseries. But let's have a look at bindings now. A binding will tell a client what's necessary to connect to the service. In other words, how we connect is described by the binding. As you can see in the image, th 阅读全文

posted @ 2012-06-16 20:32 malaikuangren 阅读(222) 评论(0) 推荐(0)
WCF Binding decision chart

摘要: A while ago I saw this decision chart to helpchoose a WCF default binding. Unfortunately I cannot remember where it came from. The problem I had with it was that you could only reach wsHttpBinding if you had to use interop. But you might need to use HTTP for a transport. Also the local option came t 阅读全文

posted @ 2012-06-16 20:29 malaikuangren 阅读(234) 评论(0) 推荐(0)
WCF Part 6 : Address

摘要: We'll return once again to the WCF ABC and in this part we'll examine what we can do with the address of our service. There are many options on how to specify the address of your service, especially when you start combining options. But I'll discuss the three main options. Don't be s 阅读全文

posted @ 2012-06-16 20:26 malaikuangren 阅读(308) 评论(0) 推荐(0)
WCF Part 4 : Make your service visible through metadata

摘要: Last timewe saw how we could create an instance of our service by hosting it using some configuration in our app.config. We still need to have it exposed using metadata though. We'll do this by adding an endpoint that exposed this, using our WCF ABC again. This endpoint is called a MEX endpoint, 阅读全文

posted @ 2012-06-16 20:25 malaikuangren 阅读(147) 评论(0) 推荐(0)
WCF Part 5 : Consuming the service

摘要: Last timewe generated the client and configuration file. Whereas in the asmx world we had a proxy class, the WCF team renamed this in the June CTP to client. For us to use the generated files, we need a new console application and add the files. Don't forget to add the System.ServiceModel refere 阅读全文

posted @ 2012-06-16 20:25 malaikuangren 阅读(165) 评论(0) 推荐(0)
WCF Part 3 : Hosting the service

摘要: Finally .NET Framework 3.0RTM'd, so I don't have to run in my VMWare anymore. A good time to see if everything works and create the host fortheservice contractwe've created last time. We'll do this using a C# console application, as those just rock in simplicity.We need a ServiceHost 阅读全文

posted @ 2012-06-16 20:00 malaikuangren 阅读(175) 评论(0) 推荐(0)
WCF Part 2 : Defining contract

摘要: As seen in the previous article, we need an address, binding and contract to complete the WCF ABC. We'll start at the contract.A contract is definedexplicitly, via a class. Youadd a [ServiceContract] attribute to the class. All methods you want to expose in your service, you mark as [OperationCo 阅读全文

posted @ 2012-06-16 19:58 malaikuangren 阅读(167) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 27 下一页