Welcome to Mobilarian Forum - Official Symbianize forum.

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

A Minimal Api With .Net 6 Using C#

Alexhost
O 0

oaxino

Alpha and Omega
Member
Access
Joined
Nov 24, 2022
Messages
30,024
Reaction score
873
Points
113
Age
35
Location
japanse
grants
₲89,807
1 years of service

61fd3bf0f991ed78a9ba9d2fa0ccdc4d.jpeg


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!

7c03a090752f00a59fa35d7476ccc351.jpeg

Download link

rapidgator.net:
You must reply in thread to view hidden text.

uploadgig.com:
You must reply in thread to view hidden text.

nitroflare.com:
You must reply in thread to view hidden text.

1dl.net:
You must reply in thread to view hidden text.
 
K 0

KatzSec DevOps

Alpha and Omega
Philanthropist
Access
Joined
Jan 17, 2022
Messages
613,859
Reaction score
7,858
Points
83
grants
₲58,397
2 years of service
oaxino salamat sa pag contribute. Next time always upload your files sa
Please, Log in or Register to view URLs content!
para siguradong di ma dedeadlink. Let's keep on sharing to keep our community running for good. This community is built for you and everyone to share freely. Let's invite more contributors para mabalik natin sigla ng Mobilarian at tuloy ang puyatan. :)
 
Top Bottom