Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Official .NET tooling for Aurelia.
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Aurelia.DotNet.ItemTemplates
Aurelia.DotNet.Template
Aurelia.DotNet.VSIX
Aurelia.DotNet
Aurelia.Dotnet.Wizard -Add more menu commands Mar 20, 2019
Aurelia.RouteGenerator Refactor and template completion Mar 14, 2019
Images
NugetTemplates/Aurelia.DotNet.Spa
.gitattributes Initial Commit Feb 20, 2019
.gitignore
Aurelia.DotNet.sln Refactor and template completion Mar 14, 2019
LICENSE docs(license): add correct license details Feb 19, 2019
Newtonsoft.Json.dll
README.md Typo fix Mar 12, 2019
key.snk

README.md

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
You can’t perform that action at this time.