Creating WCF Proxies with LinFu
It wasn’t until a few weeks ago that I discovered that Castle has this facility that manages WCF client proxies. I knew there was a server-side facility but the client stuff was new to me. Very well,...
View ArticleDataContractSerializer Throws ExecutionEngineException –...
In yeterday’s post, I mentioned that I would give the IDataContractSurrogate a try to solve this issue. And guess what? Problem solved! Mine anyway, I’m not sure if it will help in all cases, but...
View ArticleDataContractSerializer Throws ExecutionEngineException
Lost a few hours on this one today! Here’s what happened: At some point in our application I get hold of an object graph (an instance of a DataContract) which I need to serialize and store in the...
View ArticleFlexible WCF Exception Shielding
The past few evenings, I’ve tried to come up with something to shield exceptions in WCF. I am aware that there are quite some posts about this topic already, but I thought I’d share my...
View ArticleConfigure Your Type of OperationContext
In a previous post I wrote something about putting an NHibernate session in your operation context. Guess what? I ended up never using that implementation because shortly after actually putting that...
View ArticleLocalizing WCF Services with MessageInspectors
I am currently working on a web application with the following setup: Web server (ASP.Net MVC) talking to App server (WCF). The web app supports localization in three languages. As a result, many of...
View ArticleExtending WCF: Scoping NHibernate with a Custom Behavior
I am currently involved in a new CSD project where we have just started to discuss some basic architecture and design aspects. We still have A LOT to talk about, but some things are already pretty...
View Article