METHOD

Aspire WithReference

Pass resource-specific reference configuration to the consumer; not authorization.

Formal Syntax & Structure

csharp syntaxcsharp
orders.WithReference(inventory)

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.orders.WithReference(inventory)
C# & .NET Reference