Skip to content
DocsTry Aspire
DocsTry

IRequiredCommandValidator

Interfacenet8.0
📦 Aspire.Hosting v13.4.0
A service that validates required commands/executables are available on the local machine.
namespace Aspire.Hosting.ApplicationModel;
public interface IRequiredCommandValidator
{
// ...
}
This service coalesces validations so that the same command is only validated once, even if multiple resources require it.
ValidateAsync(IResource, RequiredCommandAnnotation, CancellationToken)abstract
Validates that a required command is available and meets any custom validation requirements.
View all methods