Skip to content

Commit 1d82ef0

Browse files
explainer comment for Kestrel configuration
1 parent 4177e47 commit 1d82ef0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

e2e/sample-apps/UmbracoSampleApp/AppBuilderHelper.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public static class AppBuilderHelper
2424
public static async Task<WebApplication> CreateApp(string[] args)
2525
{
2626
var builder = WebApplication.CreateBuilder(args);
27+
28+
// Use Kestrel for the web server instead of IIS Express (IIS Express is not supported on cross-platform)
2729
builder.WebHost.UseKestrel();
2830

2931
builder.CreateUmbracoBuilder()
@@ -88,7 +90,7 @@ public void Compose(IUmbracoBuilder builder)
8890
public class UmbracoApplicationNotificationHandler : INotificationHandler<UmbracoApplicationStartedNotification>
8991
{
9092
private readonly DatabaseService databaseService;
91-
public UmbracoApplicationNotificationHandler (DatabaseService databaseService)
93+
public UmbracoApplicationNotificationHandler(DatabaseService databaseService)
9294
{
9395
this.databaseService = databaseService;
9496
}

0 commit comments

Comments
 (0)