filmov
tv
Using smart modules in .NET 6 minimal API

Показать описание
The minimal API in .NET 6 is great because it is less opinionated than the controller based approach and hence it gives us more freedom to organize our code differently. One approach that we think might be very useful is the module based approach. We can just organize our different features into self-contained modules (similar to Angular modules, for instance).
To achieve this there is a nice, small NuGet package called SmartModules. When using this package we can easily create module classes by implementing the IModule interface. The library will then automatically register all our endpoints in the different modules that we might have in an application.
In this video we showcase how to get started with SmartModules in .NET 6 minimal APIs, going through different concepts like modules, endpoint definitions and dependency injection.
#dotnet6 #aspnetcore #csharp
Chapters
1. Intro: 00:00
2. Meet the SmartModules NuGet package: 01:50
3. Creating a first module: 03:30
4. Adding necessary services and automatic route registrations: 06:46
5. Splitting registrations in different endpoint definitions: 08:36
6. Dependency injection in smart modules: 15:00
7. Injecting scoped services in modules or endpoint definitions: 17:05
To achieve this there is a nice, small NuGet package called SmartModules. When using this package we can easily create module classes by implementing the IModule interface. The library will then automatically register all our endpoints in the different modules that we might have in an application.
In this video we showcase how to get started with SmartModules in .NET 6 minimal APIs, going through different concepts like modules, endpoint definitions and dependency injection.
#dotnet6 #aspnetcore #csharp
Chapters
1. Intro: 00:00
2. Meet the SmartModules NuGet package: 01:50
3. Creating a first module: 03:30
4. Adding necessary services and automatic route registrations: 06:46
5. Splitting registrations in different endpoint definitions: 08:36
6. Dependency injection in smart modules: 15:00
7. Injecting scoped services in modules or endpoint definitions: 17:05
Using smart modules in .NET 6 minimal API
2 Channel Relay Module Signal Simulation without Arduino
ESP8266 Smart Light Switch with Servo Motor
IQ TEST
Smart Home with Google Assistant & Alexa using NodeMCU ESP8266 (Manual + Voice) | IoT Projects 2...
5000KM distance walkie-talkie,you can talk in real time
IR Infrared Sensor Connection & Testing • Sensor Module #shorts #sensor #trending
Very Impressive #Solar Installation on a Roof💪 - Subscribe for more! ☀️
How to connect a cat7 tool free crystal plug with a cat7 orange ethernet cable?#cabling #cable
Mini Network Room built into the wall…🛜
Double your Internet Speed by changing 1 thing on your Smart TV!
Simple Programming, Amazing Results: DIY Bluetooth Speaker with #ESP32 and 2 Speakers
🤯 Pass any online exam with this Chat GPT extension (full video on channel 👇🏻)
🤷♂️How I Pranked my Neighbour !!!😜
Smart irrigation system with Arduino UNO R4 WIFI board #sritu_hobby #sritu_hobby @sritu_hobby
White RJ45 Ethernet Cat 5 6 Modular Connector Network Data Socket 🖥️ #networking #tech
How to Connect 5G/4G Sim Router in Ethernet in Laptop| Ethernet Connected 5G Sim#macnitesh#Sim#Wifi
Cosplay by b.tech final year at IIT Kharagpur
Esp32 mini computer #diy #ideas #arduino #esp32 #viralvideo #innovation #lcd #satisfying #learning
Mobile main Wireless Display ko kaise On karen || How to On Wireless Display connected using wi-fi.
TG113 Bluetooth module #shorts #tg113 #amplifier #bluetooth #module #for #bluetoothspeaker
This is an automatic solar panel cleaning system.
Smart watch vs iPhone 🎁🎉 #shorts #ytshorts
236. This PowerPoint design is so nice 😍 #powerpoint #presentation #tutorial #ppt
Комментарии