14 writes to ServerType
IIS.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
47ServerType = DeployerSelector.ServerType
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
47ServerType = DeployerSelector.ServerType,
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
47ServerType = DeployerSelector.ServerType
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
47ServerType = DeployerSelector.ServerType,
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
47ServerType = DeployerSelector.ServerType
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
47ServerType = DeployerSelector.ServerType,
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
47ServerType = DeployerSelector.ServerType
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
47ServerType = DeployerSelector.ServerType,
IIS.ShadowCopy.Tests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
47ServerType = DeployerSelector.ServerType
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
47ServerType = DeployerSelector.ServerType,
IISExpress.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
47ServerType = DeployerSelector.ServerType
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
47ServerType = DeployerSelector.ServerType,
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Common\DeploymentParameters.cs (2)
35ServerType = variant.Server; 64ServerType = serverType;
77 references to ServerType
IIS.FunctionalTests (9)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
134(deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress ? "Express " : "") +
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\FunctionalTestsBase.cs (1)
24if (parameters.ServerType == ServerType.IISExpress &&
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
69if (result.DeploymentParameters.ServerType == ServerType.IISExpress) 162if (deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress) 176if (deploymentResult.DeploymentParameters.ServerType == ServerType.IIS)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISSubAppSiteFixture.cs (1)
16if (deploymentParameters.ServerType == IntegrationTesting.ServerType.IIS)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\MaxRequestBodySizeTests.cs (1)
159if (deploymentParameters.ServerType == ServerType.IISExpress)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (1)
299if (deploymentParameters.ServerType == ServerType.IISExpress)
src\Servers\IIS\IIS\test\Common.FunctionalTests\MaxRequestBodySizeTests.cs (1)
160if (deploymentParameters.ServerType == ServerType.IISExpress)
IIS.LongTests (11)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
134(deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress ? "Express " : "") +
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\FunctionalTestsBase.cs (1)
24if (parameters.ServerType == ServerType.IISExpress &&
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
69if (result.DeploymentParameters.ServerType == ServerType.IISExpress) 162if (deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress) 176if (deploymentResult.DeploymentParameters.ServerType == ServerType.IIS)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISSubAppSiteFixture.cs (1)
16if (deploymentParameters.ServerType == IntegrationTesting.ServerType.IIS)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (2)
269if (deploymentParameters.ServerType == ServerType.IISExpress) 306if (deploymentParameters.ServerType == ServerType.IISExpress)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (3)
302if (deploymentParameters.ServerType == ServerType.IISExpress) 729var eventPrefix = deploymentParameters.ServerType == ServerType.IISExpress ? "" : "Global\\"; 979if (deploymentParameters.ServerType == ServerType.IISExpress)
IIS.NewHandler.FunctionalTests (11)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
134(deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress ? "Express " : "") +
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\FunctionalTestsBase.cs (1)
24if (parameters.ServerType == ServerType.IISExpress &&
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
69if (result.DeploymentParameters.ServerType == ServerType.IISExpress) 162if (deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress) 176if (deploymentResult.DeploymentParameters.ServerType == ServerType.IIS)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISSubAppSiteFixture.cs (1)
16if (deploymentParameters.ServerType == IntegrationTesting.ServerType.IIS)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (2)
269if (deploymentParameters.ServerType == ServerType.IISExpress) 306if (deploymentParameters.ServerType == ServerType.IISExpress)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (3)
302if (deploymentParameters.ServerType == ServerType.IISExpress) 729var eventPrefix = deploymentParameters.ServerType == ServerType.IISExpress ? "" : "Global\\"; 979if (deploymentParameters.ServerType == ServerType.IISExpress)
IIS.NewShim.FunctionalTests (11)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
134(deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress ? "Express " : "") +
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\FunctionalTestsBase.cs (1)
24if (parameters.ServerType == ServerType.IISExpress &&
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
69if (result.DeploymentParameters.ServerType == ServerType.IISExpress) 162if (deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress) 176if (deploymentResult.DeploymentParameters.ServerType == ServerType.IIS)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISSubAppSiteFixture.cs (1)
16if (deploymentParameters.ServerType == IntegrationTesting.ServerType.IIS)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (2)
269if (deploymentParameters.ServerType == ServerType.IISExpress) 306if (deploymentParameters.ServerType == ServerType.IISExpress)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (3)
302if (deploymentParameters.ServerType == ServerType.IISExpress) 729var eventPrefix = deploymentParameters.ServerType == ServerType.IISExpress ? "" : "Global\\"; 979if (deploymentParameters.ServerType == ServerType.IISExpress)
IIS.ShadowCopy.Tests (6)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
134(deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress ? "Express " : "") +
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\FunctionalTestsBase.cs (1)
24if (parameters.ServerType == ServerType.IISExpress &&
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
69if (result.DeploymentParameters.ServerType == ServerType.IISExpress) 162if (deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress) 176if (deploymentResult.DeploymentParameters.ServerType == ServerType.IIS)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISSubAppSiteFixture.cs (1)
16if (deploymentParameters.ServerType == IntegrationTesting.ServerType.IIS)
IISExpress.FunctionalTests (14)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
134(deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress ? "Express " : "") +
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\FunctionalTestsBase.cs (1)
24if (parameters.ServerType == ServerType.IISExpress &&
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
69if (result.DeploymentParameters.ServerType == ServerType.IISExpress) 162if (deploymentResult.DeploymentParameters.ServerType == ServerType.IISExpress) 176if (deploymentResult.DeploymentParameters.ServerType == ServerType.IIS)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISSubAppSiteFixture.cs (1)
16if (deploymentParameters.ServerType == IntegrationTesting.ServerType.IIS)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\MaxRequestBodySizeTests.cs (1)
159if (deploymentParameters.ServerType == ServerType.IISExpress)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (1)
299if (deploymentParameters.ServerType == ServerType.IISExpress)
src\Servers\IIS\IIS\test\Common.FunctionalTests\MaxRequestBodySizeTests.cs (1)
160if (deploymentParameters.ServerType == ServerType.IISExpress)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (2)
269if (deploymentParameters.ServerType == ServerType.IISExpress) 306if (deploymentParameters.ServerType == ServerType.IISExpress)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (3)
302if (deploymentParameters.ServerType == ServerType.IISExpress) 729var eventPrefix = deploymentParameters.ServerType == ServerType.IISExpress ? "" : "Global\\"; 979if (deploymentParameters.ServerType == ServerType.IISExpress)
Microsoft.AspNetCore.Server.IntegrationTesting (13)
Common\DeploymentParameters.cs (1)
187ServerType,
Deployers\ApplicationDeployer.cs (2)
32if (DeploymentParameters.ServerType == ServerType.None) 34throw new ArgumentException($"Invalid ServerType '{DeploymentParameters.ServerType}'.");
Deployers\ApplicationDeployerFactory.cs (2)
25switch (deploymentParameters.ServerType) 40deploymentParameters.ServerType)
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (6)
29if (_deploymentParameters.ServerType != ServerType.IIS 30&& _deploymentParameters.ServerType != ServerType.Kestrel 31&& _deploymentParameters.ServerType != ServerType.HttpSys) 33throw new InvalidOperationException($"Server type {_deploymentParameters.ServerType} is not supported for remote deployment." + 85if (_deploymentParameters.ServerType == ServerType.IIS) 230parameterBuilder.Append(FormattableString.Invariant($" -serverType {_deploymentParameters.ServerType}"));
Deployers\SelfHostDeployer.cs (2)
59DeploymentParameters.ServerType, 115var server = DeploymentParameters.ServerType == ServerType.HttpSys
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
ApplicationDeployerFactory.cs (1)
25switch (deploymentParameters.ServerType)
IISDeploymentParameterExtensions.cs (1)
228if (parameters.ServerType == ServerType.IIS)