Hemapriya

Hemapriya

  • 1.5k
  • 233
  • 1.3k

Asp0014 Warning

Jun 7 2024 5:31 PM

Getting weird warning.

AsP0014: Suggest using top level route registrations

app.UseEndpoints(endpoints =>
{
     endpoints.MapControllers();                
    endpoints.SetupHealthChecksEndpoints();
});

My HealthCheck is 'Healthy' whereas 
HealthCheckUI is 'UnHealthy' Error Endpoint.

Pleae help to resolve.
 


Answers (5)