WCF,JSONP服务,跨域应用程序? [英] WCF,JSONP service,Cross domain application?
本文介绍了WCF,JSONP服务,跨域应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我需要编写WCF svc服务并需要在本地IIS中托管。应该返回JSON格式与android平台进行通信。
我不熟悉端点,托管
如何从浏览器调用服务?
Hi all,
i need to write a WCF svc service and need to host in local IIS. it should be return JSON format for communicate with android platform.
im not familiar with endpoints,hosting
how i can call the service from browser??
推荐答案
您检查WCF服务的REST实现您将获得许多解决方案,您将能够配置您需要的任何响应格式。
使用ASP.NET Web API创建REST服务 [ ^ ]
http://vikashbhorale.blogspot.in/2012/04/create-restful-wcf-service-api-step-by.html [ ^ ]
创建RESTful WCF服务API:循序渐进指南 [ ^ ]
You Check for REST implementation of WCF Service You will get Lot of Solutions for that and you will be able to configure whatever response format you required.
Creating a REST service using ASP.NET Web API[^]
http://vikashbhorale.blogspot.in/2012/04/create-restful-wcf-service-api-step-by.html[^]
Create RESTful WCF Service API: Step By Step Guide[^]
这篇关于WCF,JSONP服务,跨域应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文