Skip to content
DocsTry Aspire
DocsTry

IResourceWithEnvironment.withDeveloperCertificateTrust

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

Signature

methodwithDeveloperCertificateTrustbuilder
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
trustboolean
IResourceWithEnvironment

Defined on

This method is defined on the following type: