An open API service indexing awesome lists of open source software.

https://github.com/joeyguerra/dotnet-starter

Opinionated dotnet starter app
https://github.com/joeyguerra/dotnet-starter

Last synced: 3 months ago
JSON representation

Opinionated dotnet starter app

Awesome Lists containing this project

README

        

# dotnet-starter

Opinionated dotnet starter app.

## Mission Control

I chose `make` as the Mission Control tool.

## Docs

- README.md - Introduction, developer setup, instructions for common tasks
- JOURNEY.md - Context and background on decisions. Great for providing perspective to your future self.

## Setup

1. Install `dotnet`
- MacOS - `brew install dotnet`
- Windows - `choco install dotnet` via [Chocolately](https://chocolatey.org)
- Ubuntu
- curl https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb --output packages-microsoft-prod.deb
- dpkg -i packages-microsoft-prod.deb
- rm packages-microsoft-prod.deb
- apt-get update
- apt-get install -y apt-transport-https
- apt-get install -y dotnet-sdk-5.0
1. Install `make`
- MacOS - `brew install make`
- Windows - `choco install make`
- Ubuntu - `sudo apt-get install build-essential`

## Create a Console App

I'm in VS Code. In the terminal, I can just copy and paste this in the terminal and hit `enter` to run all the commands at once.

```bash
dotnet new sln -o .
dotnet new classlib -o DotnetStarter
dotnet sln add DotnetStarter/DotnetStarter.csproj
dotnet new xunit -o DotnetStarter.Tests
dotnet sln add ./DotnetStarter.Tests/DotnetStarter.Tests.csproj
```

## Step 2.

Run `dotnet test` and see a Failing test.