5 implementations of ServerFeatures
Microsoft.AspNetCore (1)
WebApplication.cs (1)
78IFeatureCollection IApplicationBuilder.ServerFeatures => ServerFeatures;
Microsoft.AspNetCore.Http (1)
Builder\ApplicationBuilder.cs (1)
92public IFeatureCollection ServerFeatures
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
MapPathMiddlewareTests.cs (1)
252public IFeatureCollection ServerFeatures => throw new NotImplementedException();
UsePathBaseExtensionsTests.cs (1)
54public IFeatureCollection ServerFeatures => _wrappedBuilder.ServerFeatures;
Microsoft.AspNetCore.MiddlewareAnalysis (1)
AnalysisBuilder.cs (1)
43public IFeatureCollection ServerFeatures
7 references to ServerFeatures
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
UsePathBaseExtensionsTests.cs (1)
54public IFeatureCollection ServerFeatures => _wrappedBuilder.ServerFeatures;
Microsoft.AspNetCore.HttpsPolicy (1)
HttpsRedirectionBuilderExtensions.cs (1)
23var serverAddressFeature = app.ServerFeatures.Get<IServerAddressesFeature>();
Microsoft.AspNetCore.MiddlewareAnalysis (1)
AnalysisBuilder.cs (1)
45get { return InnerBuilder.ServerFeatures; }
Microsoft.AspNetCore.TestHost.Tests (2)
TestServerTests.cs (2)
268var serverAddressesFeature = applicationBuilder.ServerFeatures.Get<IServerAddressesFeature>(); 289var serverAddressesFeature = applicationBuilder.ServerFeatures.Get<IServerAddressesFeature>();
Microsoft.AspNetCore.Tests (1)
WebApplicationTests.cs (1)
168Assert.NotNull(newApp.ServerFeatures);
Sockets.BindTests (1)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (1)
247var serverAddresses = app.ServerFeatures.Get<IServerAddressesFeature>();