diff --git a/content/web-monitoring/aspnet-core/health.md b/content/web-monitoring/aspnet-core/health.md index 08b0235..9ab0941 100644 --- a/content/web-monitoring/aspnet-core/health.md +++ b/content/web-monitoring/aspnet-core/health.md @@ -128,7 +128,7 @@ public class Startup public void ConfigureServices(IServiceCollection services) { var metrics = AppMetricsHealth.CreateDefaultBuilder() - .HealthChecks.RegisterFromAssembly(services, Assembly.GetEntryAssembly().GetName().Name) + .HealthChecks.RegisterFromAssembly(services) ... // configure options and add health checks .Build();