On this topic, I found this on MSDN today, seems like it might be a cleaner solution to the problem, has anyone tried a custom message Encoder? I found their sample and I'm going to implement it today, I'll let you know how it goes.
On Nov 20, 7:25 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Ah, i found it. You have to set the aspNetCompatibility > > Config file: > <system.serviceModel> > <serviceHostingEnvironment aspNetCompatibilityEnabled="true" > /> > > Service class: > [AspNetCompatibilityRequirements(RequirementsMode = > AspNetCompatibilityRequirementsMode.Required), > System.Runtime.InteropServices.GuidAttribute("09A4A7FA-97AC-4CF8- > B264-305EB987AC5F")] > public class myService : ImyService > > On 20 nov, 13:15, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I am trying to implement a HttpModule but can't get it to work. Can > > you please post the code plus config changes? > > In the documentation it looks like a HttpModule can not work withWCF. > > When you look athttp://msdn.microsoft.com/en-us/library/aa702682.aspx > > then you will see the folowing sentence: > > HttpModule extensibility: TheWCFhosting infrastructure intercepts > >WCFrequests when the PostAuthenticateRequest event is raised and does > > not return processing to the ASP.NET HTTP pipeline. Modules that are > > coded to intercept requests at later stages of the pipeline do not > > interceptWCFrequests. > > > On 20 nov, 08:06, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Could you make the JsonModule and JsonStream objects available? That > > > would save me a couple of hours making them myself. Your help is realy > > > appreciated. > > > > Thanks, > > > Edwin Vermeer