NWheels.Template 0.1.0-0.dev.344

Installs NWheels microservice template to dotnet-new

This is a prerelease version of NWheels.Template.
This package has a SemVer 2.0.0 package version.
This package will only be available to download with SemVer 2.0.0 compatible NuGet clients, such as Visual Studio 2017 (version 15.3) and above or NuGet client 4.3.0 and above. Read more
dotnet new --install NWheels.Template::0.1.0-0.dev.344
This package contains a .NET Core Template Package you can call from the shell/command line.

NWheels microservice template

How to install

dotnet new --install NWheels.Template::0.1.0-0.dev.344

How to create microservice project

Once installed, follow these steps to create a new microservice:

  • Create a new directory for the project, e.g. named MyCompany.CoolApp.SuperService
  • CD to that directory
  • Run dotnet new as follows:
    dotnet new nwheels --service SuperService
    
    Replace SuperService with the name of the service you want. This will also become the name of the executable, e.g. SuperService.exe.

How to build and run the microservice

$ dotnet restore
$ dotnet build
$ dotnet run

The last dotnet run command will print supported CLI commands of the microservice. To run as a daemon:

dotnet run -- run

To stop the microservice, press CTRL+C in the console.

NWheels microservice template

How to install

dotnet new --install NWheels.Template::0.1.0-0.dev.344

How to create microservice project

Once installed, follow these steps to create a new microservice:

  • Create a new directory for the project, e.g. named MyCompany.CoolApp.SuperService
  • CD to that directory
  • Run dotnet new as follows:
    dotnet new nwheels --service SuperService
    
    Replace SuperService with the name of the service you want. This will also become the name of the executable, e.g. SuperService.exe.

How to build and run the microservice

$ dotnet restore
$ dotnet build
$ dotnet run

The last dotnet run command will print supported CLI commands of the microservice. To run as a daemon:

dotnet run -- run

To stop the microservice, press CTRL+C in the console.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.1.0-0.dev.344 1,215 10/1/2017