FlociContainerResource
Classabstractnet10.0
Common base for Floci cloud-emulator container resources (AWS, Azure, GCP). Holds the shared endpoint/connection-string plumbing so each cloud only needs to implement its own image, container env vars, and Floci UI wiring.
namespace Aspire.Hosting.ApplicationModel;
public abstract class FlociContainerResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}ContainerResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
5 members
Properties5
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the emulator endpoint URL, following the primary endpoint's
FlociContainerResource.Scheme. HostgetEndpointReferenceExpression Gets the host endpoint reference for the primary endpoint.
PortgetEndpointReferenceExpression Gets the port endpoint reference for the primary endpoint.
PrimaryEndpointgetEndpointReference Gets the primary endpoint reference for the Floci container.
SchemegetEndpointReferenceExpression Gets the scheme endpoint reference for the primary endpoint.
http unless a TLS certificate has been configured, in which case the endpoint is switched to https before the application starts. Floci serves both on the same port, so the port never changes.