I read that Try .NET is an interactive documentation generator for .NET Core. Best of all is open source.
I wanted to be able to run dotnet try samples in macOS that I found in Github and same time being able to build a tutorial.
Installed dotnet
Downloaded the current .Net Core and installed
https://dotnet.microsoft.com/download/dotnet/curren
Installed the dotnet try tool using the terminal
dotnet tool install --global Microsoft.dotnet-try --version 1.0.20474.1
Cloned the repository
git clone https://github.com/dotnet/try-samples
I just set the current directory to one of the sample tutorials and ran code below
dotnet try
This launched the browser.
For more dotnet CLI commands I would recommend to visit Microsoft docs
Top comments (0)