如何添加Workflow Control端点?
我在VS2012中创建了一个新的WCF工作流服务项目。
最终,我需要的是能够从我的工作流程的实例A中终止工作流程的实例B.
尽我所能,实现这一点的唯一方法是通过工作流控制端点,但我无法弄清楚如何将其添加/访问到我的项目。
  从我看到的(例如这里),添加控制端点,只需使用适当的属性值将<endpoint>元素添加到web.config中的<service>节点即可。  问题是..我的web.config中没有<service>元素。  “WCF工作流服务应用程序”项目模板不添加一个。  下面是我的web.config。 
所以我的问题很简单: 从“WCF工作流服务应用程序”项目模板开始,如何添加工作流控制端点?
  这些是项目的默认启动设置: 
web.config中
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
  </appSettings>
  <system.web>
    <compilation debug="true" strict="false" explicit="true" targetFramework="4.5" >
    </compilation>
    <httpRuntime targetFramework="4.5"/>
  </system.web>
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="false"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <protocolMapping>
        <add binding="basicHttpsBinding" scheme="https" />
    </protocolMapping>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>
</configuration>
最后找到了解决方案。 看到这篇文章。
链接地址: http://www.djcxy.com/p/95907.html