Skip to main content
Published
Mar 19, 2025
1y ago
Total Downloads
73.2K
73,198

Install

dotnet add package CommunityToolkit.Aspire.Hosting.Deno --version 9.3.0
ProductVersions
.NET
net8.0net9.0

README

CommunityToolkit.Aspire.Hosting.Deno library

Provides extension methods and resource definitions for a .NET Aspire AppHost to configure a Deno project.

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.Deno

Example usage

Then, in the Program.cs file of AppHost, define a Deno resource, then call AddDenoApp or AddDenoTask:

builder.AddDenoTask("vite-demo", taskName: "dev")
    .WithHttpEndpoint(env: "PORT")
    .WithEndpoint();

builder.AddDenoApp("oak-demo", "main.ts", permissionFlags: ["-E", "--allow-net"])
    .WithHttpEndpoint(env: "PORT")
    .WithEndpoint();

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/deno

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Changes from Previous Version

No structural changes between v9.3.0-beta.239 and v9.3.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.