| marp | true |
|---|---|
| theme | gaia |
| _class | lead |
| paginate | true |
| backgroundColor | |
| backgroundImage | url('https://marp.app/assets/hero-background.svg') |
Table of content:
- Basics
- Working with the CLI
- Dojo - Querying data (LINQ)
- Testing (xunit)
- Dojo - Writing test assertions
- Implementing APIs
- .net and c# versioning and releases
- sdk and runtime downloads
- recommended IDEs
- Jetbrains Rider
- VS Code + C# Dev Kit
- doc: https://learn.microsoft.com/de-de/dotnet/core/tools/dotnet
- Usefull commands:
- Create files and projects with
dotnet new - add a reference or package with
dotnet add - Build your code with
dotnet build - Run your app with
dotnet runordotnet watch
- Create files and projects with
In this lesson you will learn to use the correct .net linq library methods to efficiently solve given business requirements
- Open the console project
employees_consolein branchmain. - Take a quick look through the given project files to understand what is there and what is missing.
- Implement the missing functions and print your results to the console by using the logging api.
- Creating a (xunit) test project
- dotnet test
- add it to the solution
- unit test explorer
- writing a first test
- improving test readability with fluentvalidations
- Open the prepared branch
feature/tests - Look into
EmployeeServiceand try to write test assertions for each of the methods. - Use the xunit test framework and the FluentAssertions library
Bonus ⭐: Use Theories
- web host
- dependency injection
- open api
- caching
- parameters
- results and http status codes
- configuration