The above blog <<ajax access to XML Web service security issues and solutions >> talk about XML Web service and WCF new and old architecture for Ajax security issues, but no specific verification, This article is just to validate the conclusion that the new Architecture Mex node and business endpoint separation is more beneficial to service security, with a little talk about how to interact with WCF in vs2008 with Ajax.
First step: Create a Web site in vs2008.
In vs2008, when you create a Web site, when you select a template for the. Net Framework 3.5, you create a good project with an AJAX-enabled configuration in Web.config. This is mentioned above. And there are AJAX control bars in the right-hand toolbox.
However, if you create a. NET Framework 2.0 Web site by default, Ajax is not supported in Web.config. But there are solutions, later.