How to Organize Your .NET Minimal APIs with Source Generator
9.2 هزار بار بازدید -
6 ماه پیش
-
Are you looking for a
Are you looking for a cool and easy way to organize your minimal APIs in .NET? Then you need to check out Source Generator:
In this video, you will learn how to:
- Use Source Generator to create and manage minimal APIs with C#.
- Save time and effort by automating your code generation process.
- Avoid common errors when using Source Generator.
Check the source code here: https://github.com/mhdbouk/source-gen...
Sounds awesome, right? Then don’t forget to like, subscribe, and share this video with your fellow developers.
Leave a comment below and let me know what you think of Source Generator and how you use it.
CHAPTERS:
00:00 - Intro.
00:21 - Creating minimal APIs.
03:25 - Configuring the Source Generator Project.
04:49 - Creating the first Generator.
12:22 - Test the Generated code.
13:51 - Generator for Endpoints.
19:07 - Test the new generated code with new endpoints.
22:05 - Outro.
Join my mailing list: https://mdbouk.com/
Follow me on X: https://x.com/mhdbouk
Buy me a coffee: https://buymeacoffee.com/mdbouk
Don’t forget to like, subscribe, and share this video with your fellow developers.
Happy Coding!
#csharp #dotnet
In this video, you will learn how to:
- Use Source Generator to create and manage minimal APIs with C#.
- Save time and effort by automating your code generation process.
- Avoid common errors when using Source Generator.
Check the source code here: https://github.com/mhdbouk/source-gen...
Sounds awesome, right? Then don’t forget to like, subscribe, and share this video with your fellow developers.
Leave a comment below and let me know what you think of Source Generator and how you use it.
CHAPTERS:
00:00 - Intro.
00:21 - Creating minimal APIs.
03:25 - Configuring the Source Generator Project.
04:49 - Creating the first Generator.
12:22 - Test the Generated code.
13:51 - Generator for Endpoints.
19:07 - Test the new generated code with new endpoints.
22:05 - Outro.
Join my mailing list: https://mdbouk.com/
Follow me on X: https://x.com/mhdbouk
Buy me a coffee: https://buymeacoffee.com/mdbouk
Don’t forget to like, subscribe, and share this video with your fellow developers.
Happy Coding!
#csharp #dotnet
6 ماه پیش
در تاریخ 1402/11/02 منتشر شده
است.
9,241
بـار بازدید شده