I have a WCF Restful service which I am hosting as Windows service. I want to add cross domain support to my service. However, i can do this easily when I use global.asax fi
I believe that the closest thing to Application_BeginRequest in the WCF world are Message Inspectors:
A message inspector is an extensibility object that can be used in the service model's client runtime and dispatch runtime programmatically or through configuration and that can inspect and alter messages after they are received or before they are sent.
In order to use custom message inspectors you'll have to:
Here you can find more info and some sample code on how to do this.