File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/Tools/dotnet-monitor/HostBuilder Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1
1
// Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
4
+ using Microsoft . AspNetCore . Http . Validation . Generated ;
4
5
using Microsoft . AspNetCore . Hosting ;
5
6
using Microsoft . Diagnostics . Monitoring . WebApi ;
6
7
using Microsoft . Diagnostics . Tools . Monitor . Auth ;
@@ -129,6 +130,7 @@ public static IHostBuilder CreateHostBuilder(HostBuilderSettings settings)
129
130
services . AddSingleton ( listenResults ) ;
130
131
services . AddSingleton < IStartupFilter , AddressListenResultsStartupFilter > ( ) ;
131
132
services . AddHostedService < StartupLoggingHostedService > ( ) ;
133
+ MyExtensions . AddValidation ( services ) ;
132
134
} )
133
135
. ConfigureKestrel ( ( context , options ) =>
134
136
{
You can’t perform that action at this time.
0 commit comments