[jQuery] Re: jsonp to WCF problem

2008-11-20 Thread Steve M

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


[jQuery] Re: jsonp to WCF problem

2008-11-20 Thread Steve M

err... might have been helpful if I included a link.

http://msdn.microsoft.com/en-us/library/cc716898.aspx



On Nov 20, 5:30 pm, Steve M [EMAIL PROTECTED] wrote:
 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