Working in VS Code
Point of struggle: C# tutorials are nearly all written for Windows OS + Visual Studios as the editor.
On reflection: Learning how to use the CLI to create new projects, to fetch NuGet packages, and even to add scaffolding means gaining insight into what is going on behind the scenes. The challenge of figuring out each step has kept me engaged, as I enjoy problem-solving immensely.
Here are some of the articles I am frequently referencing:
| Goal | Solution | Source |
|---|---|---|
| Run Debug in VS Code when User Input is required | update launch.json for console: integratedTerminal | Microsoft Docs |
| Create Console app | dotnet new console ‐‐framework net5.0 ‐‐name NAME | Microsoft Docs |
| Create MVC project | dotnet new sln dotnet new mvc -n mvc-web-app |
CollaborationNotCompetition.com |
| Create MVC project, alt. Initialize | dotnet new mvc -o NAME | Microsoft Docs |
| Launch folder in VS Code via Terminal | code . | ShannonCrabill.com |