Skip to content
Docs Try Aspire
Docs Try

IResourceWithEnvironment.withDeveloperCertificateTrust

Method
📦 Aspire.Hosting v13.4.0
interface IResourceWithEnvironment {
// ... 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

Defined on

This method is defined on the following type: