# NxAppResource

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.JavaScript.Extensions](/reference/api/csharp/communitytoolkit.aspire.hosting.javascript.extensions.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions/NxAppResource.cs)
- Inherits: `JavaScriptAppResource`

A resource that represents a Node.js application running under Nx.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public class NxAppResource
    : Aspire.Hosting.JavaScript.JavaScriptAppResource
{
    // ...
}
```

## Constructors

- [NxAppResource(string, string, string, string)](/reference/api/csharp/communitytoolkit.aspire.hosting.javascript.extensions/nxappresource/constructors.md#constructor-string-string-string-string) -- A resource that represents a Node.js application running under Nx.

## Properties

- [AppName](/reference/api/csharp/communitytoolkit.aspire.hosting.javascript.extensions/nxappresource/properties.md#appname) : `string` `get` -- Gets the Nx application name.
