If Asp.net Ajax framework is used, web service and WCF service methods are consumed by ScriptManager. For jQuery framework, these services are consumed by following ways. |
Example: Create Ajax-EnabledWCFService, name it "TimeService.svc". Put Following code in the TimeService class. [OperationContract] public string GetTime() { return "" + "Current Server Time : " + DateTime.Now.ToLocalTime() + "" ; } |
Loading
Amit ChoudharyPosted Feb 11, 2010, 6:20 AM
Following projects are the examples of how to consuem Webservice and you WCF service method with JQuery
1. Download project1
2. Download project2
Please mark the answer if it helps