silverlight的几个问题
我是 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
会员问题:不,没有解决方法...您必须编写您赢得的会员资格提供商...我已经做到了...这并不难...但要小心,否则您可能会陷入一个大的维护问题...正如我所做的...
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...