We are having SignalR hub like,if we have API with ref or out param SignalR hubs are not loading in to Website,
If i removed this "ref or out" param type it working fine.
And I am getting the below error if i access "Signalr/hubs" in browser
Expression of type 'System.Int32&' cannot be used for parameter of type 'System.Int32' of method 'Int32 test(Int32 ByRef)'
Hub Code:
public class TestCommHub : Hub {
public void test(ref int intVal) { intVal = 0; }
}
Can anyone help to proceed this.