dotnet-cqrs/docs/migration-guides/from-nservicebus.md

636 B

Migrating from NServiceBus

Migrate from NServiceBus to Svrnty.CQRS.

Key Differences

NServiceBus Svrnty.CQRS
IHandleMessages<T> ICommandHandler<T> or IQueryHandler<T>
Separate message broker Built-in event streaming
Saga pattern ISaga interface
Publish/Subscribe Event streaming

Migration Steps

  1. Map message handlers to command/query handlers
  2. Convert sagas to ISaga implementations
  3. Replace message bus with event streams
  4. Update configuration

See Also