English | 简体中文
The sample repository of dtmcli-csharp
Reference resources Installation
cd DtmSample
dotnet run DtmSample.csproj
Open through browser with this URL http://localhost:9090
. It will jump to the swagger page and you can selectively test the corresponding type of transaction mode.
NOTE: In order to facilitate quick experience, the database in the sample code can be used directly.
By executing runsample.ps1
to run the sample code quickly.
It will start DTM server, MySQL (demonstration sub transaction barrier) and dtmsample through docker compose.
After startup, you can see output similar to the following
Open through browser with this URL http://localhost:9090
. It will jump to the swagger page and you can selectively test the corresponding type of transaction mode.