Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Consuming WebService and WCF from jQuery.
eliza sahoo
14y
3.8k
1
Reply
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 "<B>" + "Current Server Time : " + DateTime.Now.ToLocalTime() + "</B>" ;
}
Eliza
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
WebDAV, editing contacts.
sending emails