使用 Windows Workflow Foundation 开发 Silverlight 应用程序从哪里开始?
我们首先开发一个将利用 Windows Workflow Foundation (WF4) 的 Silverlight 应用程序。我们的工作流程是长期运行的。我们计划使用 WF 的跟踪和持久性功能。我们可能还需要将与每个工作流实例相关的数据存储在另一个数据库中(我怀疑针对工作流持久性存储运行报告会很棘手)。我们的工作流程可能会随着时间而变化,因此我们可能还需要一些策略来对其实施版本控制。
具体来说,考虑到我们需要实现工作流程的跟踪、持久性和版本控制,您是否可以向我提供任何资源或指导,让我从哪里开始?
We are starting out with the development of a Silverlight app that will make use of Windows Workflow Foundation (WF4). Our workflows are long-running. We plan to use the tracking and persistence functionality of WF. We will probably need to also store data related to each workflow instance in another DB (I suspect running reporting against the workflow persistence store would be tricky). Our workflows may change with time so we would probably also need some strategy to implement versioning on them.
So specifically, are there any resources you can point me to or direction you can give me on where to start, taking into account that we need to implement tracking, persistence and versioning of workflows?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您的问题,我假设您已经有 WWF 的经验,并且实际上只是询问它如何与 Silverlight 交互。简而言之,它与在传统 ASP.NET 中实现支持 WWF 的应用程序的方式没有明显不同。请记住,Silverlight 只是一个通常位于传统 ASP.NET Web 应用程序之上的 UI 客户端。您的 WWF 相关逻辑和代码将位于 ASP.NET 层中,而不是位于 Silverlight 中。
因此,如果您已经知道如何在 ASP.NET 中创建支持 WWF 的应用程序,那么您真正需要学习的就是如何将闪亮的 Silverlight 界面连接到 ASP.NET Web 应用程序。为此,您当然只需要访问 http://silverlight.net/,您可能已经正在做。
祝你好运!
Based on your question, I'm assuming that you already have experience with WWF and are really just asking about how it interacts with Silverlight. The short answer is that it would not be noticeably different from how you would implement a WWF-enabled application in traditional ASP.NET. Remember that Silverlight is only a UI client that usually lives on top of a traditional ASP.NET web application. Your WWF-related logic and code would live in the ASP.NET layer -- not in Silverlight at all.
So if you already know how to make a WWF-enabled application in ASP.NET, all you really need to learn is how to wire up a shiny Silverlight interface to an ASP.NET web app. For that, you of course only need to hit up http://silverlight.net/, which you're probably already doing.
Good luck!