本文介绍了在单独的托管项目中托管工作流服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前正在创建工作流程服务.我创建了一个新的WCF工作流程服务应用程序,其中包含该工作流程服务.我可以毫无问题地托管和运行工作流程.

I'm currently creating a workflow service.  I created a new WCF workflow service application containing the workflow service.  I can host and run the workflow without problems.

在我的解决方案中,我已经有一个包含一些WCF服务的托管项目.有没有一种方法可以在不将xamlx文件复制到托管项目的情况下在托管项目中托管工作流服务(XAMLX)? (我不想将我的业务逻辑 托管项目)

Within my solution I already have a hosting project with some WCF services.  Is there a way to host the workflow service (XAMLX) within my hosting project without copying the xamlx file to my hosting project? (I don't want to my business logic to my hosting project)

我接受的想法是创建一个包含我的工作流程逻辑的活动,并在我的托管项目中创建一个包含一个活动(该活动包含我的工作流程)的工作流程服务.这是要走的路吗?

I'm living with the idea to create an activity containing my workflow logic and creating a workflow service in my hosting project which has one activity (the activity containing my workflow.)  Is this the way to go?

欢迎所有提示,经验或想法.

All tips, expierences or ideas are welcome.

推荐答案

将工作流服务添加到现有托管应用程序中有哪些限制?

What are the limitations of adding your workflow service to your existing hosting application? 

我问是因为你是否在要使WF服务和WCF服务在同一Web应用程序上共存,您将必须同时将Xamlx文件和任何其他逻辑复制到该Web应用程序的文件夹中.

I'm asking because if you are  expecing the WF Service and your WCF Services to coexist on the same web application, you'll have to copy both the Xamlx file and whatever extra logic you have to the web application's folder.

谢谢

Ramiro


这篇关于在单独的托管项目中托管工作流服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 22:49