Tim Murphy's .NET Software Architecture Blog

Windows Communication Foundation

There are 4 entries for the tag Windows Communication Foundation

Accessing Authenticated WCF Services

When you make a service available external to your corporate network sometimes SSL isn’t secure enough. If you really want to limit the users who can access a service they need to tied to credentials. One of the most common credentials to tie to is a Windows account. What if you are the consumer of these services. When you add a service reference to a Visual Studio 2010 project it does not give you a chance to set credentials. The following example is how you can apply credentials to a service reference. ......

WCF Deployment To IIS

If you are developing you WCF service for web service deployment under IIS and coding with the Visual Studio web server you are in for a rude awakening when it comes time to deploy your solution. Ok, so that is a little over dramatic, but there are a few steps and precautions you need to know about. Below are the main steps to deploying your application to IIS assuming WCF is already installed and registered. The first step is to create an application pool. Make sure that for your .NET 3.5 WCF service ......

WCF Service Development Basics

Part of the fun of being a consultant is that the technology you use changes from day to day. Recently it is WCF which, while knowing the concepts of since it came out I haven’t used up until now. The nice thing is that it really isn’t any harder to develop for than a normal ASP.NET web service. A couple of the attributes change and which project type you start with is different, but it is still message based services. Just like the method of a web service needs a Webmethod attribute a method in ......

Sending Large Arrays With WCF

Windows Communication Foundation is a powerful tool for building contract based messaging. As with most powerful technologies with flexibility comes a fair amount of complexity. I ran into one of these situation while trying to send files as part of message in the form of a byte array. In itself this is a simple concept. The problem is that the default configuration of WCF is setup to protect us from denial of service attacks to the best of its ability. In order to achieve this it is setup for relatively ......