---
title: Introducing .NET Core
kind: note
description: Link Course notes from LinkedIn Learning. What is .NET? A combination of languages (e.g. C#) and libraries (e.g. the .NET Framework or (Core) Runtime). Installing .NET Download Visual Studio 2022…
words: 236
readingMinutes: 1
created: '2024-06-12T18:20:49+02:00'
updated: '2024-08-17T20:24:35+02:00'
website: https://www.linkedin.com/learning/introducing-dot-net-core/
---
## Link

<https://www.linkedin.com/learning/introducing-dot-net-core/>

Course notes from <span class="dead-link">LinkedIn</span> [Learning](https://www.linkedin.com/learning/).
## What is .NET?
- A combination of languages (e.g. [C#](/notes/c-sharp)) and libraries (e.g. the [.NET](/notes/dot-net) Framework or (Core) [Runtime](https://github.com/dotnet/runtime)).
## Installing .NET
- Download [Visual Studio 2022 Community Edition](https://visualstudio.microsoft.com/vs/community/) for [Windows](/notes/microsoft-windows) ([license terms](https://visualstudio.microsoft.com/license-terms/vs2022-ga-community/)), or download [.NET Core](https://dotnet.microsoft.com/en-us/download) and use [VS Code](/notes/vscode).
## What is a .NET Hello World app?
- The video mentions a "C# 101" series. That can be found on [YouTube](https://www.youtube.com/playlist?list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN) or [Microsoft Learn](https://aka.ms/dotnet3-csharp).
## .NET: Basic debugging
- Set breakpoints by clicking to the left of the line number in Visual Studio, and start debugging by clicking the green "Play" button in the toolbar.
- Breakpoints can be set to only trigger when certain conditions are met.
- The _Debug_ target compiles executables for debugging, while the _Release_ target creates optimized code for shipping to users.
## .NET: Adding a class library
- Playback of this episode terminated prematurely for me. The video/series is available on [YouTube](https://www.youtube.com/watch?v=Jms3C-J-m2M&list=PLdo4fOcmZ0oWoazjhXQzBKMrFuArxpW80&index=5).
## .NET: Using a NuGet package
- NuGet is a package manager for .NET libraries. Packages can be browsed on the [NuGet Gallery](https://www.nuget.org/).
- Packages can be added as dependencies by right-clicking a project in Visual Studio and selecting "Manage NuGet packages".
## .NET: Unit testing
- The [XUnit](https://xunit.net/) testing library uses `[Fact]` attributes to designate methods as unit tests.
- Other (unit) testing frameworks for .NET include:
	- [NUnit.org](https://nunit.org/)
	- [MSTest](https://github.com/microsoft/testfx)
## .NET: Publishing an app
- Console applications can be published "self-contained" (with all dependencies), in which case the target OS does not need .NET (Core) to be installed beforehand.