简体   繁体   English

Windows 工作流基础和 ASP.NET

[英]Windows workflow foundation and ASP.NET

I am going to develop an easy workflow application using C#.我将使用 C# 开发一个简单的工作流应用程序。 I am planning to use Windows workflow foundation technology and develop it as an ASP.net web application.我计划使用 Windows 工作流基础技术并将其开发为 ASP.net web 应用程序。

  1. As i read in some web sites in order to invoke windows workflow foundation with asp.net, it should be used the MVC approach.正如我在一些 web 站点中读到的,为了使用 asp.net 调用 windows 工作流基础,它应该使用 MVC 方法。 Is it possible to do it without the MVC approach?没有MVC方法可以做到吗?
  2. You have to consider that i have no experience with MVC approach.您必须考虑到我没有使用 MVC 方法的经验。 Is it more easy to develop it as Windows forms application instead of using ASP.NET?将其开发为 Windows forms 应用程序而不是使用 ASP.NET 更容易吗?

No, you don't have to use ASP.NET MVC with Windows Workflow Foundation.不,您不必将 ASP.NET MVC 与 Windows Workflow Foundation 一起使用。

If you've never worked with ASP.NET MVC before, you'll probably find the initial learning curve to be quite steep.如果您以前从未使用过 ASP.NET MVC,您可能会发现最初的学习曲线非常陡峭。 But there is plenty of help to be found online.但是网上有很多帮助。
Developing it in Windows Forms or ASP.NET Webforms may be easier for you, depending on your level of experience.根据您的经验水平,在 Windows Forms 或 ASP.NET 网络表单中开发它可能更容易。

When you say you want to develop a Workflow as an ASP.NET Web Application I assume you mean that you want to create a workflow that runs on a web server and is accessible as a web service. When you say you want to develop a Workflow as an ASP.NET Web Application I assume you mean that you want to create a workflow that runs on a web server and is accessible as a web service.

In that case, we call those "Workflow Services" and you do not need to learn ASP.NET MVC to create them.在这种情况下,我们将这些称为“工作流服务”,您无需学习 ASP.NET MVC 即可创建它们。 I suggest you download the Visual Studio 2010 training Kit and spend some time going through the Introduction To Workflow Services Hands On Lab.我建议您下载Visual Studio 2010 培训工具包并花一些时间阅读工作流服务简介动手实验室。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM