docs.particular.net icon indicating copy to clipboard operation
docs.particular.net copied to clipboard

Feedback: 'Using TransactionalSession with Entity Framework and ASP.NET Core'

Open tmasternak opened this issue 1 year ago • 1 comments

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

tmasternak avatar Jul 29 '24 09:07 tmasternak

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

andreasohlund avatar Jul 29 '24 11:07 andreasohlund