Published 12/2022MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHzLanguage: English | Size: 397.78 MB | Duration: 0h 36m
A walkthrough to create and run a minimal API with .NET 6 using C# What you'll learn Create a minimal API with .NET 6 and C# Add mappings for HTTP request methods Add and use dependency injection in the minimal API Make a minimal API async Requirements Basic knowledge of C# and .NET The idea behind ASYNC Know what dependency injection is and what it does Visual Studio 2022 (community) Know the theory behind an API and what it does Description Writing APIs isn't really new. We are doing it for some 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. Overview Section 1: Introduction Lecture 1 Introduction Lecture 2 Requirements Lecture 3 The .NET 5 API Section 2: Creating the .NET 6 API Lecture 4 Creating the .NET 6 minimal API Lecture 5 Files and folders Section 3: Mappings Lecture 6 Mappings - Preparations Lecture 7 Mappings - GET Lecture 8 Mappings - POST Lecture 9 Mappings - PUT Lecture 10 Mappings - DELETE Section 4: Minimal API and dependency injections Lecture 11 Using dependency injection Section 5: Making the API async Lecture 12 Making the API async Section 6: Conclusion Lecture 13 Conclusion Writing APIs isn’t really new. We are doing it for some now. But with the .NET 6 and other updates, we have the .NET 6 minimal API. Creating and API with less code! HomePage:
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.