Windows身份验证的WCF JsonP示例?工作? [英] Windows Authenticated WCF JsonP Sample ? Work?

查看:92
本文介绍了Windows身份验证的WCF JsonP示例?工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在IIS和Windows身份验证上使用wcf服务c#.net 4公开jsonp?我已经尝试了很多方法,但我无法实现这一目标.

Is it possible to have a wcf service c# .net 4 expose jsonp on IIS and Windows Authentication?  I have tried numerous ways but I am unable to achieve this.

这可能吗?
你有示例代码吗?

Is this possible? 
Do you have sample code?

 

thx


dave

thx 

推荐答案

JSONP不能与Windows身份验证或其他任何身份验证一起使用身份验证类型.如果尝试这样做,您的服务将引发以下错误:

JSONP cannot be used together with windows authentication, or any other authentication type. If you try to do that your service will throw the following error:

跨域javascript回调


这篇关于Windows身份验证的WCF JsonP示例?工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆