18 references to OtlpHttpEndpointsBuilder
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
207
options.AddPolicy(
OtlpHttpEndpointsBuilder
.CorsPolicyName, builder =>
Aspire.Dashboard.Tests (17)
Integration\OtlpHttpServiceTests.cs (15)
44
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
53
Assert.Equal(
OtlpHttpEndpointsBuilder
.ProtobufContentType, responseMessage.Content.Headers.GetValues("content-type").Single());
70
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
114
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
138
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
166
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
179
Assert.Equal(
OtlpHttpEndpointsBuilder
.ProtobufContentType, responseMessage.Content.Headers.GetValues("content-type").Single());
204
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
259
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
285
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
294
Assert.Equal(
OtlpHttpEndpointsBuilder
.ProtobufContentType, responseMessage.Content.Headers.GetValues("content-type").Single());
314
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
323
Assert.Equal(
OtlpHttpEndpointsBuilder
.ProtobufContentType, responseMessage.Content.Headers.GetValues("content-type").Single());
343
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
352
Assert.Equal(
OtlpHttpEndpointsBuilder
.ProtobufContentType, responseMessage.Content.Headers.GetValues("content-type").Single());
Integration\StartupTests.cs (2)
405
content.Headers.TryAddWithoutValidation("content-type",
OtlpHttpEndpointsBuilder
.ProtobufContentType);
412
Assert.Equal(
OtlpHttpEndpointsBuilder
.ProtobufContentType, responseMessage.Content.Headers.GetValues("content-type").Single());