Gavin Foley
Gavin Foley
@taylorc > In respect to the generation of the cache key you could change the static CacheHelper to an interface such as CacheKeyProvider and have the template provide a DefaultCacheKeyProvider...
This is really awesome! I'd mentioned this a few weeks back too in https://github.com/JasonGT/NorthwindTraders/issues/186#issuecomment-551256431.
As majumajid mentioned, it's generally better not too. One solution would be publish an event after you've created something and then use an event handler. See here: https://github.com/JasonGT/NorthwindTraders/blob/master/Src/Application/Customers/Commands/CreateCustomer/CreateCustomerCommand.cs#L64 https://github.com/JasonGT/NorthwindTraders/blob/master/Src/Application/Customers/Commands/CreateCustomer/CustomerCreated.cs https://github.com/JasonGT/NorthwindTraders/blob/master/Src/Infrastructure/NotificationService.cs#L11...
Agree fully with your point nixonad. Application resiliency is a tricky bag. Jimmy Bogard also has an excellent series on his site covering that very topic that's a great read:...
If you're calling `SaveChanges` multiple times in your handlers then you can add a pipeline behavior that wraps the handler with a transaction, something like this: ```csharp public class DbTransactionBehavior...
My pipeline above is only for Db transactions. In the past, I've used another pipeline for retrying Db deadlocks: https://gist.github.com/GFoley83/3e0c6e3a5ca36204937aaa62f13e7a0f
Hi @JonathanMagnan just wondering if that fix ever materialised for this issue? Thanks!
@sarveshnagpal Any further update on when cross-domain support will be added? Ticket has been open for nearly two years now.
Can anyone confirm that this solution worked for them? @ClaritySupport if you are official support then you should really be a marked as a contributor to this repo. Otherwise it...