Blog Logo
TAGS

Introducing Wolverine for Effective Server Side .NET Development – The Shade Tree Developer

Wolverine is a mediator and message bus tool for server-side .NET development. Its runtime model is different from other similar tools in a way that leads to simpler application code and more efficient runtime execution. It supports EF Core and SQL Server as well, but uses Marten as a lower ceremony approach to application persistence. Wolverines built-in Fluent Validation, transactional & outbox, and custom middleware handle cross-cutting concerns and load and push account data related to the incoming message to the message handler or log and abort the message processing. The example code shows off Wolverines different approach in dealing with business rules, such as applying a debit to a given account, verifying the debit amount is non-zero before doing anything else, loading the information for the designated account from the database, applying the debit to the accounts current balance, and persisting the changes in balance back to the database.