Does Microsoft.AspNetCore.SignalR.Client support AOT? #59133
Labels
area-signalr
Includes: SignalR clients and servers
NativeAOT
Needs: Author Feedback
The author of this issue needs to respond in order for us to continue investigating this issue.
Needs: Repro
Indicates that the team needs a repro project to continue the investigation on this issue
Expected behavior
Can Microsoft.AspNetCore.SignalR.Client be used for AOT publishing in a console application or WPF
Actual behavior
When I publish the console application with AOT, it cannot receive server push messages. However, if I cancel the AOT publishing, it can send and receive messages normally. This issue occurs in .NET 9 and the latest version of Microsoft.AspNetCore.SignalR.Client 9.0.0.
Steps to reproduce
The code to reproduce the issue is very simple. It's just a standard example of a SignalR server and client. Once the client is compiled with AOT, it can no longer receive messages.
The text was updated successfully, but these errors were encountered: