DEV Community

Migrating to Brighter V10 with MS SQL

This guide focuses on migrating to Brighter V10, specifically covering MS SQL Server configuration changes and breaking updates. To get started, you'll need .NET 8 or superior and specific NuGet packages, including Paramore.Brighter.MessagingGateway.MsSql and Serilog.AspNetCore. Brighter is a messaging framework that uses IRequest to define messages, such as commands and events. A message mapper can be used to translate between Brighter messages and app objects. To configure Brighter with SQL Server, you'll need to create a queue table and set up a connection. You'll also need to subscribe to a topic and configure the SQL producer. Brighter V10 introduces several breaking changes, including a message mapper overhaul, explicit message pump types, and property renaming. The new version also simplifies SQL Server integration and improves clarity and flexibility. Key updates include built-in serialization and streamlined configuration APIs. For full implementation details, refer to the GitHub sample repository.
favicon
dev.to
dev.to