What is .net technology to replace Microsoft Transaction Server

MTS is a popular COM + service for managing distributed transmission. I wondeirng that the .NET replacement is for him, since Com + will be phasing out.

+4
source share
2 answers

AFAIK does not replace MTS in the .NET Framework, but it is very well integrated through the System.EnterpriseServices namespace, in particular, you can search for ServicedComponent to get the transaction management function you are looking for. Take a look at the MSDN documentation of this .

+1
source

MSDTC continues to live and is available in managed code through TransactionScope . So - use this. There are some COM + things that don't actually have direct copies; having a COM + DLL that works with a different identifier or all too complex COM + permissions / roles / groups / etc., but in fact you usually better write a proper service (trivial in managed code) that accepts requests through any IPC of your choice.

+1
source

Source: https://habr.com/ru/post/1341101/


All Articles