A dotnet new template that gets you up and running with Dash.NET!
to install the newest version of the template, use:
>dotnet new -i Dash.NET.Template::*to install a specific version, use:
>dotnet new -i Dash.NET.Template::0.1.0To get a description of possible switches (currently none besides the default switches common to all dotnet new templates):
>dotnet new dash --helpTo initialize the template, use:
>dotnet new dashTo run the created project:
>dotnet tool restore
>dotnet run -p ./src/YOUR_PROJECT_NAME_HERE/YOUR_PROJECT_NAME_HERE.fsprojYou should be able to visit the rendered app under https://localhost:5001
To build and test the project:
>build.bat>build.shThis section is taken from the giraffe template that is used as a base for this template
The basic giraffe template doesn't work with IIS Express which may be the default IIS used by Visual Studio to build & publish your application. Make sure to change your drop-down (the top of your window, next to the other Configuration Manager settings) IIS setting to be the name of your project and NOT IIS Express
- You can add additional templates under the
templatesfolder - to test templates, add them to the build script and run test.cmd
