16 instantiations of HttpsCertificateAnnotation
Aspire.Hosting (4)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (1)
32var effectiveAnnotation = new HttpsCertificateAnnotation();
ResourceBuilderExtensions.cs (3)
2725var annotation = new HttpsCertificateAnnotation 2761var annotation = new HttpsCertificateAnnotation 2792var annotation = new HttpsCertificateAnnotation
Aspire.Hosting.Azure.Tests (4)
AzureCosmosDBExtensionsTests.cs (4)
726cosmos.WithAnnotation(new HttpsCertificateAnnotation 757cosmos.WithAnnotation(new HttpsCertificateAnnotation 787cosmos.WithAnnotation(new HttpsCertificateAnnotation 816cosmos.WithAnnotation(new HttpsCertificateAnnotation
Aspire.Hosting.Tests (8)
Dcp\DcpHostNotificationTests.cs (3)
696resource.Annotations.Add(new HttpsCertificateAnnotation 757resource.Annotations.Add(new HttpsCertificateAnnotation 818resource.Annotations.Add(new HttpsCertificateAnnotation
ExecutionConfigurationGathererTests.cs (5)
609.WithAnnotation(new HttpsCertificateAnnotation { Certificate = cert }) 638.WithAnnotation(new HttpsCertificateAnnotation 669.WithAnnotation(new HttpsCertificateAnnotation 715.WithAnnotation(new HttpsCertificateAnnotation { Certificate = cert }) 751.WithAnnotation(new HttpsCertificateAnnotation { Certificate = cert })
23 references to HttpsCertificateAnnotation
Aspire.Hosting (13)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (3)
32var effectiveAnnotation = new HttpsCertificateAnnotation(); 33if (resource.TryGetLastAnnotation<HttpsCertificateAnnotation>(out var annotation))
Dcp\DcpHost.cs (2)
567if (resource.TryGetLastAnnotation<HttpsCertificateAnnotation>(out var certAnnotation)
ResourceBuilderExtensions.cs (8)
2725var annotation = new HttpsCertificateAnnotation 2735/// Adds a <see cref="HttpsCertificateAnnotation"/> to the resource annotations to associate an X.509 certificate key pair with the resource. 2761var annotation = new HttpsCertificateAnnotation 2792var annotation = new HttpsCertificateAnnotation 2849/// <item>No <see cref="HttpsCertificateAnnotation"/> is present and the <see cref="IDeveloperCertificateService"/> indicates 2851/// <item>An <see cref="HttpsCertificateAnnotation"/> is present that requests a developer certificate or provides a custom certificate.</item> 2878if (!resource.TryGetLastAnnotation<HttpsCertificateAnnotation>(out var annotation))
Aspire.Hosting.Redis.Tests (10)
AddRedisTests.cs (10)
736var annotation = Assert.Single(redis.Resource.Annotations.OfType<HttpsCertificateAnnotation>()); 749var annotation = Assert.Single(redis.Resource.Annotations.OfType<HttpsCertificateAnnotation>()); 763var annotation = Assert.Single(redis.Resource.Annotations.OfType<HttpsCertificateAnnotation>()); 778var annotation = Assert.Single(redis.Resource.Annotations.OfType<HttpsCertificateAnnotation>()); 794var annotation = Assert.Single(redis.Resource.Annotations.OfType<HttpsCertificateAnnotation>());