| File: JavaScriptAppResource.cs | Web Access |
| Project: src\src\Aspire.Hosting.JavaScript\Aspire.Hosting.JavaScript.csproj (Aspire.Hosting.JavaScript) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Aspire.Hosting.ApplicationModel; namespace Aspire.Hosting.JavaScript; /// <summary> /// A resource that represents a JavaScript application. /// </summary> /// <param name="name">The name of the resource.</param> /// <param name="command">The command to execute.</param> /// <param name="workingDirectory">The working directory to use for the command.</param> [AspireExport(ExposeProperties = true)] public class JavaScriptAppResource(string name, string command, string workingDirectory) : ExecutableResource(name, command, workingDirectory), IResourceWithServiceDiscovery, IResourceWithContainerFiles;