In the past when I develop SharePoint Provider-Hosted apps which implement remote event receivers, i use the Azure Service Bus to debug the code, as mentioned in this https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-lists-in-the-host-web/ , where inside Azure i create a new service bus >> i copy the primary connection string, as follow:-
then inside the Visual Studio project >> Properties >> SharePoint >> i add the above service bus's primary connection string, as follow:-
this was allowing me to debug my code. but last week when i tried to do so, I got these errors inside Visual studio after running the project:-
One or more services were unregistered from the Microsoft Azure Service Bus. Cannot register Services/AppEventReceiver.svc on Microsoft Azure Service Bus: Unable to connect to the remote server
so i read that using azure service bus has been retired by Microsoft starting from september 2018. but at the same time i did not find any alternative for using Azure Service Bus for debugging the sharepoint provider hosted app. So can anyone advice on this please?