Giter Site home page Giter Site logo

airboss001 / dotnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aurelia/dotnet

0.0 1.0 0.0 843 KB

Official .NET tooling for Aurelia.

License: MIT License

TypeScript 11.58% C# 79.81% HTML 4.66% JavaScript 3.52% Dockerfile 0.19% Batchfile 0.13% Shell 0.11%

dotnet's Introduction

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

dotnet's People

Contributors

brandonseydel avatar eisenbergeffect avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.