1 implementation of IIISEnvironmentFeature
Microsoft.AspNetCore.Server.IIS (1)
Core\IISEnvironmentFeature.cs (1)
9
internal sealed class IISEnvironmentFeature :
IIISEnvironmentFeature
5 references to IIISEnvironmentFeature
Microsoft.AspNetCore.Server.IIS (3)
Core\IISEnvironmentFeature.cs (1)
11
public static bool TryCreate(IConfiguration configuration, [NotNullWhen(true)] out
IIISEnvironmentFeature
? result)
Core\IISHttpServer.cs (2)
82
if (IISEnvironmentFeature.TryCreate(configuration, out
var
iisEnvFeature))
84
Features.Set<
IIISEnvironmentFeature
>(iisEnvFeature);
NativeIISSample (2)
Startup.cs (2)
107
if (server.Features.Get<
IIISEnvironmentFeature
>() is { } envFeature)
123
await context.Response.WriteAsync($"No {nameof(
IIISEnvironmentFeature
)} available." + Environment.NewLine);