C# Tutorial - Advanced Messaging Library with Entity Framework, Response/Request, and D.I. Part-2

Опубликовано: 16 Март 2026
на канале: CouchCmd
46
like

This video wraps up the creation of the more advanced .NET Standard Library. We pick up from last time by building out and implementing our smtp service to handle the responsibility of sending the message.
its then on to build our public facing interface that will be used for sending notifications in. This could be considered as the exposed endpoint for the library where any services that will be utilizing it will hit this interface.
Moving on we setup our Autofac module so any services this library is added to can just implement the module and all internal implementations of the library's dependencies will be registered by doing so.
After that it on to setting up our tester application and running through a send email case. Links for the Autofac documentation as well as the rest of the documentation can be found after the time codes in this project.
If you need the SQL for the database setup for this project you can find it in the first part of setting up the advances SMS/MMS notification utility. The video is also linked at the end of this project.

Please comment on ideas for any future projects i can create that would be of use to you.

00:00 Smtp Service Interface Creation
00:50 Smtp Response Request Models
02:55 Smtp Service Interface Configuration
03:56 Smtp Service Implementation
12:19 Create Notification Service Interface
13:05 Notification Request Response Models
14:50 Configure Notification Service Interface Method With Response/Request
15:59 Implement INotificationService
26:01 Autofac Module
34:42 Tester Application
35:48 Autofac for .NET Core Console App
36:20 Nuget Setup
38:58 Add Project Reference
39:06 Inject Notification Module
39:50 Resolve Autofac Scope to Call Services in Main
42:22 Add Build Args
43:27 Setting Breakpoints
44:00 Debugging Application
46:57 Extro

Links
SQL Server Express
https://www.microsoft.com/en-us/sql-s...
SQL Server Management
https://docs.microsoft.com/en-us/sql/...
Visual Studio Community
https://visualstudio.microsoft.com/do...
Service Fabric Sdk
https://docs.microsoft.com/en-us/azur...
Google Key
https://myaccount.google.com/security
Knowledge Resource
https://support.teamunify.com/en/arti...
https://autofaccn.readthedocs.io/en/l...

This video is like C# Ui Academy, VetrivelD, and Programming with Mosh.