You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I'm sorry if this isn't the place to ask this question.
And I'm also sorry if this is a dumb question
I have a question as to how some main classes manage the context scope.
I'll take as an example the classes from "CQRS.*.Dispatchers"
Each as this class on the 'publish/send/query' user a code as below
So my question is in the case of ASP.NET when a request is made, it has its scope.
So let's say we use a CommandHandler to process a request and this command handler also uses an EventDispatcher, i think this is a common example.
With the current code, there is 3 scopes creates individually for Request, CommandHandler and EventHandler?
And each of these scopes would be individual?
If for example we want to use a unique DbContext per request, wouldn't that be a problem?
The text was updated successfully, but these errors were encountered:
First I'm sorry if this isn't the place to ask this question.
And I'm also sorry if this is a dumb question
I have a question as to how some main classes manage the context scope.
I'll take as an example the classes from "CQRS.*.Dispatchers"
Each as this class on the 'publish/send/query' user a code as below
So my question is in the case of ASP.NET when a request is made, it has its scope.
So let's say we use a CommandHandler to process a request and this command handler also uses an EventDispatcher, i think this is a common example.
With the current code, there is 3 scopes creates individually for Request, CommandHandler and EventHandler?
And each of these scopes would be individual?
If for example we want to use a unique DbContext per request, wouldn't that be a problem?
The text was updated successfully, but these errors were encountered: