Tags
Language
Tags
October 2025
Su Mo Tu We Th Fr Sa
28 29 30 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 1
    Attention❗ To save your time, in order to download anything on this site, you must be registered 👉 HERE. If you do not have a registration yet, it is better to do it right away. ✌

    ( • )( • ) ( ͡⚆ ͜ʖ ͡⚆ ) (‿ˠ‿)
    SpicyMags.xyz

    A Minimal Api With .Net 6 Using C#

    Posted By: ELK1nG
    A Minimal Api With .Net 6 Using C#

    A Minimal Api With .Net 6 Using C#
    Published 12/2022
    MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
    Language: 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 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.

    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 time now. But with the .NET 6 and other updates, we have the .NET 6 minimal API. Creating and API with less code!