Engage on Facebook Engage on Twitter Engage on LinkedIn Engage on GitHub components notes mobile card heart 2 infinite mirror 2 pricing support

Deploying ASP.NET 2.0 web services with AJAX

By Henry Kenuam
Here's an interesting thing we discovered when deploying an ASP.Net 2.0 site using AJAX calls (using HTTP POST).   In order to enable HTTP POST's for your web service you have to modify the web.config file to add the following:



<ADD name="HttpPost" />



(NOTE: if you are using SOAP or GET calls there are add parameters for those as well  ( ).

I don't recall having to make these changes for .Net 1.1.  Also, it's easy to get tricked here because it works in development environments.
Planning a DNN upgrade? Download our guide