silverlight的几个问题

发布于 2024-10-03 05:59:32 字数 610 浏览 1 评论 0原文

我是 Silverlight 新手,还没有做过任何项目。我的公司将启动一个项目,该项目应该是 100% silverlight 和 ria 服务。虽然我读过一本关于sl的书,但没有一些实践经验,我仍然有一些疑问。希望我可以在这里找到帮助:)

这是我的问题。

  • 我们要构建的项目需要身份验证和授权。我可以使用 Asp.Net 会员资格提供程序,但有一个问题。在身份验证过程(登录)期间,用户应提供用户名、密码和临时 PIN 码。据我所知,会员提供商不支持超过 2 个参数(用户名和密码)的身份验证。这个问题有什么解决方法吗?也许我可以创建自己的 MembershipProvider?这样可以解决问题吗?

  • 我们计划在单个 silverlight 应用程序中使用 WCF Duplex 服务和 RIA 服务。我们希望使用双工服务让用户知道事务状态何时发生变化。您对此有什么经验? Duplex 服务可靠还是我们应该走老路,定期检查事务状态?

  • 应用程序应该在浏览器内部和外部运行。我的问题是,当我们想要使用身份验证/授权 + RIA 服务 + 双工服务时,是否可以将 sl 应用程序作为 OOB 运行?我们应该在这里等待某种问题吗?

我想现在就这样了。 非常感谢您的帮助。

I'm new to Silverlight, haven't done any project yet. My company is going to start a project which should be 100% silverlight and ria services. Though I've read a book on sl, without some practical experience, I still have some questions left. Hope I can find help here :)

Here are my questions.

  • The project we are going to build needs both authentication and authorization. I can use Asp.Net membership provider, but there's a problem. During authentication process (Login), the user should provide username, password and temporary pin code. As far as I know, Membership provider doesn't support authentication with more than 2 params(username and password). Is there any workaround on this problem? Maybe I can create my own MembershipProvider? Will this solve the problem?

  • We plan to use WCF Duplex services and RIA services in a single silverlight application. We want to use duplex services to let a user know when a transaction status changes. What's your experience with this? Is duplex services reliable or we should go the old way, checking the transaction status in interval?

  • The application should run inside the browser and outside too. My question is if it's possible to run sl app as OOB when we want to use authentication/authorization + RIA Services + Duplex Services? Should we wait somekind of problem here?

I think that's it for now.
Your help is much appreciated.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

成熟稳重的好男人 2024-10-10 05:59:32

会员问题:不,没有解决方法...您必须编写您赢得的会员资格提供商...我已经做到了...这并不难...但要小心,否则您可能会陷入一个大的维护问题...正如我所做的...

Membership Question: No, no workarounds... you will have to write your won membership provider... ive done that... its not that hard... but be caerfull or u might fall in a big maintance problem... as i did...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文