I have an ASP.Net 3.5 application in which I would like to setup some web services for AJAX consumption for ONLY within the application they reside. There is no foreseeable need to expose them to anything beyond the application in which they live. That being said, is there any particular benefit to use WCF over ASMX or viceversa to expose these services? ASMX services certainly seem to have an easier setup that WCF but I want to be sure that I follow best practices.
Share
Personally, I’m still using ASMX for that scenario.
ASMX isn’t going anywhere until at least ASP.NET 5+. With that in mind, I can’t help but see the additional work to set up WCF services as wasted effort in a purely AJAX-consumption scenario.