Getting error MongoDB Transactions with C# and the .NET Framework

Hi @Lawrence_Raja, and welcome to the community!

In order to perform multi-document transactions, your MongoDB deployment needs to be either a replica set or a sharded cluster.

The error message has indicated that the deployment that you have is a standalone. See also Transactions for more information.

Regards,
Wan.