locked
Unable to Consume Web API with SignalR RRS feed

  • Question

  • User1334270914 posted

    Hello, 

    I am creating a SignalR app which has a Method named as ConnectToServer.

    ConnectToServer method makes an PostAsync call to a WebAPI usin HttpClient. The problem is that, whenever this SignalR method makes a call then the OnDisconnect method is called every time just after ConnectToServer finishes. I am wondering why OnDisconnect is called every time autometically.

    Please Help.

    Thanks and regards.

    Friday, April 21, 2017 11:13 AM

All replies