IISでホストされるWindowsWorkflow4サービスを作成しようとしています。私は以下のようにサービスを構成しました
<system.serviceModel>
<services>
<service name="ApprovalService" behaviorConfiguration="ApprovalServiceBehavior">
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="ApprovalServiceBehavior">
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true" />
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false" />
<sqlWorkflowInstanceStore connectionStringName="WorkflowPersistence" />
<workflowIdle timeToPersist="0" timeToUnload="0:05:0"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
サービスは持続しません!値のカスタム永続化など、サービスには魔法のようなものは何もありません。カスタム永続化メソッドを備えた別のサービスで動作させていますが、違いがわかりません。
おそらく私のサービスはエラーになっていますが、デバッグに踏み込む方法も理解できないようです。
どんな助けでも大歓迎です!