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

https://blog.pedrofelix.org/2012/03/15/asp-net-web-api-creating-an-host-using-azure-service-bus/

Error whic I am getting while hosting as Service Bus.

The token provider was unable to provide a security token while accessing 'https://xxxxxxxxx-sb.accesscontrol.windows.net/WRAPv0.9/'. 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.

Thanks
Anita


What I have tried:

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

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