33 references to Web
Aspire.Hosting.Azure (1)
AcrLoginService.cs (1)
23private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web)
Aspire.Hosting.DevTunnels (1)
DevTunnelCliClient.cs (1)
15private readonly JsonSerializerOptions _jsonOptions = new(JsonSerializerDefaults.Web) { Converters = { new JsonStringEnumConverter() } };
Infrastructure.Tests (1)
WorkflowScripts\AutoRerunTransientCiFailuresTests.cs (1)
16private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
Microsoft.AspNetCore.Authentication.BearerToken (4)
AccessTokenResponse.cs (4)
18/// This is serialized as "tokenType": "Bearer" using <see cref="JsonSerializerDefaults.Web"/>. 26/// This is serialized as "accessToken": "{AccessToken}" using <see cref="JsonSerializerDefaults.Web"/>. 34/// This is serialized as "expiresIn": "{ExpiresInSeconds}" using <see cref="JsonSerializerDefaults.Web"/>. 42/// This is serialized as "refreshToken": "{RefreshToken}" using using <see cref="JsonSerializerDefaults.Web"/>.
Microsoft.AspNetCore.Http.Extensions (1)
JsonOptions.cs (1)
16internal static readonly JsonSerializerOptions DefaultSerializerOptions = new JsonSerializerOptions(JsonSerializerDefaults.Web)
Microsoft.AspNetCore.Identity (2)
IdentityJsonSerializerContext.cs (1)
17JsonSerializerDefaults.Web,
IdentityJsonSerializerContext.g.cs (1)
14private readonly static global::System.Text.Json.JsonSerializerOptions s_defaultOptions = new(global::System.Text.Json.JsonSerializerDefaults.Web)
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (4)
Internal\DictionaryAdapterTest.cs (1)
242var serializerOptions = new JsonSerializerOptions(JsonSerializerDefaults.Web) { PropertyNameCaseInsensitive = true };
JsonPatchDocumentTest.cs (3)
193var options = new JsonSerializerOptions(JsonSerializerDefaults.Web); 213var options = new JsonSerializerOptions(JsonSerializerDefaults.Web); 239var compatibleSerializerOption = new JsonSerializerOptions(JsonSerializerDefaults.Web);
Microsoft.AspNetCore.Mvc.Core (1)
JsonOptions.cs (1)
35public JsonSerializerOptions JsonSerializerOptions { get; } = new JsonSerializerOptions(JsonSerializerDefaults.Web)
Microsoft.Extensions.AI.Abstractions (2)
Utilities\AIJsonUtilities.Defaults.cs (2)
78[JsonSourceGenerationOptions(JsonSerializerDefaults.Web, 168[JsonSourceGenerationOptions(JsonSerializerDefaults.Web,
Microsoft.Extensions.AI.Integration.Tests (1)
PromptBasedFunctionCallingChatClient.cs (1)
36private static readonly JsonSerializerOptions _jsonOptions = new(JsonSerializerDefaults.Web)
Microsoft.Extensions.AI.OpenAI (1)
OpenAIJsonContext.cs (1)
14[JsonSourceGenerationOptions(JsonSerializerDefaults.Web,
SignalRServerlessWeb (1)
Program.cs (1)
35var jsonSerializerOptions = new JsonSerializerOptions(JsonSerializerDefaults.Web)
System.Net.Http.Json (9)
System\Net\Http\Json\HttpClientJsonExtensions.Delete.cs (4)
27/// <param name="options">Options to control the behavior during serialization. The default options are those specified by <see cref="JsonSerializerDefaults.Web"/>.</param> 42/// <param name="options">Options to control the behavior during serialization. The default options are those specified by <see cref="JsonSerializerDefaults.Web"/>.</param> 57/// <param name="options">Options to control the behavior during serialization. The default options are those specified by <see cref="JsonSerializerDefaults.Web"/>.</param> 72/// <param name="options">Options to control the behavior during serialization. The default options are those specified by <see cref="JsonSerializerDefaults.Web"/>.</param>
System\Net\Http\Json\HttpClientJsonExtensions.Patch.cs (2)
21/// <param name="options">Options to control the behavior during serialization. The default options are those specified by <see cref="JsonSerializerDefaults.Web"/>.</param> 42/// <param name="options">Options to control the behavior during serialization. The default options are those specified by <see cref="JsonSerializerDefaults.Web"/>.</param>
System\Net\Http\Json\HttpContentJsonExtensions.AsyncEnumerable.cs (1)
42/// The default options are those specified by <see cref="JsonSerializerDefaults.Web"/>.</param>
System\Net\Http\Json\JsonContent.cs (2)
49/// <param name="options">Options to control the behavior during serialization, the default options are <see cref="JsonSerializerDefaults.Web"/>.</param> 62/// <param name="options">Options to control the behavior during serialization, the default options are <see cref="JsonSerializerDefaults.Web"/>.</param>
System.Text.Json (3)
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
31if (defaults is JsonSerializerDefaults.Web)
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
57get => field ?? GetOrCreateSingleton(ref field, JsonSerializerDefaults.Web); 174if (defaults == JsonSerializerDefaults.Web)
Wasm.Performance.TestApp (1)
Json_razor.g.cs (1)
272PersonJsonContext personJsonContext = new(new(JsonSerializerDefaults.Web));