如何将Html页面与WCF服务一起使用 [英] How to use Html Pages with WCF Services
本文介绍了如何将Html页面与WCF服务一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨伙计
我想在我的新项目中使用wcf服务。我将使用html页面而不是asp页面。我可以在html页面中使用javascript和jquery 。
我是wcf服务的初学者。所以请发送任何演示来了解wcf功能。
任何帮助
感谢您的问候
Rahul Sharma
hi Guys
I want to use wcf services in my new project.I will use html pages not asp pages.I can use javascript and jquery in html pages.
I am beginner for wcf services.So please send me any demo to understand wcf functionality.
Any help
thank n regards
Rahul Sharma
推荐答案
您可以使用AJAX或JQuery。这些链接。
WCF RESTful服务并在HTML页面中使用它们[ ^ ]
http://weblogs.asp.net/stevewellens/archive/2013 / 02/03 /通话ing-wcf-services-with-jquery-stripped-down.aspx [ ^ ]
请研究WCF服务(请参阅 MSDN )首先完全理解这个概念。然后去用HTML格式化服务。
希望这会有所帮助......
You can use AJAX or JQuery.. Refer these links.
WCF RESTful services and consuming them in an HTML page[^]
http://weblogs.asp.net/stevewellens/archive/2013/02/03/calling-wcf-services-with-jquery-stripped-down.aspx[^]
Please do study the WCF sevices(refer MSDN) first to understand the concept completely. Then go for consuming that service in HTML.
Hope this would be helpful...
JQuery是最好的方法。
1. 致电WCF使用jQuery的服务 [ ^ ]
2. 使用Jquery调用跨域WCF服务 [ ^ ]
JQuery is the best method.
1. Calling WCF Services using jQuery[^]
2. Calling Cross Domain WCF Service using Jquery[^]
这篇关于如何将Html页面与WCF服务一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文