docs.particular.net
docs.particular.net copied to clipboard
Feedback: 'Using TransactionalSession with Entity Framework and ASP.NET Core'
Extend the sample showing how to use ITransactionSession from a singleton background service.
Based on:
- https://discuss.particular.net/t/nullreferenceexception-when-resolving-itransactionalsession/4028/6
I wonder if this is an issue with calling UseNServiceBus() before registering the background service like mentioned here https://docs.particular.net/nservicebus/hosting/extensions-hosting#configuration