lehn0058
lehn0058

Reputation: 20257

Should an azure Notification hub client be a singleton?

When using notification hubs on a web server, is it recommended to create a singleton client instance or to create a new client for each group of messages sent?

Upvotes: 2

Views: 370

Answers (1)

Sateesh
Sateesh

Reputation: 376

Notification Hub client is a very light weight http wrapper. There is no requirement to be a singleton.

Thanks,

Sateesh

Upvotes: 4

Related Questions