Is it possible to create a TransactionScope in a Custom WCF Service Behavior? (async, await, TransactionScopeAsyncFlowOption.Enabled)

后端 未结 1 1244
栀梦
栀梦 2021-02-15 11:44

TL;DR ?

Screencast explaining problem: https://youtu.be/B-Q3T5KpiYk

Problem

When flowing a transaction from a client to a service Transaction

相关标签:
1条回答
  • 2021-02-15 12:12

    Turns out we shouldn't really be using the async/await keyword on the server together with distributed transactions, see this blog post for details.

    0 讨论(0)
提交回复
热议问题