Browse by Tags
All Tags »
WCF (
RSS)
Update : This post was updated and is much more explaining in this post, WCF Simple Example in Visual Studio 2010 On my WCF Introduction post I received a trackback to an example that should be really simple to start WCF with. I'm not here to judge...
As I've been pretty busy, it's been a while since my last post in the WCF series. 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...
A while ago I saw this decision chart to help choose 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...
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...
Because I'm doing presentations, demos and the WCF article series , I host a lot of WCF services inside a console application. Console applications are great for demonstrating something really quickly. When hosting a WCF service in a console application...
Last time we 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...
While having some fun writing a WCF chat application, I was having some troubles. I was using duplex communication over http, using the WsDualHttpBinding. The client needs to setup a callback channel for the service to... well, call back actually. Hence...
Last time we 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...
Finally .NET Framework 3.0 RTM'd , so I don't have to run in my VMWare anymore. A good time to see if everything works and create the host for the service contract we've created last time . We'll do this using a C# console application, as those just rock...
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 defined explicitly , via a class. You add a [ServiceContract] attribute to the class. All methods you want to...
I want to begin with a conceptual explanation about services. A service always has at least one endpoint, but can have multiple. A client normally communicates with only one endpoint. A plain-old-webservice only has one endpoint and communicates via HTTP...
I'm starting a series of posts about Windows Communication Foundation (WCF). The goal of the series is to introduce WCF to everyone who hasn't had the opportunity to experience WCF, for whatever reason. While other articles sometimes are too long...
More Posts
« Previous page