John Waters
John Waters
OK, thanks a million, will review and compare! John
Kevin, Is it significant that you have UseFileServer in there? Why is that? John
So I see one thing: in your HTML client, you build the connection using an accessTokenFactory? var connection = new signalR.HubConnectionBuilder() .withUrl('/chat', { accessTokenFactory: () => accessToken }) .build(); I...
I guess one other difference - or two - I am using HTTPS, and also, my Angular client is not served up from the same site as the API (your...
I tried to get your example to work with the HTML client in a separate project, with CORS on the API/Hub project. It authenticated but the SignalR part didnt work....
Just touching bases on this - it is still a problem for us. We have tried emulating everything in your sample, including the access token factory, same negative results. The...
The problem was that the OnConnected event didn't fire in this scenario. It started working again in 1.0.0, it broke in 1.0.1 and is working again in 1.0.2.
The part that was never reproduced in the Samples is that my Angular client is a separate SPA, not served up from the same domain as the SignalR Web API....
Thanks for the quick response. It's AutoFac. I thought it was MediatR related because of the IPipeLineBehavior - it's in the ValidationBehavior's constructor injection that the collection of Validators is...
Hmm...but since TRequest,TResponse are generic types - how do I request that?