
My name is Michał Białecki and I'm really happy that you join my course. Let's see what the course contains.
A brief overview of what this chapter contains.
How t create your first Web API in Visual Studio
A simple explanation of what is REST, what is a RESTful Web API.
What are CRUD operations and how to implement them in Web API.
How to open and run project in Visual Studio Code - a free editor from Microsoft.
You will learn why .Net Core was introduced, how it differs from .Net Framework, what features does it have and is it ready to use in a production environment.
A brief overview of what this chapter contains.
How controllers work and how to configure routing.
How to pass parameters to your controller actions, with multiple examples.
How to respond to a request in the right way and with the right status code.
How to enrich your Web API with interactive documentation - Swagger!
Validation is crucial to get data in the right format. In .Net Core there are a few ways to introduce validation - let's see how.
A brief overview of what this chapter contains.
An introduction and basic knowledge of what is a concept of Dependency Injection.
How to introduce Dependency Injection to your project.
What are services lifetimes and when they should be used.
.Net Core has a built-in DI container, but would that be enough for my project?
A brief overview of what this chapter contains.
How configuration looked like in .Net Framework and how it is now in .Net Core.
How to add and use the configuration in your project.
How to bind your configuration and use Dependency Injection - the best solution.
A brief overview of what this chapter contains.
How .Net Core supports logging and what are log levels
Add simple logging with built-in mechanism.
Learn how to use log4net and what possibilities does it offer.
Practical advice on what and where to log.
A brief description of what chapter contains
We will create a HttpClient manually and send requests. We will learn how to deserialize an answer and how to use it.
We will learn how to send many requests at once, asynchronously.
We will use the latest Microsoft guidelines and use IHttpClientFactory to manage HttpClients.
We will learn to use Polly, and an integrated transient fault-handling library.
In this chapter, we will learn how to us a cancellation token and provide Basic authorization.
A general overview of what chapter contains of
We will connect to MS SQL database with SQL Management Studio and with Visual Studio.
We will take a look at what is Entity Framework and how to introduce it to our project. We will analyze in detail how it is integrated and how to use it with Dependency Injection.
We will learn how to generate models from the existing database and how LINQ with EF Core works underneath.
We will enable database migrations with EF Core and take a look at what they are capable of.
You will learn what is Dapper and is it an alternative for Entity Framework or maybe something totally separate.
A brief introduction of what chapter is about
We will learn what is Microsoft Azure and what does it offer. We will learn about different cloud usages: SaaS, IaaS and PaaS.
We will learn how to deploy a Web API to Azure with Entity Framework Core migrations and the creation of MS SQL database. We will also diagnose problems.
We will learn what is Application Insights and how we can diagnose our application with it.
With this course, you will learn how to build modern Web APIs with ASP.Net Core 3.0. You will learn step by step, how to create new Web API, implements controllers and endpoints and how to process and respond to a web request. I'll show you how to introduce Dependency Injection, error handling, logging and provide configuration. We will connect to SQL database with EntityFramework Core and Dapper. We will deploy our application in Azure and check its performance with Application Insights.
I'll show you the whole modern application development, that everyone is so excited about.
Tools needed for this course:
In this course, all the lessons are demonstrated using Visual Studio, but you can use Visual Studio Code, which is free, cross-platform IDE. You can, of course, use any code editor you like on Windows, Linux or Mac, so it's really up to you
Is this course for you?
This course goes through all the important aspects and possibilities of .Net Core 3.0. It's very practical and most of the time after a very short introduction, we will learn while coding our Web API. Many times I'll show you different ways to do stuff and discuss what to choose depending on what you need. If you like to learn things by practice, this course is definitely for you.