I was wondering what the best practices are surrounding using EF Core, the saga state Db and your application DB, and whether you should or should not combine your saga state with your entity in the same table in the database, or even have your saga state in the same database.
1
There are 1 best solutions below
Related Questions in ENTITY-FRAMEWORK-CORE
- Will it slow down the performance when Unit of work pattern is used with EF Core
- Entity Framework Core 8 dbcontext - can't add some rows in many-to-many relationship
- Upsert huge amount of data by EFCore.BulkExtensions
- .NET Core 8, how can I add properties to user account that contains multiple values?
- How to load data from a different context in Entity Framework Core?
- Passing GUID value through SqlQuery will raise the error: invalid input syntax for type uuid
- The specified data type in the EF modelBuilder doesn't correspond to the one that is created
- EntityFrameworkCore.DbUpdateException: Unable to delete row, SQL Syntax error
- Create one entity for multiple tables?
- I'm getting an error, when trying to communicate with db, it seems like something with verses, but I've already changed it and the error continues
- Issue with Entity Framework Core: .Include() and .AsNoTracking() not displaying expected related entities
- Entity Framework Core 8 throws "Method not found: 'Void CoreTypeMappingParameters..ctor" error
- EF Core is creating a table not in the migration
- Can I share a List<T> property across multiple queries via a tracking DbContext?
- Revert database context to previous state EF Core 7
Related Questions in MASSTRANSIT
- How can microservices be truly independent when using an ESB (i.e. MassTransit)?
- Masstransit temporary queue
- Do durable events in MassTransit ever expire?
- Keep microservices data consistent
- RabbitMQ server throws an error but locally it is working perfectly fine
- Not able to connect to RabbitMq server using a particular user
- Mass Transit store and forward
- Masstransit Filter with IoC injection/Database
- MassTransit how to handle Start/Stop when Queue is down
- Getting Messages In Skipped Queue
- MassTransit And Service Fabric Stateful Service?
- Logging Diagnostics info to RabbitMQ
- How to serialize into JSON message in MassTransit and store it, so that it can be sent at a later time without any changes
- MassTransit In memory setup for two different application running on same process
- CreateQueues and Exchanges - MassTransit
Related Questions in SAGA
- Correlating aggregates by Saga ID instead of an additional aggregate root
- redux-saga: tracking multiple async tasks
- Multiple distributed event stores for data governance working together
- Unit testing redux-saga task cancellation
- Can i implement timetolive on nservicebus sagas?
- NServiceBus SagaData persistance issue with NHibernate around List<string>
- Is it possible to lock affinity of a MassTransit saga to a given consumer?
- NServiceBus saga not handling messages on azure
- NServiceBus Use 4.0 Handler in 2.6 saga
- Nservice bus saga ordering
- Error on Customers Service while consuming (Order Service generated) message
- DDD Relate Aggregates in a long process running
- Architecture concerns using minimal aggregates in a long running transaction
- Can a MassTransit Consumer Saga be InitiatedBy the same message(s) that it Orchestrates?
- Waiting for multiple actions before proceeding in redux-saga
Related Questions in AUTOMATONYMOUS
- How can you mock an Automatonymous Activity?
- MassTransit "The Completed event is not handled during the Final state for the RequestStateMachine state machine" error
- Restart a MassTransit Saga
- Abort chain of activities for MassTransit Saga
- Test MassTransit state machine saga activity
- Log handled MassTransit Saga exception
- Getting ConsumeContext not available when using MassTransit and Automatonymous Publish after previously using RaiseEvent
- How to trigger the execution of the compensation flow for the activities used within an Automatonymous state machine?
- Testing a MassTransit saga with scheduled events
- How to publish an event in Automatonymous state machine after each event gets completed?
- Throw UnhandledEventException if the event is filtered
- MassTransit StateMachine Saga - running behind LoadBalncer, How to stop consuming the same published message more than once
- Need StateMachine's Activity examples
- MassTransit saga persistance with Entity Framework and MySQL
- How to implement a state machine with Automatonymous in C#
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes, of course you can put other entities in the same DbContext as your saga state. The only thing special about the
SagaClassMap<T>is some of the base initialization, and theSagaDbContextonly has a couple of helper methods.