Skip to content

mauroservienti/NServiceBus.AttributeConventions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

575 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NServiceBus.AttributeConventions

Enables to configure NServiceBus messages, commands, and events conventions by using attributes on message types:

[Message]
public class SampleMessage
{}

[Command]
public class DoSomething
{}

[Event]
public class SomethingHappened
{}

Note

Attributes are defined in a separate NServiceBus.AttributeConventions.Contracts package to prevent coupling endpoints to the NServiceBus version. More information on unobtrusive mode can be found in the NServiceBus documentation.

To configure the endpoint:

endpointConfiguration.UseAttributeConventions();

Downloads

Nuget package: https://www.nuget.org/packages/NServiceBus.AttributeConventions/


Icon: Handshake by Bruno Landowski from the Noun Project

About

Attribute based conventions for NServiceBus messages, commands, and events.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages