Rory Primrose

I don't have a solution but I admire the problem

Recent Posts

Tags

Community

Email Notifications

Archives

Browse by Tags

All Tags » WCF (RSS)
Lying to WCF
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...
WCF Security: Getting the password of the user
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...
Posted: Apr 07 2008, 08:41 PM by Rory Primrose | with 1 comment(s)
Filed under: ,
Implementing IErrorHandler
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...
Posted: Apr 07 2008, 04:08 PM by Rory Primrose | with 2 comment(s)
Filed under: ,
WCF, SSL and localhost
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...
Posted: Feb 28 2008, 10:05 PM by Rory Primrose | with no comments
Filed under: ,
WCF netTcpBinding service in WS2008 Beta 2
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...
Posted: Sep 18 2007, 09:35 PM by Rory Primrose | with no comments
Filed under:
ASMX interoperability with WCF
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...
Posted: Apr 20 2007, 03:42 PM by Rory Primrose | with 4 comment(s)
Filed under: , ,
WCF security articles
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
Posted: Apr 20 2007, 09:37 AM by Rory Primrose | with no comments
Filed under: ,
Does the WorkflowRuntime have a memory leak?
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...
Posted: Apr 17 2007, 12:15 PM by Rory Primrose | with no comments
Filed under: , ,
Orcas March CTP
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...
Posted: Mar 06 2007, 09:18 AM by Rory Primrose | with no comments
Filed under: , ,
WCF versioning
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
WCF and large messages
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...
WCF and caching with a dash of IOperationBehavior
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...
WCF services hosted in IIS
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...
TechEd session downloads for CON307 - WCF Manageability
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 .
TechEd - Developing Manageable WCF Services
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...
Posted: Aug 24 2006, 10:10 AM by Rory Primrose | with 1 comment(s)
Filed under: ,