NServiceBus Tips

  • Append "Policy" to the end of the names of your sagas.
  • Use commands for things you want to happen.
  • Use the imperative for naming your commands, e.g., SendWelcomeEmail.
  • Use classes for commands.
  • Use events for things that have happened.
  • Use interfaces for events.
  • Event names are often the past tense version of the command. For example, the command SendWelcomeEmail would trigger the event WelcomeEmailSent.
  • Record the times for all of your handlers.