Skip to content
Docs Try Aspire
Docs Try

withDeveloperCertificateTrust

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
withDeveloperCertificateTrust(trust: boolean): IResourceWithEnvironment;
}

Signature

method withDeveloperCertificateTrust builder
Indicates whether developer certificates should be treated as trusted certificate authorities for the resource at run time. Currently this indicates trust for the ASP.NET Core developer certificate. The developer certificate will only be trusted when running in local development scenarios; in publish mode resources will use their default certificate trust.
withDeveloperCertificateTrust(trust: boolean): IResourceWithEnvironment
trust boolean
IResourceWithEnvironment

Applies to

This method applies to the following types: