Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ReferenceExpression

Classnet10.0
📦 Aspire.Hosting v13.5.4
Represents an expression that might be made up of multiple resource properties. For example, a connection string might be made up of a host, port, and password from different endpoints.
namespace Aspire.Hosting.ApplicationModel;
public class ReferenceExpression
: Aspire.Hosting.ApplicationModel.IExpressionValue,
Aspire.Hosting.ApplicationModel.IManifestExpressionProvider,
Aspire.Hosting.ApplicationModel.IValueProvider,
Aspire.Hosting.ApplicationModel.IValueWithReferences
{
// ...
}

A ReferenceExpression operates in one of two modes:

View all properties
View all methods
View all fields