@foreach (var log in ApplicationLogs)
{
-
@log.Text
+
@log.Text
}
}
diff --git a/src/Microsoft.Tye.Hosting/Infrastructure/IngressHostMatcherPolicy.cs b/src/Microsoft.Tye.Hosting/Infrastructure/IngressHostMatcherPolicy.cs
new file mode 100644
index 00000000..469fde36
--- /dev/null
+++ b/src/Microsoft.Tye.Hosting/Infrastructure/IngressHostMatcherPolicy.cs
@@ -0,0 +1,209 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Http;
+
+namespace Microsoft.AspNetCore.Routing.Matching
+{
+ internal sealed class IngressHostMatcherPolicy : MatcherPolicy, IEndpointSelectorPolicy
+ {
+ private const string WildcardHost = "*";
+ private const string WildcardPrefix = "*.";
+
+ // Run after HTTP methods, but before 'default'.
+ public override int Order { get; } = -100;
+
+ public bool AppliesToEndpoints(IReadOnlyList