129 references to StringContent
Aspire.Dashboard.Tests (4)
Aspire.Hosting.PostgreSQL.Tests (1)
Binding.Http.IntegrationTests (1)
HttpStress (3)
IIS.FunctionalTests (21)
IISExpress.FunctionalTests (21)
Interop.FunctionalTests (2)
Microsoft.Arcade.Common (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (5)
Microsoft.AspNetCore.HeaderPropagation.Tests (3)
Microsoft.AspNetCore.InternalTesting.Tests (2)
Microsoft.AspNetCore.Mvc.FunctionalTests (28)
FormFileUploadTest.cs (10)
35content.Add(new StringContent("John"), "Name");
36content.Add(new StringContent("23"), "Age");
37content.Add(new StringContent("John's biography content"), "Biography", "Bio.txt");
59content.Add(new StringContent("Phone"), "Name");
60content.Add(new StringContent("camera"), "Specs[0].Key");
61content.Add(new StringContent("camera spec1 file contents"), "Specs[0].Value", "camera_spec1.txt");
62content.Add(new StringContent("camera spec2 file contents"), "Specs[0].Value", "camera_spec2.txt");
63content.Add(new StringContent("battery"), "Specs[1].Key");
64content.Add(new StringContent("battery spec1 file contents"), "Specs[1].Value", "battery_spec1.txt");
65content.Add(new StringContent("battery spec2 file contents"), "Specs[1].Value", "battery_spec2.txt");
Microsoft.AspNetCore.OutputCaching.Tests (2)
Microsoft.AspNetCore.ResponseCaching.Tests (2)
Microsoft.AspNetCore.Routing.FunctionalTests (3)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (8)
Microsoft.AspNetCore.SignalR.Client.Tests (4)
Microsoft.AspNetCore.SpaServices.Extensions.Tests (1)
Microsoft.AspNetCore.TestHost.Tests (4)
Microsoft.DotNet.Helix.Sdk.Tests (8)
Microsoft.Extensions.AI.Evaluation.Safety (1)
Microsoft.Extensions.AI.Integration.Tests (1)
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Microsoft.Extensions.Http.Polly.Tests (1)