
Course introduction and overview
Base project review
Video for linux/macOS users explaining the necessary commands and tools to be able to follow along during the course.
Commands and tools are listed in the resource 'linux & macOS Resources.txt'
The .NET Core platform is the latest tool from Microsoft enabling the creation of cross-platform applications, including web and web APIs.
Due to its high performance, open-source code, and the possibility of implementation on various systems, it is becoming more and more popular.
The course presents how using ASP.NET Core a web API application is created, which ultimately can be consumed by SPA (single page application), mobile applications, IoT applications, or any application where communication takes place via the HTTP protocol. First of all, the course will show you how to build applications in accordance with the REST architecture. Good practices will be discussed, such as dependency injection, auto-mapping, error logging, model validation, use of object-relational mapping.
During the course you will:
- authenticate users via JWT tokens
- create your own authorization policies
- authorize users
- create a user and role entities tables
- hash users passwords
- authorize based on users claim and their value
- configure entity framework relationships
- validate incoming models and return appropriate messages in case of incorrectness
- use the built-in container to inject dependencies
- log errors or specific information to a text file
- authorize based on user role
- restrict resource access
- authorize based on custom requirement
- use the built-in container to inject dependencies
- log errors or specific information to a text file
- use the Postman to consume the web API