Closed KevinSRobinson closed 6 years ago
Thanks for the question! We are investigating and will update you shortly.
@seamusjunior I believe the alternative methods are all listed below under examples. For 1.x the bindings can be found under the link for Microsoft.Azure.Webjobs
@ggailey777 please correct me if I am wrong.
I think the examples below are v1.x. If there are any 2.0 examples then then i think these should be in a separate post as, in this case, 1.x and 2.x. are totally different. 1.x has a native binding and 2.0 doesn't.
Also how do I specify which notification hub settings. The configuration part of the document state to uses the NotificationHub attribute, but 2.0 wont have this.
Maybe could you point me to another example?
Thanks
@seamusjunior I reached out to some of the functions team members to see what they might recommended as a replacement seeing as you are using V2.
You could create the NotificationHubsClient in your function and use it like you would from ASP.NET or whatever backend. You just wouldn’t get the nice binding behaviors like you would see when using the bindings available in V1.
I am checking internally to see if there is a MyGet feed for the V2 bindings available to test. This wouldnt be suited for production use but would allow you to play around with them. I will get back to you on this point.
I found out that the migration of the notification hub extension is being tracked here:
https://github.com/Azure/azure-webjobs-sdk-extensions/issues/239
I will close this out for now. If you need additional help please let me know and we can reopen and continue.
Regarding Functions Version 2 , It stats that the this binding is not available. Is there an alternative method?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.