what is the .net technology to replace Microsoft Transaction Server
MTS开发者_开发百科 is a popular COM+ service to do distributed transation control. I am wondeirng what is the .Net replacement for it since Com+ will be phased out.
AFAIK there is no replacement to MTS in .NET Framework, but it is very well integrated through System.EnterpriseServices
namespace, specifically you could lookup ServicedComponent
to get the transaction control feature you are looking for.
Have a look at MSDN documentation of this.
MSDTC still lives on, and is available in managed code via TransactionScope
. So - use that. There are some COM+ things that don't really have direct counterparts; having a COM+ dll that runs in a different identity, or all the vastly over-complicated COM+ permissions/roles/groups/etc, but in truth you are usually better off writing a proper service (trivial in managed code) that accepts requests via any IPC method of your choosing.
精彩评论