Browse by Tags
All Tags »
WCF (
RSS)
There are cases when you need to transmit username/password credentials to WCF without transport security. The times that you should do this are rare because of the obvious security implications of sending credentials over the wire without encryption...
A common problem with service security is that username/password security is needed for authentication and authorization at the service boundary, but those same credentials are also required to consume other resources such as a database or underlying...
As soon as I read about IErrorHandler in Juval Lowy's book , I was sold. This interface in WCF is excellent to use for error handling and shielding at service boundaries. The interface comes with two methods. ProvideFault allows you to handle the error...
We encountered an interesting issue at work over the last week. We are writing WCF services and implementing transport security to communicate with IIS. For local development, we had certificates created by a certificate server and configured onto the...
Yesterday I got the opportunity to start playing with Windows Communication Foundation net.tcp services hosted in WAS on Windows Server 2008 (Beta 2). There were a couple of hiccups, but it was surprisingly painless. Firstly, I got the service up and...
If you have an ASMX client, you can get it to call a WCF endpoint with some restrictions. You have to use the basicHttpBinding on the WCF service and the service implementation (or contract) needs to be decorated with the XmlSerializerFormat attribute...
I've been reading up on WCF security recently. These two articles by Michele Leroux Bustamante are well worth the read. http://www.code-magazine.com/articleprint.aspx?quickid=0611051 http://www.theserverside.net/tt/articles/showarticle.tss?id=ClaimsBasedSecurityModel
Over the last week at work, we have been doing some testing of our Windows Communication Foundation services that call into a business layer that uses Windows Workflow Foundation . We have the services set as single instance, and we are using a new instance...
The Orcas March CTP has been released . There are a few things in the release which I think are really important, at least for my current work. WCF send/receive activity for WF - I was about to write my own and probably will still have to for the 3.0...
MSDN has a set of articles regarding WCF versioning that are good to cast your eyes over. Service Versioning Data Contract Versioning Best Practices: Data Contract Versioning Collection Types in Data Contracts
I am getting some interesting results when messages are returned from a WCF service. Small responses come through fine. When the responses start to get large, I run into the QuotaExceededException exception. This is fine because you can increase the MaxReceivedMessageSize...
I have been looking at caching support and WCF recently. I have come across a few solutions. These are: Calling through HttpRuntime to get at the ASP.Net cache Using Enterprise Library Caching Block Rolling your own implementation, usually storing data...
Today I have been playing with a WCF service hosted in IIS. Previously, I have always used the self-hosted services running from a console application. I am having issues with IIS hosting because although the service code is running correctly, the client...
I have posted a download of the session Chris and I did at TechEd this year. The download contains the solutions for the demos, my demo notes and the PowerPoint presentation deck. Download CON307 WCF Manageability .
Chris and I got to the presentation room early in the morning so we could setup and make sure everything was sorted. We then went out to have a relaxed breakfast at a cafe on Darling Harbour before the session started at 8:30. I really enjoyed the experience...