|
via Udemy |
Go to Course: https://www.udemy.com/course/a-minimal-api-with-net-6-using-csharp/
Writing APIs isn't really new. We are doing it for some time now. But with the new.NET and other updates, we have the.NET 6 minimal API. Creating an API with less code! In this course, I will walk you through the steps you need to take to create a minimal API using C# and.NET 6.In this course, I am going to teach you the basics of the minimal API with C# and.NET 6. First I'll show you the "old" way in.NET 5, so you have a better understanding of what has changed. It isn't much, but they are major changes. Then I am going to create the minimal API and expand it with several mappings for the endpointsDependency injection is a well-used design pattern, so I will add that to the course as well. I'll show you how to register and use dependency injection in a single file. The injection of the interfaces is a bit different than we are used to.The last topic is making the API async, which is a good idea if you want to handle requests more quickly and execute tasks simultaneously.It is advisable to have some knowledge of C# and the basic idea of APIs. Furthermore, knowledge of dependency injection and async is a must.