开发者

what is the .net technology to replace Microsoft Transaction Server

开发者 https://www.devze.com 2023-02-13 16:18 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号