Aurelia.DotNet 1.1.0

.NET Standard 2.0
dotnet add package Aurelia.DotNet --version 1.1.0
NuGet\Install-Package Aurelia.DotNet -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aurelia.DotNet" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aurelia.DotNet --version 1.1.0
#r "nuget: Aurelia.DotNet, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aurelia.DotNet as a Cake Addin
#addin nuget:?package=Aurelia.DotNet&version=1.1.0

// Install Aurelia.DotNet as a Cake Tool
#tool nuget:?package=Aurelia.DotNet&version=1.1.0

Aurelia DotNet Tooling

Official .NET tooling for Aurelia.

Using the .NET Extension DLL

Cli generation

Generate Aurelia CLI project with any options provided and place in the project directory of the .NET Core application

Place the following in the ConfigureServices Method in startup.cs

// In production, the Aurelia files will be served from this directory
services.AddSpaStaticFiles(configuration =>
{
    configuration.RootPath = "%aurelia-root%/dist";
});

Place the following in the configure method in Startup.cs

app.UseStaticFiles();
app.UseSpaStaticFiles();
app.UseSpa(spa => {
    spa.Options.SourcePath = "%replaceWithAureliaCLIRoot%";

    if (env.IsDevelopment())
    {
        spa.UseAureliaCliServer(); // Optional HMR (Hot Module Reload)
    }
});

TODOS

Language Service

  • VScode plugin
  • Language Server/Client

Visual Studio

  • Project Templates utilizing dotnet new behind the scenes
  • Item Templates utilizing CLI

CLI Updates

  • Unattended mode to help with generation of projects and usage of VsCode command pallete

Templates - To be hosted on nuget (All options have default CLI appended for generation eg. SCSS/Webpack/Etc.)

  • dotnet new aurelia - Api based no security quick start
  • dotnet new aurelia-mvc - Usage of MVC views and integration of Aurelia
  • dotnet new aurelia-secure - Add token based authentication and dashboard to manage. All built with Aurelia
  • dotnet new aurelia-ssr - Generate a dotnet template that will use the embedded node process to render the Aurelia application

Scaffolding

  • Reverse engineer API endpoints and generate corresponding aurelia views based on the models
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 13,902 3/30/2019
1.0.0 564 3/9/2019

Allow port scanning
Wait for CLI to be running to stop false positives
Update aurelia helper functions