Minimum Stepping consists of the core package and a TM provider.
- Install the NuGet package:
Install-Package Stepping.Core
- Configure services:
services.AddStepping(options => { options.RegisterSteps(typeof(MyClass).Assembly); // if you have custom steps });
Stepping requires transaction managers. You can choose an implementation you like.
Stepping DB Providers are not required.
If you want to execute the steps after a DB transaction commits and ensure they will eventually be done, you should install them.
-
Install the NuGet package:
Install-Package Stepping.DbProviders.EfCore Install-Package Stepping.DbProviders.MongoDb
-
Configure services:
services.AddSteppingEfCore(); services.AddSteppingMongoDb(options => { // you can implement ISteppingDbContextProvider to customize the connection string lookup. options.DefaultConnectionString = "mongodb://root:password123@198.174.21.23:27017" });
Also, see the DB Provider document for usage.