Click here to Skip to main content
15,937,012 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I have a Web api which is self hosted. I want create two Host one using Azure Service Bus and second localhost.

I followed below link to host using Azure service bus but it is giving me error

Error whic I am getting while hosting as Service Bus.

The token provider was unable to provide a security token while accessing ''. Token provider returned message: 'The request was aborted: The request was canceled.'.

I am using same service bus namespace and token with WCF service and it is working.

Any help will be appreciated.


What I have tried:

ASP.NET Web API: Creating an Host using Azure Service Bus | Pedro Félix's shared memory[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900