What’s new in WCF 4.5? BasicHttpsBinding

Monday, October 10, 2011

This is the seventh post in the WCF 4.5 series. In previous posts we’ve examined two new security features of WCF 4.5 and IIS – multiple client credentials support, and default HTTPS endpoint support, both new features are IIS-specific (or to be more exact, web hosting specific). In this post we will look into a new security configuration option in WCF 4.5 – the BasicHttpsBinding. Previous posts: 1. What’s new in WCF 4.5? let’s start with WCF configuration 2. What’s new in WCF 4.5? a single WSDL file 3. What’s new in WCF 4.5? Configuration tooltips and intellisense in config files 4. What’s new...

What’s new in WCF 4.5? Automatic HTTPS endpoint for IIS

Wednesday, October 5, 2011

This is the sixth post in the WCF 4.5 series. In the previous post we’ve discussed new authentication features for services hosted in IIS, and this post is continuing the new IIS hosting features list - automatic HTTPS endpoints in IIS. Previous posts: 1. What’s new in WCF 4.5? let’s start with WCF configuration 2. What’s new in WCF 4.5? a single WSDL file 3. What’s new in WCF 4.5? Configuration tooltips and intellisense in config files 4. What’s new in WCF 4.5? Configuration validations 5. What’s new in WCF 4.5? Multiple authentication support on a single endpoint in IIS So what is the automatic HTTPS...
no comments

What’s new in WCF 4.5? Configuration validations

Sunday, September 25, 2011

This is the fourth post in the WCF 4.5 series, and a direct addition to the previous post, since I neglected to mention something important about editing configuration files in WCF 4.5 and Visual Studio 11 – validations during editing and compilation. Previous posts: 1. What’s new in WCF 4.5? let’s start with WCF configuration 2. What’s new in WCF 4.5? a single WSDL file 3. What’s new in WCF 4.5? Configuration tooltips and intellisense in config files In my last post I mentioned the problems we face when manually configuring services in the configuration file (app.config / web.config), mainly when dealing with service...

What’s new in WCF 4.5? Configuration tooltips and intellisense in config files

Monday, September 19, 2011

This is the third post in the WCF 4.5 series, and we’re still in the subject of configuration, but this time is about intellisense and tooltips in configuration files. Previous posts: 1. What’s new in WCF 4.5? let’s start with WCF configuration 2. What’s new in WCF 4.5? a single WSDL file One of the things that is truly annoying in WCF is the part of configuring the service using configuration files - you have to remember a lot of things by heart and type them without intellisense: Service/contract names (see my post about it) Names of behavior/binding configuration sections Binding names (is it netNamedPipeBinding? or...

What’s new in WCF 4.5? let’s start with WCF configuration

Friday, September 16, 2011

This week the new version of .NET was revealed at BUILD – .NET 4.5, and with it also the new version of WCF – WCF 4.5 There are many new features of WCF 4.5, most of them intended to make your life easier when configuring and hosting services, and some other to support features that we all waited for, such as UDP transport support and compressed binary encoding. So what will be the first new feature to explore? why configuration of course, the thing that troubles all WCF developers. Ever had the following scenario? – you create a service, expose it through...
48 comments

Who changed my IIS 7.5 configuration?

Monday, August 8, 2011

I was asked today whether you can find out who was the last person to change the IIS 7.5 configuration files in case someone made a mess with the configuration. This question is a decade-old question that bothers developers and IT all around the world - “Who touched my stuff?” When talking about code changes in your applications, it is quite easy to open the source control tool you are using (VSS, SVN, ClearCase, TFS…) and search the history list for the person who recently changed the files. When working with IIS configuration, it is a...
no comments

WCF configuration – using the correct service name

Thursday, August 4, 2011

In the last couple of weeks, I’ve been seeing several questions posted in the MSDN’s WCF forum about problems loading or consuming services, which eventually are found to be because of a misconfigured service name in the WCF configuration section (the <system.serviceModel>|<services> section). This is an example of a thread that ended by fixing the namespace in the configuration: http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/348c1b12-c0fd-489c-8c5d-213cf4367565 And this thread was a bit trickier, but also ended with a “small” mismatch problem: http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/044fc42b-859b-442d-b2b1-c209682a1d39 So let me just recap the purpose of the name attribute in the service section – when a...
no comments