You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
The code added to create the NotificationHub object has the connection string and hub name mixed up:
String connectionString = "plugintesthub";
return new NotificationHub("Endpoint=sb://plugintesthub-ns.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=/vknTzWL7AIZ2fnI/sLZ5JJvr9C1EdbMwK86HbrCgdo=", connectionString, activity);
Notification Hub takes the hub name first and the connection string second. Plus we’re putting the hub name in the connection string variable.
The text was updated successfully, but these errors were encountered:
The code added to create the NotificationHub object has the connection string and hub name mixed up:
String connectionString = "plugintesthub";
return new NotificationHub("Endpoint=sb://plugintesthub-ns.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=/vknTzWL7AIZ2fnI/sLZ5JJvr9C1EdbMwK86HbrCgdo=", connectionString, activity);
Notification Hub takes the hub name first and the connection string second. Plus we’re putting the hub name in the connection string variable.
The text was updated successfully, but these errors were encountered: