129 references to SetAttributeValue
IIS.FunctionalTests (9)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
270rootApplication.SetAttributeValue("path", "/"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISCompressionSiteFixture.cs (2)
32.SetAttributeValue("doDynamicCompression", "true"); 38.SetAttributeValue("enabled", "true");
src\Servers\IIS\IIS\test\Common.FunctionalTests\MultiApplicationTests.cs (4)
108.SetAttributeValue("hostingModel", model.ToString()); 122application.SetAttributeValue("path", "/app1"); 133newApplication.SetAttributeValue("path", "/app2"); 135.SetAttributeValue("physicalPath", destination.FullName);
src\Servers\IIS\IIS\test\IIS.Shared.FunctionalTests\ApplicationInitializationTests.cs (1)
121.SetAttributeValue("preloadEnabled", true);
IIS.LongTests (14)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
270rootApplication.SetAttributeValue("path", "/"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISCompressionSiteFixture.cs (2)
32.SetAttributeValue("doDynamicCompression", "true"); 38.SetAttributeValue("enabled", "true");
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
554.SetAttributeValue("hostingModel", "inprocess"));
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
310element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true"); 323ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86")); 392.SetAttributeValue("arguments", "not-exist.dll")); 578element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "") 583element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf") 1313element.Descendants("site").Single().Element("application").SetAttributeValue("path", "/" + appName); 1335.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost"); 1362.SetAttributeValue("bindingInformation", $":{port}:localhost"); 1366.SetAttributeValue("sslFlags", "None");
IIS.NewHandler.FunctionalTests (14)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
270rootApplication.SetAttributeValue("path", "/"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISCompressionSiteFixture.cs (2)
32.SetAttributeValue("doDynamicCompression", "true"); 38.SetAttributeValue("enabled", "true");
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
554.SetAttributeValue("hostingModel", "inprocess"));
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
310element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true"); 323ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86")); 392.SetAttributeValue("arguments", "not-exist.dll")); 578element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "") 583element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf") 1313element.Descendants("site").Single().Element("application").SetAttributeValue("path", "/" + appName); 1335.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost"); 1362.SetAttributeValue("bindingInformation", $":{port}:localhost"); 1366.SetAttributeValue("sslFlags", "None");
IIS.NewShim.FunctionalTests (14)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
270rootApplication.SetAttributeValue("path", "/"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISCompressionSiteFixture.cs (2)
32.SetAttributeValue("doDynamicCompression", "true"); 38.SetAttributeValue("enabled", "true");
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
554.SetAttributeValue("hostingModel", "inprocess"));
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
310element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true"); 323ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86")); 392.SetAttributeValue("arguments", "not-exist.dll")); 578element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "") 583element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf") 1313element.Descendants("site").Single().Element("application").SetAttributeValue("path", "/" + appName); 1335.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost"); 1362.SetAttributeValue("bindingInformation", $":{port}:localhost"); 1366.SetAttributeValue("sslFlags", "None");
IIS.ShadowCopy.Tests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
270rootApplication.SetAttributeValue("path", "/"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISCompressionSiteFixture.cs (2)
32.SetAttributeValue("doDynamicCompression", "true"); 38.SetAttributeValue("enabled", "true");
IIS.Tests (3)
Utilities\TestServer.cs (3)
127.SetAttributeValue("image", AspNetCoreModuleLocation); 138binding.SetAttributeValue("protocol", _protocol); 139binding.SetAttributeValue("bindingInformation", $":{port}:localhost");
IISExpress.FunctionalTests (19)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
270rootApplication.SetAttributeValue("path", "/"); 272.SetAttributeValue("physicalPath", rootApplicationDirectory.FullName);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISCompressionSiteFixture.cs (2)
32.SetAttributeValue("doDynamicCompression", "true"); 38.SetAttributeValue("enabled", "true");
src\Servers\IIS\IIS\test\Common.FunctionalTests\MultiApplicationTests.cs (4)
108.SetAttributeValue("hostingModel", model.ToString()); 122application.SetAttributeValue("path", "/app1"); 133newApplication.SetAttributeValue("path", "/app2"); 135.SetAttributeValue("physicalPath", destination.FullName);
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
554.SetAttributeValue("hostingModel", "inprocess"));
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
310element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true"); 323ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86")); 392.SetAttributeValue("arguments", "not-exist.dll")); 578element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "") 583element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf") 1313element.Descendants("site").Single().Element("application").SetAttributeValue("path", "/" + appName); 1335.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost"); 1362.SetAttributeValue("bindingInformation", $":{port}:localhost"); 1366.SetAttributeValue("sslFlags", "None");
UpgradeFeatureDetectionTests.cs (1)
69.SetAttributeValue("enabled", "false"));
Microsoft.AspNetCore.DataProtection (5)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptor.cs (2)
51encryptionElement.SetAttributeValue("provider", Configuration.EncryptionAlgorithmProvider); 58hashElement.SetAttributeValue("provider", Configuration.HashAlgorithmProvider);
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (1)
50encryptionElement.SetAttributeValue("provider", Configuration.EncryptionAlgorithmProvider);
AuthenticatedEncryption\ConfigurationModel\XmlExtensions.cs (1)
28element.SetAttributeValue(XmlConstants.RequiresEncryptionAttributeName, true);
XmlExtensions.cs (1)
24newElement.SetAttributeValue(attr.Name, attr.Value);
Microsoft.AspNetCore.Server.IntegrationTesting (3)
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (3)
161aspNetCoreSection.SetAttributeValue( 176environmentVariable.SetAttributeValue("name", envVariablePair.Key); 177environmentVariable.SetAttributeValue("value", envVariablePair.Value);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (38)
IISDeployer.cs (3)
145aspNetCore.SetAttributeValue("processPath", DotNetCommands.GetDotNetExecutable(DeploymentParameters.RuntimeArchitecture)); 369.SetAttributeValue("value", tuple.Value); 376pool.SetAttributeValue("enable32BitAppOnWin64", "true");
IISDeployerBase.cs (5)
120.SetAttributeValue("value", envVar.Value); 135.SetAttributeValue("value", handlerSetting.Value); 149.SetAttributeValue("physicalPath", contentRoot); 154.SetAttributeValue("bindingInformation", $":{port}:localhost"); 160.SetAttributeValue("image", GetAncmLocation());
IISDeploymentParameterExtensions.cs (21)
33.SetAttributeValue("protocol", "https"); 37.SetAttributeValue("sslFlags", "None"); 48.SetAttributeValue("protocol", "https"); 52.SetAttributeValue("sslFlags", "Ssl, SslNegotiateCert"); 70windowsAuthentication.SetAttributeValue("enabled", enabled); 87.SetAttributeValue("enabled", enabled); 103.SetAttributeValue("enabled", enabled); 122.SetAttributeValue("overrideModeDefault", "Allow"); 156addElement.SetAttributeValue("path", "*"); 159.SetAttributeValue("statusCodes", "200-999"); 165innerAddElement.SetAttributeValue("areas", "ANCM"); 166innerAddElement.SetAttributeValue("verbosity", verbosity); 182innerAddElement.SetAttributeValue("name", "WWW Server"); 183innerAddElement.SetAttributeValue("guid", "{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83}"); 188iae.SetAttributeValue("value", "65536"); 200traceFailedRequestsElement.SetAttributeValue("directory", folderPath); 201traceFailedRequestsElement.SetAttributeValue("enabled", "true"); 202traceFailedRequestsElement.SetAttributeValue("maxLogFileSizeKB", "1024"); 212aspNetCoreElement.SetAttributeValue("processPath", transformation((string)aspNetCoreElement.Attribute("processPath"), contentRoot)); 222aspNetCoreElement.SetAttributeValue("arguments", transformation((string)aspNetCoreElement.Attribute("arguments"), contentRoot)); 242.SetAttributeValue("image", modulePath);
IISExpressDeployer.cs (7)
320aspNetCore.SetAttributeValue("hostingModel", DeploymentParameters.HostingModel.ToString()); 321aspNetCore.SetAttributeValue("arguments", "%LAUNCHER_ARGS%"); 322aspNetCore.SetAttributeValue("processPath", "%LAUNCHER_PATH%"); 332aspNetCoreHandler.SetAttributeValue("path", "*"); 333aspNetCoreHandler.SetAttributeValue("verb", "*"); 334aspNetCoreHandler.SetAttributeValue("modules", AspNetCoreModuleV2ModuleName); 335aspNetCoreHandler.SetAttributeValue("resourceType", "Unspecified");
WebConfigHelpers.cs (2)
18.SetAttributeValue(key, value); 31.SetAttributeValue(key, value);
Microsoft.DotNet.Build.Tasks.Installers (1)
src\GenerateMacOSDistributionFile.cs (1)
136element.SetAttributeValue(attribute, value);
Microsoft.DotNet.Build.Tasks.Workloads (2)
Msi\WorkloadPackGroupMsi.wix.cs (2)
185xml.SetAttributeValue("Id", Id); 186xml.SetAttributeValue("Name", Name);
System.Private.Xml.Linq (3)
System\Xml\Linq\XAttribute.cs (1)
189/// <seealso cref="XElement.SetAttributeValue"/>
System\Xml\Linq\XElement.cs (2)
1241/// <seealso cref="XElement.SetAttributeValue"/> 1278/// <seealso cref="XElement.SetAttributeValue"/>