A Minimal Api With .Net 6 Using C#

Posted on 20 Dec 00:56 | by mitsumi | 25 views

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!



Download link

rapidgator.net:


uploadgig.com:


[/b]:

[b]1dl.net
:

Related News

C# Minimal Web API Fundamentals C# Minimal Web API Fundamentals
C# Minimal Web API Fundamentals Published 3/2023 Created by Paul D. Sheriff MP4 | Video: h264,...
Videohive - Minimal Medical Promo - 48020336 Videohive - Minimal Medical Promo - 48020336
Videohive - Minimal Medical Promo - 48020336 After Effects Version CC | 1920x1080 | No plugins...
Arkoslight Set Minimal Track Arkoslight Set Minimal Track
Arkoslight Set Minimal Track MAX | FBX | TEX | 3D Models | 25.3 MB...
Magnet - Minimal Portfolio (HTML/CSS) Template Magnet - Minimal Portfolio (HTML/CSS) Template
Magnet - Minimal Portfolio (HTML/CSS) Template Compatible with: HTML/CSS / Adobe Illustrator /...

System Comment

Information

Error Users of Visitor are not allowed to comment this publication.

Facebook Comment

Member Area
Top News