-
I love ClickOnce, automated builds and a lot more Microsoft stuff. Unfortunately not for everything there is a simple solution. I ran into a new problem today. I was playing around with certificates, signed manifests and all of this in an automated build. I needed to make some application deployable...
-
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 the post (although I could ;-), but it got me thinking. Although I created some small posts on how WCF works, together it might still be too much for people that...
-
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. As you can see in the image, this is composed from...
-
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 scared by the size...
-
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, you require a pause so that your client applications...
-
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't forget to add the System.ServiceModel reference...
-
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 the name, I guess ;-) Anyway, by default it wants...
-
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 again. This endpoint is called a MEX endpoint, from...
-
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 in simplicity. We need a ServiceHost object to...
-
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 expose in your service, you mark as [OperationContract...
-
A while ago I had some problems uninstalling .NET 3.0 so I deleted everything, both files and everything related to WinFX in my registry. Not a smart thing to do. When installing the latest july CTP I had even more problems. I'm brave (read : crazy) enough to install everything on my own machine instead...
-
Sometimes I'm reading up on my subscribed weblogs and just see so much that I want to share. Inspired by Peter Provost his Geek Notes, this might be a repeatable feature. Waterfall 2006 This is the place to be. Forget about Agile 2006 , let's all meet at Waterfall 2006. At the website, don't forget to...
-
While Windows Workflow Foundation (WF) already had its own website for a while, Windows Communication Foundation (WCF) now also has its own website . It has some samples, some extensions, links to the MSDN forum and provides resources to some alternative websites with webcasts and more alike.