You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/DefaultBuilder/src/WebHost.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore;
21
21
/// <summary>
22
22
/// Provides convenience methods for creating instances of <see cref="IWebHost"/> and <see cref="IWebHostBuilder"/> with pre-configured defaults.
23
23
/// </summary>
24
-
[Obsolete("WebHost is obsolete. Use HostBuilder or WebApplicationBuilder instead.",DiagnosticId="ASPDEPR008")]
24
+
[Obsolete("WebHost is obsolete. Use HostBuilder or WebApplicationBuilder instead. For more information, visit https://aka.ms/aspnet/deprecate/008.",DiagnosticId="ASPDEPR008")]
/// Contains extensions for managing the lifecycle of an <see cref="IWebHost"/>.
14
14
/// </summary>
15
-
[Obsolete("WebHostExtensions is obsolete. Use Host.CreateDefaultBuilder or WebApplication.CreateBuilder instead.",DiagnosticId="ASPDEPR008")]
15
+
[Obsolete("WebHostExtensions is obsolete. Use Host.CreateDefaultBuilder or WebApplication.CreateBuilder instead. For more information, visit https://aka.ms/aspnet/deprecate/008.",DiagnosticId="ASPDEPR008")]
Copy file name to clipboardExpand all lines: src/Hosting/TestHost/src/TestServer.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ public TestServer(IServiceProvider services, IFeatureCollection featureCollectio
80
80
/// For use with IWebHostBuilder.
81
81
/// </summary>
82
82
/// <param name="builder"></param>
83
-
[Obsolete("IWebHost, which this method uses, is obsolete. Use one of the ctors that takes an IServiceProvider instead.",DiagnosticId="ASPDEPR008")]
83
+
[Obsolete("IWebHost, which this method uses, is obsolete. Use one of the ctors that takes an IServiceProvider instead. For more information, visit https://aka.ms/aspnet/deprecate/008.",DiagnosticId="ASPDEPR008")]
84
84
publicTestServer(IWebHostBuilderbuilder)
85
85
:this(builder,CreateTestFeatureCollection())
86
86
{
@@ -91,7 +91,7 @@ public TestServer(IWebHostBuilder builder)
91
91
/// </summary>
92
92
/// <param name="builder"></param>
93
93
/// <param name="featureCollection"></param>
94
-
[Obsolete("IWebHost, which this method uses, is obsolete. Use one of the ctors that takes an IServiceProvider instead.",DiagnosticId="ASPDEPR008")]
94
+
[Obsolete("IWebHost, which this method uses, is obsolete. Use one of the ctors that takes an IServiceProvider instead. For more information, visit https://aka.ms/aspnet/deprecate/008.",DiagnosticId="ASPDEPR008")]
/// Provides an implementation of a Windows service that hosts ASP.NET Core.
13
13
/// </summary>
14
14
[DesignerCategory("Code")]
15
-
[Obsolete("Use UseWindowsService and AddHostedService instead.",DiagnosticId="ASPDEPR009")]
15
+
[Obsolete("Use UseWindowsService and AddHostedService instead. For more information, visit https://aka.ms/aspnet/deprecate/009.",DiagnosticId="ASPDEPR009")]
/// Extensions to <see cref="IWebHost"/> for hosting inside a Windows service.
10
10
/// </summary>
11
-
[Obsolete("Use UseWindowsService and AddHostedService instead.",DiagnosticId="ASPDEPR009")]
11
+
[Obsolete("Use UseWindowsService and AddHostedService instead. For more information, visit https://aka.ms/aspnet/deprecate/009.",DiagnosticId="ASPDEPR009")]
/// <param name="builder">The <see cref="IWebHostBuilder"/> used to
578
578
/// create the server.</param>
579
579
/// <returns>The <see cref="TestServer"/> with the bootstrapped application.</returns>
580
-
[Obsolete("IWebHost, which this method uses, is obsolete. Use one of the ctors that takes an IServiceProvider instead.",DiagnosticId="ASPDEPR008")]
580
+
[Obsolete("IWebHost, which this method uses, is obsolete. Use one of the overloads that takes an IServiceProvider instead. For more information, visit https://aka.ms/aspnet/deprecate/008.",DiagnosticId="ASPDEPR008")]
0 commit comments