MikaelHild

Results 4 comments of MikaelHild

Like fretje pointed out, check your hangfire.json under Host>Configurations>hangfire.json. Make sure you edit the connectionstring under storage. https://github.com/fullstackhero/dotnet-webapi-boilerplate/blob/main/src/Host/Configurations/hangfire.json

Ardalis specification does not include transactions but can be implemented by using the dbContext, i.e. you could implement your own Repository for the purpose. See this for an example https://github.com/ardalis/CleanArchitecture/issues/327#issuecomment-1121167844...

Mukesh have written an article on using Dapper with transactions for this purpose. In the code above I think you're missing the transaction with the repository. https://codewithmukesh.com/blog/using-entity-framework-core-and-dapper/

https://github.com/iammukeshm/EFCoreAndDapper Checkout the repo above. It's basically the same but you either have to expose the ApplicationDbContext using an interface in the Application project, or handle the Request in the...