Registration
Home » Tutorials » A Minimal Api With .Net 6 Using C#

A Minimal Api With .Net 6 Using C#   

3-04-2023, 21:59 |   0nelove  Tutorials 16 0

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!
Screenshots



https://fikper.com/PLIsgHJ20w/A_Minimal_API_with_NET_6_using_C.rar.html

https://rapidgator.net/file/06a5d0fb02ef9565a31740b7ae5b01d0/A_Minimal_API_with_NET_6_using_C.rar.html
Donate For Servers
Comments
The minimum comment length is 20 characters. Respect yourself and others!
reload, if the code cannot be seen
There Are No Comments Yet. Do You Want To Be The First?
avaxdl Copyright Holders