diff --git a/aspnetcore/razor-pages/ui-class/6samples/cli/WebApp1/Program.cs b/aspnetcore/razor-pages/ui-class/6samples/cli/WebApp1/Program.cs index 60ad43041d8f..b03ac58bd60f 100644 --- a/aspnetcore/razor-pages/ui-class/6samples/cli/WebApp1/Program.cs +++ b/aspnetcore/razor-pages/ui-class/6samples/cli/WebApp1/Program.cs @@ -27,8 +27,7 @@ #region snippet1 var builder = WebApplication.CreateBuilder(args); -builder.WebHost.UseWebRoot("wwwroot"); -builder.WebHost.UseStaticWebAssets(); +builder.WebHost.UseWebRoot("wwwroot").UseStaticWebAssets(); builder.Services.AddRazorPages(); diff --git a/aspnetcore/razor-pages/ui-class/includes/ui-class6.md b/aspnetcore/razor-pages/ui-class/includes/ui-class6.md index 0e12e6c8b9ca..2becb8324388 100644 --- a/aspnetcore/razor-pages/ui-class/includes/ui-class6.md +++ b/aspnetcore/razor-pages/ui-class/includes/ui-class6.md @@ -137,7 +137,9 @@ The consuming app references static assets provided by the library with `