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
- MassTransit Kafka producers configure to send several events to the same Kafka topic
- Value cannot be null ( parameter envolope)
- MassTransit mediator and CorrelationId
- Entity Framework core does not work when using masstransit library
- Weird transactional outbox behaviour when running multiple WebApplications with MassTransit in same process
- InboxState.Delivered = null - Transactional Outbox For Consumers
- Using MassTransit to invoke a DurableTaskClient function
- MassTransit creates topics / subscriptions with its default name formatter no matter what configurations
- How do I implement the Request/Response pattern for MassTransit using RabbitMQ Service Bus Plus Filters?
- Is it possible to use MassTransit transactional outbox with multiple db contexts?
- Remove MessageData from repository after successful consumption
- How can we prevent RoutingSlipFaulted to be fired when a single specific RoutingSlipActivity faulted?
- Unable to consume message - MassTransit with ActiveMQ Artemis
- Can we use Redis Stream as message broker with mass transit like mass transit with rabbitMQ or ActiveMQ
- How can my controller action wait and respond the result of my message driven workflow?
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 to test that a message was ignored by a MassTransit state machine?
- MassTransit StateMachine Saga - running behind LoadBalncer, How to stop consuming the same published message more than once
- Throw UnhandledEventException if the event is filtered
- How to setup "Enable Express" of ServiceBus in MassTransit
- How to avoid persisting a temporary conditional variable when MassTransit Automatonymous is using Entity Framework
- How to pass properties via CompositeEvent
- Parallelism with MassTransit saga and compensation
- When using Automatonymous Statemachine and EF Core to store the state can I combine the state and my entities in one DbContext
- Composite event is not triggered in MassTransit
- MassTransit "The Completed event is not handled during the Final state for the RequestStateMachine state machine" error
- How can you mock an Automatonymous Activity?
- MassTransit Automatonymous - State not changing when a message is Sent
- Can I use MassTransit/Automatonymous saga without using entire MassTransit framework?
- Automatonymous StateMachine how to handle NotAcceptedStateMachineException
- Registering a MassTransit SagaStateMachine with RedisRepository in SimpleInjector - Multiple Constructors
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.