75 references to WriteString
Aspire.Hosting.Azure (2)
AzureBicepResource.cs (2)
137context.Writer.WriteString("type", "azure.bicep.v0"); 146context.Writer.WriteString("path", context.GetManifestRelativePath(path));
Aspire.Hosting.Azure.EventHubs (4)
AzureEventHubsExtensions.cs (4)
218writer.WriteString("Type", "EventHub"); // "Type": "EventHub", 221writer.WriteString("Name", "emulatorNs1"); // "Name": "emulatorNs1" 230writer.WriteString("PartitionCount", "2"); // "PartitionCount": "2", 240writer.WriteString("Type", "File"); // "Type": "File"
Aspire.Hosting.Dapr (5)
DaprDistributedApplicationLifecycleHook.cs (2)
235context.Writer.WriteString("type", "dapr.v0"); 238context.Writer.WriteString("application", resource.Name);
IDistributedApplicationBuilderExtensions.cs (2)
83context.Writer.WriteString("type", "dapr.component.v0"); 90context.Writer.WriteString("type", resource.Type);
src\Shared\Utf8JsonWriterExtensions.cs (1)
93writer.WriteString(name, value);
Aspire.Hosting.PostgreSQL (7)
PostgresBuilderExtensions.cs (7)
185writer.WriteString("Name", postgresInstance.Name); 186writer.WriteString("Group", "Servers"); 189writer.WriteString("Host", endpoint.Resource.Name); 191writer.WriteString("Username", postgresInstance.UserNameParameter?.Value ?? "postgres"); 192writer.WriteString("SSLMode", "prefer"); 193writer.WriteString("MaintenanceDB", "postgres"); 194writer.WriteString("PasswordExecCommand", $"echo '{postgresInstance.PasswordParameter.Value}'"); // HACK: Generating a pass file and playing around with chmod is too painful.
Aspire.Hosting.Redis (1)
RedisBuilderExtensions.cs (1)
255writer.WriteString("connectionType", "STANDALONE");
JwtBearerSample (2)
Startup.cs (2)
103writer.WriteString("Description", todo.Description); 104writer.WriteString("Owner", todo.Owner);
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\AnyConverter.cs (1)
81writer.WriteString(AnyTypeUrlField, typeUrl);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Infrastructure\DefaultTempDataSerializer.cs (2)
163writer.WriteString(key, stringValue); 204writer.WriteString(element.Key, element.Value);
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Http2Limits.cs (2)
219writer.WriteString(nameof(KeepAlivePingDelay), KeepAlivePingDelay.ToString()); 220writer.WriteString(nameof(KeepAlivePingTimeout), KeepAlivePingTimeout.ToString());
KestrelServerLimits.cs (4)
261writer.WriteString(nameof(KeepAliveTimeout), KeepAliveTimeout.ToString()); 322writer.WriteString(nameof(MinRequestBodyDataRate), MinRequestBodyDataRate?.ToString()); 323writer.WriteString(nameof(MinResponseDataRate), MinResponseDataRate?.ToString()); 324writer.WriteString(nameof(RequestHeadersTimeout), RequestHeadersTimeout.ToString());
KestrelServerOptions.cs (4)
350writer.WriteString(nameof(RequestHeaderEncodingSelector), RequestHeaderEncodingSelector == DefaultHeaderEncodingSelector ? "default" : "configured"); 351writer.WriteString(nameof(ResponseHeaderEncodingSelector), ResponseHeaderEncodingSelector == DefaultHeaderEncodingSelector ? "default" : "configured"); 365writer.WriteString("Address", listenOptions.GetDisplayName()); 368writer.WriteString(nameof(listenOptions.Protocols), listenOptions.Protocols.ToString());
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
586writer.WriteString(value.Key, value.Value);
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Protocol\Internal\Converters\ClassifiedTextRunConverter.cs (1)
56writer.WriteString(ObjectContentConverter.TypeProperty, nameof(ClassifiedTextRun));
Protocol\Internal\Converters\ImageElementConverter.cs (2)
63writer.WriteString(nameof(ImageElement.AutomationName), value.AutomationName); 64writer.WriteString(ObjectContentConverter.TypeProperty, nameof(ImageElement));
Protocol\Internal\Converters\ImageIdConverter.cs (2)
39writer.WriteString(nameof(ImageId.Guid), value.Guid.ToString()); 41writer.WriteString(ObjectContentConverter.TypeProperty, nameof(ImageId));
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (5)
151writer.WriteString("label", label); 163writer.WriteString("detail", completionItem.Detail); 180writer.WriteString("sortText", completionItem.SortText); 185writer.WriteString("filterText", completionItem.FilterText); 190writer.WriteString("insertText", completionItem.InsertText);
Microsoft.Extensions.DependencyModel (19)
DependencyContextWriter.cs (19)
46jsonWriter.WriteString(DependencyContextStrings.RuntimeTargetNamePropertyName, 51jsonWriter.WriteString(DependencyContextStrings.RuntimeTargetNamePropertyName, 54jsonWriter.WriteString(DependencyContextStrings.RuntimeTargetSignaturePropertyName, 104jsonWriter.WriteString(name, value); 206jsonWriter.WriteString(dependency.Name, dependency.Version); 224jsonWriter.WriteString(DependencyContextStrings.LocalePropertyName, resourceAssembly.Locale); 336jsonWriter.WriteString(DependencyContextStrings.RidPropertyName, group.Runtime); 337jsonWriter.WriteString(DependencyContextStrings.AssetTypePropertyName, assetType); 353jsonWriter.WriteString(DependencyContextStrings.RidPropertyName, runtime); 354jsonWriter.WriteString(DependencyContextStrings.AssetTypePropertyName, assetType); 358jsonWriter.WriteString(DependencyContextStrings.AssemblyVersionPropertyName, asset.AssemblyVersion); 363jsonWriter.WriteString(DependencyContextStrings.FileVersionPropertyName, asset.FileVersion); 391jsonWriter.WriteString(DependencyContextStrings.AssemblyVersionPropertyName, runtimeFile.AssemblyVersion); 396jsonWriter.WriteString(DependencyContextStrings.FileVersionPropertyName, runtimeFile.FileVersion); 422jsonWriter.WriteString(DependencyContextStrings.TypePropertyName, library.Type); 424jsonWriter.WriteString(DependencyContextStrings.Sha512PropertyName, library.Hash); 428jsonWriter.WriteString(DependencyContextStrings.PathPropertyName, library.Path); 433jsonWriter.WriteString(DependencyContextStrings.HashPathPropertyName, library.HashPath); 438jsonWriter.WriteString(DependencyContextStrings.RuntimeStoreManifestPropertyName, library.RuntimeStoreManifestName);
Microsoft.Extensions.Logging.Console (8)
JsonConsoleFormatter.cs (8)
69writer.WriteString("Timestamp", stamp.ToString(timestampFormat)); 72writer.WriteString(nameof(LogEntry<object>.LogLevel), GetLogLevelString(logLevel)); 73writer.WriteString(nameof(LogEntry<object>.Category), category); 74writer.WriteString("Message", message); 78writer.WriteString(nameof(Exception), exception); 84writer.WriteString("Message", stateMessage); 150state.WriteString("Message", scope.ToString()); 218writer.WriteString(key, ToInvariantString(item.Value));
Microsoft.Extensions.Logging.EventSource (1)
EventSourceLogger.cs (1)
264writer.WriteString(keyValue.Key, keyValue.Value);
SignalRSamples (2)
Startup.cs (2)
62writer.WriteString(attribute.Key, attribute.Value); 72writer.WriteString("GitHubUrl", $"https://github.com/aspnet/SignalR/commit/{commitHash}");