Solved the problem by removing SignalR nuget.
App Service returns nothing but no changes done
I have Azure App Service (NET 8) running some APIs and few static pages. All worked well for months. Today I noticed that all APIs and pages stopped to work. At request (both to API and static pages) it returns 200 with empty response.
Local debug works well - APIs and pages response correct.
Nothing changed in the service. I restarted it several times but it doesn't help. I did Republish few times but result is the same - 200 with empty response.
On Azure portal nothing indicates about a problem.
Here is URL example that should return data: https://gamingwebapp.azurewebsites.net/api/Ads/GetIndieAds
In Application Event Logs I found:
Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer
EventId: 0
Unexpected exception in static IISHttpServer.HandleRequest.
Exception:
System.MissingMethodException: Method not found: 'System.Nullable`1<System.Net.Security.TlsCipherSuite> Microsoft.AspNetCore.Connections.Features.ITlsHandshakeFeature.get_NegotiatedCipherSuite()'.
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer.IISContextFactory`1.CreateHttpContext
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer.HandleRequest(IntPtr pInProcessHandler, IntPtr pvRequestContext)