diff --git a/src/IoTHub.Portal.Server/Startup.cs b/src/IoTHub.Portal.Server/Startup.cs index 610832e52..5a0e626e4 100644 --- a/src/IoTHub.Portal.Server/Startup.cs +++ b/src/IoTHub.Portal.Server/Startup.cs @@ -242,8 +242,8 @@ Specify the authorization token got from your IDP as a header. opts.UseInlineDefinitionsForEnums(); }); - _ = services.AddHostedService(); - _ = services.AddScoped(); + //_ = services.AddHostedService(); + //_ = services.AddScoped(); _ = services.AddApiVersioning(o => {