Search Posts

Category: app-config

The Element behavior has invalid child “crossOriginResourceSharingBehavior”

I am consuming Wcf as Rest Service in Angular Js Application. I hosted it in Console Application . I added a Class to able to access GET ,POST , DELETE operation. I got following error in app.config file …When I run the Application its works but I cannot do the GET ,POST,DELETE operation. **The Element behavior has invalid child “crossOriginResourceSharingBehavior”** Here is My Class named as CORSEnablingBehavior public class CORSEnablingBehavior : BehaviorExtensionElement, IEndpointBehavior { public […]