Skip to content

DevenKShah/NS.SB.Functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NS.SB.Functions

Installers throws errors the first time, but creates the subscription anyway 🙂 So second time onwards it works fine.

Message conventions works as well. Alternatively following interfaces can be used:

  • IMessage is used for Request/Reply pattern.
  • ICommand is used for sending message to a particular queue.
  • IEvent is used for Pub/Sub pattern.

When sending messages we have to specify serializer and it say use Newtonsoft for json, but when handling you do not have to specify serliaizer and it by default uses System.Text.Json and it still works fine funnily.

The messages have to be in the same namespace, so copies in different assmeblies are fine as long as the namespace matches.

You can use mix of convention and interface as well, i.e publishers can use conventions, but subscribers can use interfaces.

In console, add appsettings.json as following

{
  "AzureWebJobsServiceBus": "<Service bus connections string>"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages