GithubHelp home page GithubHelp logo

rejoicesupsup / electron.net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from electronnet/electron.net

0.0 1.0 0.0 409 KB

Build cross platform desktop apps with .NET Core and ASP.NET NET Core.

License: MIT License

C# 86.04% Batchfile 0.40% Shell 0.16% TypeScript 12.57% JavaScript 0.83%

electron.net's Introduction

Electron.NET Logo

Build status

Build cross platform desktop apps with .NET Core and ASP.NET NET Core.

Dev Notes:

Currently there are two main projects and a "WebApp" that serves as a demo playground.

  • ElectronNET.API: Defines the Electron / .NET API bridge
  • ElectronNET.CLI: Responsible for the dotnet "electronize" tooling.

Both projects create their own nuget package. The resulting nuget packages are saved under "/artifacts".

Currently the packages are just build with version 1.0.0. If you change something you need to clear the nuget cache under this directory (because the version number doesn't change):

%userprofile%\.nuget\packages

The solution contains a NuGet.config which points to the artifacts directory, so we can just use the produced NuGet packages without uploading to NuGet.org.

ElectronNET.WebApp:

The WebApp now has referenced the API NuGet package and via the .csproj reference the CLI:

<ItemGroup>
   <DotNetCliToolReference Include="ElectronNET.CLI" Version="*" />
</ItemGroup>

Dev Notes: Usage

Navigate to the WebApp folder and type this in a command prompt:

dotnet electronize

Dev Notes: Dev Workflow (at least for the CLI extension is this a must)

  • Change something in the CLI project
  • rebuild the project (a nuget package should now appear in the /artifacts directory)
  • make sure there is no ElectronNET.CLI package in your %userprofile%.nuget\packages cache with the same version
  • execute dotnet restore in the WebApp
  • execute dotnet electronize

electron.net's People

Contributors

gregorbiswanger avatar robertmuehsig avatar

Watchers

James Cloos 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.