Share via


DistributedApplicationFactory(Type) Constructor

Definition

Factory for creating a distributed application for testing.

public DistributedApplicationFactory (Type entryPoint);
new Aspire.Hosting.Testing.DistributedApplicationFactory : Type -> Aspire.Hosting.Testing.DistributedApplicationFactory
Public Sub New (entryPoint As Type)

Parameters

entryPoint
Type

A type in the entry point assembly of the target Aspire AppHost. Typically, the Program class can be used.

Applies to