Dennis van der Stelt

The most votes generally drown out the best votes

Community

News

  • Meet me at PDC08

Email Notifications

I read...

I Use...

Tags

Recent Posts

Archives

Browse by Tags

All Tags » .NET Framework 3.0 (RSS)
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...
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....
WCF Simple Example
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...
State machine workflow to difficult for you?
Recently Anko Duizer started a discussion inside Class-A about Windows Workflow Foundation, specifically about state machine workflow vs. sequential workflow. One point of discussion was why in (almost) every presentation out there, the sequential workflow...
WCF Part 7 : Bindings
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...
WCF Binding decision chart
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...
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...
Display WCF host details; code snippet
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...
WCF Part 5 : Consuming the service
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...
Finding available callback tcp port for a WCF chat client
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...
WCF Part 4 : Make your service visible through metadata
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...
WCF Part 3 : Hosting the service
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...
Presentation techniques
Jan wrote that he sees possibilities in Windows Presentation Foundation, for one that he doesn't need to bother with the design anymore. For developers this is indeed very good. I can see applications build in the future where you're obliged to some interface...
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 defined explicitly , via a class. You add a [ServiceContract] attribute to the class. All methods you want to...
WCF Part 1 : Services ABC
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...
More Posts Next page »