Silverlight RIA AuthenticationService GetUser 无法通过 Json 工作

发布于 2024-11-09 18:58:57 字数 215 浏览 6 评论 0原文

我一直在尝试通过 Json 端点测试不同的 RIA 服务调用,似乎发现了一个奇怪的情况。使用默认的业务应用程序模板,我可以调用登录/注销以及我放入的各种其他自定义方法,但由于某种原因 GetUser 无法工作。它总是返回 HTTP 405,方法不允许

有谁知道这是为什么吗?

使用 fiddler 我看不出调用 JSon 和 Binary 端点之间有任何区别,但它们会产生不同的结果。

I've been trying to test out different RIA service calls through the Json endpoint seem to have come up with an odd case. Using the default Business Application template, I can make calls to Login/Logout and various other custom methods I've put in, but for some reason GetUser wont work. It always returns HTTP 405, Method Not allowed

Does anyone have an idea why this is?

Using fiddler I cant see any difference between calling the JSon and the Binary endpoint yet they produce different results.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文