63 references to Web
Aspire.Hosting.Azure (1)
AcrLoginService.cs (1)
29private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web)
Aspire.Hosting.Azure.Sandboxes (1)
Internal\Adc\AzureDevComputeClient.cs (1)
53private static readonly JsonSerializerOptions s_jsonSerializerOptions = new(JsonSerializerDefaults.Web)
Aspire.Hosting.Browsers (4)
BrowserEndpointDiscovery.cs (2)
37private static readonly BrowserEndpointJsonContext s_jsonContext = new(new JsonSerializerOptions(JsonSerializerDefaults.Web) 325[JsonSourceGenerationOptions(JsonSerializerDefaults.Web, WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)]
BrowserLogsBuilderExtensions.cs (1)
45private static readonly JsonSerializerOptions s_commandResultJsonOptions = new(JsonSerializerDefaults.Web)
BrowserLogsSessionManager.cs (1)
20private static readonly JsonSerializerOptions s_browserSessionPropertyJsonOptions = new(JsonSerializerDefaults.Web);
Aspire.Hosting.Browsers.Tests (5)
BrowserLogsBuilderExtensionsTests.cs (1)
1981private static JsonSerializerOptions BrowserSessionPropertyJsonOptions { get; } = new(JsonSerializerDefaults.Web);
src\Aspire.Hosting.Browsers\BrowserEndpointDiscovery.cs (2)
37private static readonly BrowserEndpointJsonContext s_jsonContext = new(new JsonSerializerOptions(JsonSerializerDefaults.Web) 325[JsonSourceGenerationOptions(JsonSerializerDefaults.Web, WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)]
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (1)
45private static readonly JsonSerializerOptions s_commandResultJsonOptions = new(JsonSerializerDefaults.Web)
src\Aspire.Hosting.Browsers\BrowserLogsSessionManager.cs (1)
20private static readonly JsonSerializerOptions s_browserSessionPropertyJsonOptions = new(JsonSerializerDefaults.Web);
Aspire.Hosting.DevTunnels (1)
DevTunnelCliClient.cs (1)
15private readonly JsonSerializerOptions _jsonOptions = new(JsonSerializerDefaults.Web) { Converters = { new JsonStringEnumConverter() } };
dotnet-aot (1)
parent\dotnet\Telemetry\TelemetryDiskLogger.cs (1)
46s_jsonOptions = new(JsonSerializerDefaults.Web) { WriteIndented = false };
Infrastructure.Tests (20)
CreateFailingTestIssue\CreateFailingTestIssueToolTests.cs (1)
991private static JsonSerializerOptions JsonOptions { get; } = new(JsonSerializerDefaults.Web);
GenerateTestSummary\GenerateTestSummaryToolTests.cs (7)
66new JsonSerializerOptions(JsonSerializerDefaults.Web)); 93new JsonSerializerOptions(JsonSerializerDefaults.Web)); 116new JsonSerializerOptions(JsonSerializerDefaults.Web)); 143new JsonSerializerOptions(JsonSerializerDefaults.Web)); 173new JsonSerializerOptions(JsonSerializerDefaults.Web)); 200new JsonSerializerOptions(JsonSerializerDefaults.Web)); 231new JsonSerializerOptions(JsonSerializerDefaults.Web));
WorkflowScripts\AutoRerunTransientCiFailuresTests.cs (1)
16private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\CreateFailingTestIssueWorkflowTests.cs (1)
15private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\MonitorScheduledWorkflowsIntegrationTests.cs (1)
19private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\MonitorScheduledWorkflowsTests.cs (1)
16private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\ReportCiFailureIntegrationTests.cs (1)
19private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\ReportCiFailureTests.cs (1)
17private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\ReportPipelineFailureIntegrationTests.cs (1)
19private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\ReportPipelineFailureTests.cs (1)
16private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\ReportSpecializedTestFailuresTests.cs (1)
16private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\SelectTestsCommentScriptTests.cs (1)
22private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\SpecializedTestFailureRunnerTests.cs (1)
19private static readonly JsonSerializerOptions s_jsonOptions = new(JsonSerializerDefaults.Web);
WorkflowScripts\TrackingIssueTests.cs (1)
18private 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.Components.Endpoints (1)
Serialization\JsonStoredDataSerializer.cs (1)
12private static readonly JsonSerializerOptions _options = new(JsonSerializerDefaults.Web);
Microsoft.AspNetCore.Http.Extensions (1)
JsonOptions.cs (1)
16internal static readonly JsonSerializerOptions DefaultSerializerOptions = new JsonSerializerOptions(JsonSerializerDefaults.Web)
Microsoft.AspNetCore.Identity (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\IdentityJsonSerializerContext.g.cs (1)
14private readonly static global::System.Text.Json.JsonSerializerOptions s_defaultOptions = new(global::System.Text.Json.JsonSerializerDefaults.Web)
IdentityJsonSerializerContext.cs (1)
21JsonSerializerDefaults.Web,
Microsoft.AspNetCore.Mvc.Core (1)
JsonOptions.cs (1)
35public JsonSerializerOptions JsonSerializerOptions { get; } = new JsonSerializerOptions(JsonSerializerDefaults.Web)
Microsoft.DotNet.HotReload.Watch (2)
Process\LaunchSettingsProfile.cs (1)
14private static readonly JsonSerializerOptions s_serializerOptions = new(JsonSerializerDefaults.Web)
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\AbstractBrowserRefreshServer.cs (1)
31private static readonly JsonSerializerOptions s_jsonSerializerOptions = new(JsonSerializerDefaults.Web);
Microsoft.DotNet.HotReload.WebAssembly.Browser (2)
WebAssemblyHotReload.cs (2)
58private static readonly JsonSerializerOptions s_jsonSerializerOptions = new(JsonSerializerDefaults.Web); 149private static readonly WebAssemblyHotReloadJsonSerializerContext jsonContext = new(new(JsonSerializerDefaults.Web));
Microsoft.Extensions.AI.Abstractions (2)
Utilities\AIJsonUtilities.Defaults.cs (2)
64[JsonSourceGenerationOptions(JsonSerializerDefaults.Web, 149[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)
parent\Common\JsonSourceGenerationOptionsAttribute.cs (1)
31if (defaults is JsonSerializerDefaults.Web)
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
57get => field ?? GetOrCreateSingleton(ref field, JsonSerializerDefaults.Web); 178if (defaults == JsonSerializerDefaults.Web)