77 references to Create
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (2)
469var accessDeniedUri = Options.AccessDeniedPath + QueryString.Create(Options.ReturnUrlParameter, returnUrl); 483var loginUri = Options.LoginPath + QueryString.Create(Options.ReturnUrlParameter, redirectUri);
Microsoft.AspNetCore.Http.Abstractions (1)
QueryString.cs (1)
201return Create(name, value);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
QueryStringTests.cs (1)
59var query = QueryString.Create(name, value!);
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\CompileTimeCreationTests.cs (2)
410httpContext.Request.QueryString = QueryString.Create("value", endpoint.DisplayName); 525httpContext.Request.QueryString = httpContext.Request.QueryString.Add(QueryString.Create(value, value));
Microsoft.AspNetCore.Mvc.IntegrationTests (69)
ActionParametersIntegrationTest.cs (19)
46request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 92request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 139request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 187request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 227request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 271request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 318request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 363request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 399request.QueryString = QueryString.Create("Name", "James").Add("Property1.City", "Seattle"); 432request.QueryString = QueryString.Create("Name", "James"); 460request.QueryString = QueryString.Create("Name", "James").Add("Property1.City", "Seattle"); 552request.QueryString = QueryString.Create("Name", "James"); 585request.QueryString = QueryString.Create("Name", "James").Add("Age", "29"); 644request.QueryString = QueryString.Create(parameter.Name, "123"); 677request.QueryString = QueryString.Create(nameof(ModelWithIValidatableObject.FirstName), "TestName"); 721request.QueryString = QueryString.Create(parameter.Name, input.Value.ToString(CultureInfo.InvariantCulture)); 774request.QueryString = QueryString.Create(parameter.Name, input); 817request.QueryString = QueryString.Create(nameof(ModelWithIValidatableObject.FirstName), "Billy"); 862request.QueryString = QueryString.Create(key, "Billy");
BindingSourceMetadataProviderIntegrationTest.cs (1)
92request.QueryString = QueryString.Create("Name", "Fred");
ByteArrayModelBinderIntegrationTest.cs (2)
40request.QueryString = QueryString.Create(queryStringKey, value); 123request.QueryString = QueryString.Create("CustomParameter", value);
FormCollectionModelBindingIntegrationTest.cs (1)
42request.QueryString = QueryString.Create("Address.Zip", "12345");
FormFileModelBindingIntegrationTest.cs (8)
42request.QueryString = QueryString.Create("Address.Zip", "12345"); 199request.QueryString = QueryString.Create("Person.Address.Zip", "98056"); 286request.QueryString = QueryString.Create("fleet.Garage.Name", "WestEnd"); 351request.QueryString = QueryString.Create("fleet.Garage.Name", "WestEnd"); 417request.QueryString = QueryString.Create("GroupName", "TestGroup"); 711request.QueryString = QueryString.Create("p.Name", "Accord"); 770request.QueryString = QueryString.Create("house.Garage.Cars[0].Name", "Accord"); 998request.QueryString = QueryString.Create("p.Name", "Accord");
SimpleTypeModelBinderIntegrationTest.cs (12)
36request.QueryString = QueryString.Create("CustomParameter.Address.Zip", "1"); 80request.QueryString = QueryString.Create("Address.Zip", "1"); 125request.QueryString = QueryString.Create("Parameter1", "someValue"); 202request.QueryString = QueryString.Create("Parameter1", "32,000.99"); 246request.QueryString = QueryString.Create("Parameter1", "2020-02-01"); 375request.QueryString = QueryString.Create("Parameter1", "abcd"); 427request.QueryString = QueryString.Create("Parameter1", "abcd"); 485request.QueryString = QueryString.Create("Parameter1", ""); 530request.QueryString = QueryString.Create("Parameter1", string.Empty); 582request.QueryString = QueryString.Create("Parameter1", string.Empty); 719request.QueryString = QueryString.Create("Parameter1", "someValue"); 763request.QueryString = QueryString.Create("Parameter1", "someValue");
TryUpdateModelIntegrationTest.cs (26)
26request.QueryString = QueryString.Create("Street", "SomeStreet"); 66request.QueryString = QueryString.Create("Street", "SomeStreet"); 165request.QueryString = QueryString.Create("Address.Street", "SomeStreet"); 215request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 251request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 302request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 358request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 387request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 421request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 457request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 510request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 551request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 598request.QueryString = QueryString.Create("Address[0].Street", "SomeStreet"); 633request.QueryString = QueryString.Create("prefix.Street", "SomeStreet"); 673request.QueryString = QueryString.Create("prefix.Street", "SomeStreet"); 765request.QueryString = QueryString.Create("prefix.Address.Street", "SomeStreet"); 810request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 846request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 887request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 938request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 974request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 1022request.QueryString = QueryString.Create("prefix.Address[0].Street", "SomeStreet"); 1103request.QueryString = QueryString.Create("Street", "SomeStreet"); 1148request.QueryString = QueryString.Create("Street", "SomeStreet"); 1175request.QueryString = QueryString.Create("Address.ZipCode", "98007").Add("Address.Street", "SomeStreet"); 1221request.QueryString = QueryString.Create("Address.ZipCode", "98007").Add("Address.Street", "SomeStreet");
MyFrontend (2)
Services\CatalogServiceClient.cs (2)
13(int b, null) => QueryString.Create("before", b.ToString(CultureInfo.InvariantCulture)), 14(null, int a) => QueryString.Create("after", a.ToString(CultureInfo.InvariantCulture)),