diff --git a/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI.csproj b/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI.csproj index f900c56..41071e3 100644 --- a/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI.csproj +++ b/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI.csproj @@ -27,8 +27,8 @@ - - + + diff --git a/Lombiq.Hosting.Azure.ApplicationInsights/Lombiq.Hosting.Azure.ApplicationInsights.csproj b/Lombiq.Hosting.Azure.ApplicationInsights/Lombiq.Hosting.Azure.ApplicationInsights.csproj index 5d4dae6..ea17e0d 100644 --- a/Lombiq.Hosting.Azure.ApplicationInsights/Lombiq.Hosting.Azure.ApplicationInsights.csproj +++ b/Lombiq.Hosting.Azure.ApplicationInsights/Lombiq.Hosting.Azure.ApplicationInsights.csproj @@ -34,12 +34,12 @@ - - - - - - + + + + + + @@ -47,7 +47,7 @@ - + diff --git a/Lombiq.Hosting.Azure.ApplicationInsights/Services/LoggingTestBackgroundTask.cs b/Lombiq.Hosting.Azure.ApplicationInsights/Services/LoggingTestBackgroundTask.cs index d354219..563a4ba 100644 --- a/Lombiq.Hosting.Azure.ApplicationInsights/Services/LoggingTestBackgroundTask.cs +++ b/Lombiq.Hosting.Azure.ApplicationInsights/Services/LoggingTestBackgroundTask.cs @@ -13,7 +13,7 @@ namespace Lombiq.Hosting.Azure.ApplicationInsights.Services; [BackgroundTask( Schedule = "* * * * *", Description = "Logs messages of various levels to test Application Insights log collection (and logging in general).")] -public class LoggingTestBackgroundTask : IBackgroundTask +public sealed class LoggingTestBackgroundTask : IBackgroundTask { public Task DoWorkAsync(IServiceProvider serviceProvider, CancellationToken cancellationToken) { diff --git a/Lombiq.Hosting.Azure.ApplicationInsights/Services/TrackingScriptInjectingFilter.cs b/Lombiq.Hosting.Azure.ApplicationInsights/Services/TrackingScriptInjectingFilter.cs index 3007272..6c13c3e 100644 --- a/Lombiq.Hosting.Azure.ApplicationInsights/Services/TrackingScriptInjectingFilter.cs +++ b/Lombiq.Hosting.Azure.ApplicationInsights/Services/TrackingScriptInjectingFilter.cs @@ -8,7 +8,7 @@ namespace Lombiq.Hosting.Azure.ApplicationInsights.Services; -public class TrackingScriptInjectingFilter : IAsyncResultFilter +public sealed class TrackingScriptInjectingFilter : IAsyncResultFilter { private readonly IResourceManager _resourceManager; private readonly IOptions _applicationInsightsOptions; diff --git a/Lombiq.Hosting.Azure.ApplicationInsights/Startup.cs b/Lombiq.Hosting.Azure.ApplicationInsights/Startup.cs index c97932d..592868c 100644 --- a/Lombiq.Hosting.Azure.ApplicationInsights/Startup.cs +++ b/Lombiq.Hosting.Azure.ApplicationInsights/Startup.cs @@ -11,7 +11,7 @@ namespace Lombiq.Hosting.Azure.ApplicationInsights; -public class Startup : StartupBase +public sealed class Startup : StartupBase { private readonly ApplicationInsightsOptions _applicationInsightsOptions; private readonly ApplicationInsightsServiceOptions _applicationInsightsServiceOptions; diff --git a/NuGet.config b/NuGet.config new file mode 100644 index 0000000..ba8c556 --- /dev/null +++ b/NuGet.config @@ -0,0 +1,10 @@ + + + + + + + + + +