C# Tutorial - Advanced Messaging Library with Entity Framework, Response/Request, and D.I. Part-2
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-server/sql-server-downloads
SQL Server Management
https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?redirectedfrom=MSDN&view=sql-server-ver15
Visual Studio Community
https://visualstudio.microsoft.com/downloads/
Service Fabric Sdk
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-get-started
Google Key
https://myaccount.google.com/security
Knowledge Resource
https://support.teamunify.com/en/articles/227-email-to-sms-gateway-list
https://autofaccn.readthedocs.io/en/latest/integration/netcore.html
This video is like C# Ui Academy, VetrivelD, and Programming with Mosh.
Other Videos By CouchCmd
2021-06-25 | Five Amazing Starbound Mods in Less Than 10 Minutes |
2021-06-23 | How To Mod Starbound from PC GamePass in Five Minutes or Less |
2021-06-21 | 7 Days to Die Glitch/Trick: Spear Gun |
2021-06-18 | Five Amazing Valheim Mods in Less than 10 Minutes |
2021-06-09 | How to Mod Valheim in Less Than Five Minutes |
2021-06-04 | Five Amazing Stardew Valley Mods in Less than 10 Minutes |
2021-06-02 | How to Mod Stardew Valley in Less Than Five Minutes |
2021-05-28 | How to Mod 7 Days to Die in Less Than Five Minutes |
2021-05-26 | How to Mod Among Us in Less Than Five Minutes |
2020-12-19 | C# Visual Studio Tutorial - Sending Messages Service Fabric Api Wrapper |
2020-12-12 | C# Tutorial - Advanced Messaging Library with Entity Framework, Response/Request, and D.I. Part-2 |
2020-12-06 | C# Tutorial - Advanced Messaging Library with Entity Framework, Response/Request, and D.I. Part-1 |
2020-11-28 | C# Visual Studio Tutorial - Sending Messages for Beginners |