Skip to content

Commit e910f0c

Browse files
Update 22-to-30.md (#18119)
1 parent bddcbc9 commit e910f0c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

aspnetcore/migration/22-to-30.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ Projects default to the [in-process hosting model](xref:host-and-deploy/aspnet-c
325325

326326
### Configuration
327327

328-
Migrate Kestrel configuration to the web host builder provided by `ConfigureWebHostDefaults` (*Program.cs*):
328+
Migrate Kestrel configuration to the [web host builder](#hostb) provided by `ConfigureWebHostDefaults` (*Program.cs*):
329329

330330
```csharp
331331
public static IHostBuilder CreateHostBuilder(string[] args) =>
@@ -1016,6 +1016,8 @@ public void Configure(IApplicationBuilder app)
10161016
}
10171017
```
10181018

1019+
<a name="hostb"></a>
1020+
10191021
## HostBuilder replaces WebHostBuilder
10201022

10211023
The ASP.NET Core 3.0 templates use [Generic Host](xref:fundamentals/host/generic-host). Previous versions used [Web Host](xref:fundamentals/host/web-host). The following code shows the ASP.NET Core 3.0 template generated `Program` class:

0 commit comments

Comments
 (0)