In VS2010 – you are provided with a template for AJAX enabled WCF Service.

Basically, all you need to do is Add an AJAX-enabled endpoint to a WCF service

1. Create a BehaviorConfiguration and specify enableWebScript for the behavior.

<behavior name="AspNetAjaxBehavior">
                <enableWebScript />
            </behavior>
2. Create an endpoint that uses that behavior
<endpoint address=""
                behaviorConfiguration="AspNetAjaxBehavior" 
                binding="webHttpBinding"
                contract="Microsoft.Ajax.Samples.ICalculator" />

Anuj holds professional certifications in Google Cloud, AWS as well as certifications in Docker and App Performance Tools such as New Relic. He specializes in Cloud Security, Data Encryption and Container Technologies.

Initial Consultation

Anuj Varma – who has written posts on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.