Foad Alavi
Foad Alavi
  • 35
  • 98 674
Mastering Clean Architecture: Email Delivery Via Smtp And Api
We need to notify the end user about his interaction with the system. The primary way of notifying them is by sending emails. I explained the SMTP email sender API services for sending emails and how to test the emails using Smtp4Dev.
**************This is part 10 **************
I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the playlist, I explain the concept of clean architecture and how to create a project from scratch while discussing the reasons behind each decision. By the end of this series, you will have a solid understanding of clean architecture and be able to easily apply it.
Buy me a coffee: buymeacoffee.com/foadalavix
Patreon: patreon.com/FoadAlaviTH-cam
Part 1: th-cam.com/video/Kl2tPE2SYBM/w-d-xo.html
Part 2: th-cam.com/video/Xm-fmcPU-8s/w-d-xo.html
Part 3: th-cam.com/video/kwkLHp7Q_Hw/w-d-xo.html
Part 4: th-cam.com/video/EvufkVxUaVY/w-d-xo.html
Part 5: th-cam.com/video/7whZlOsiQo8/w-d-xo.html
Part 6: th-cam.com/video/MIJDoO5s8CA/w-d-xo.html
Part 7: th-cam.com/video/CwDLrSe4oGk/w-d-xo.html
Part 8: th-cam.com/video/mN4259vL4QE/w-d-xo.html
Part9: th-cam.com/video/bA3zWh4AbAU/w-d-xo.html
Part9: th-cam.com/video/bA3zWh4AbAU/w-d-xo.html
Part10: th-cam.com/video/tQAdzSEsDqs/w-d-xo.html
⏱️VIDEO CHAPTERS⏱️⏱️
00:00 Introduction
00:22 Email Sender Interface
02:55 SMTP Email Sender
10:06 Package Modularity
14:36 SMTP4Dev
19:52 Handling Exceptions Strategy
23:38 .http file
26:03 Email Sender API
🔔 Subscribe for more tips just like this: www.youtube.com/@Foad_Alavi?sub_confirmation=1
GitHubRepo: github.com/foadalavi/Development/tree/master/006-%20Clean%20Architecture/Librarian/Session%2010
#dotnet #cleanarchitecture #tutorial #fromzerotohero
มุมมอง: 599

วีดีโอ

Mastering Clean Architecture: Advanced Exception Handling With Middleware And Problem Details
มุมมอง 1.1K7 หลายเดือนก่อน
Having a central exception-handling module is essential for Clean Architecture. In this video, we discussed using Action Filters, Middlewares, ExceptionMiddelwares, and on top of that, RFC 9457 and Problem Details, which is the standard for generating responses for errors. This is part 9 I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the ...
Clean Architecture And Entity Framework Migration With .NET 8!
มุมมอง 1.3K7 หลายเดือนก่อน
Most developers Violeate the Clean Architecture rules and principles for Entity framework Migration; in this video, we will learn how to do it properly. This is part 8 I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the playlist, I explain the concept of clean architecture and how to create a project from scratch while discussing the reaso...
Clean Architecture: How To Register Services Like A Pro!
มุมมอง 4757 หลายเดือนก่อน
When building applications using Clean Architecture, service registrations have specific placement rules. This is part 7 I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the playlist, I explain the concept of clean architecture and how to create a project from scratch while discussing the reasons behind each decision. By the end of this ser...
Master Advanced Validation With Clean Architecture In .net 8
มุมมอง 7467 หลายเดือนก่อน
In this video of Clean Architecture in. Net 8, we are developing advanced validations using Fluent Validation and AutoMapper. This is part 6 I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the playlist, I explain the concept of clean architecture and how to create a project from scratch while discussing the reasons behind each decision. By...
Clean Architecture With .NET 8: Best Practices For Validation
มุมมอง 9408 หลายเดือนก่อน
Each layer in the clean architecture is responsible for validating its data. In this video, we discuss using fluent validation in the application layer. This is part 5 I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the playlist, I explain the concept of clean architecture and how to create a project from scratch while discussing the reaso...
Mastering Clean Architecture: Building A Robust Persistence Layer
มุมมอง 5928 หลายเดือนก่อน
This video is about the Persistence layer in clean architecture. This is part 4 I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the playlist, I explain the concept of clean architecture and how to create a project from scratch while discussing the reasons behind each decision. By the end of this series, you will have a solid understanding ...
Mastering Clean Architecture: Designing Features
มุมมอง 5478 หลายเดือนก่อน
In Clean architecture, features are where we apply our business logic and rules. This is part 3 I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the playlist, I explain the concept of clean architecture and how to create a project from scratch while discussing the reasons behind each decision. By the end of this series, you will have a soli...
Setting Up A Clean Architecture Project And Building The Domain Layer
มุมมอง 6528 หลายเดือนก่อน
Clean architecture is all about project setup and structure; in this video, I explained the project structure and the domain layer as the heart of the whole architecture. This is part 2 I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the playlist, I explain the concept of clean architecture and how to create a project from scratch while di...
Master Clean Architecture And N-layer Architecture: Never Forget Again!
มุมมอง 9148 หลายเดือนก่อน
The best way to learn a new technology or architecture is to understand why it was created. In this video, I explain the N-layer Architecture and how it evolved into Clean Architecture. This is part 1 I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the playlist, I explain the concept of clean architecture and how to create a project from s...
Run TestContainers in Azure Pipeline using Docker wormhole - Part2
มุมมอง 5888 หลายเดือนก่อน
You can run TestContainers on the Azure Pipeline using the Docker Wormhole pattern. You need to wrap your project into a Docker image and then run this Docker image in your pipeline. This is a valid use case for a Docker wormhole. In these 3 videos, you will understand its logic and see how to do it. Buy me a coffee: buymeacoffee.com/foadalavix Patreon: patreon.com/FoadAlaviTH-cam Part 1: th-ca...
Run TestContainers in Azure Pipeline
มุมมอง 1.5K8 หลายเดือนก่อน
You can run TestContainers on the Azure Pipeline. You need to wrap your project into a Docker image and then run this Docker image in your pipeline. This is a valid use case for a Docker wormhole. In these 3 videos, you will understand the logic behind it and see how to do it. Buy me a coffee: buymeacoffee.com/foadalavix Patreon: patreon.com/FoadAlaviTH-cam Part2: th-cam.com/video/ayKWhK1PZfQ/w...
Publish to Docker and run docker from C# using DockerDotNet, and optimize the Image size
มุมมอง 6048 หลายเดือนก่อน
Dont use dockerfile, instead, use dotnet publish and DockerDotNet, and optimize the Docker image. In dotnet 7 and 8, you don't need to use dockerfile to create a docker image. Instead, you can use the dotnet publish command to publish web and console applications to a docker repository. Microsoft introduced the DockerDoNet package for running a Docker image and getting its result from a Docker ...
You Shouldn't use CQRS if. Uncover the difference between CQRS and CQS
มุมมอง 5318 หลายเดือนก่อน
I tried to cover all ambiguities about CQRS and CQS because the differences between these two concepts are often mixed up in TH-cam videos. We’ll explore the issue that CQRS aims to solve. And explained where to use CQRS. More importantly, I shared some reasons why blindly adopting CQRS can lead to disaster in your projects. Whether you’re a seasoned developer or just curious about software arc...
Introduction to Mediator Pattern with MediatR in Net 8
มุมมอง 2.9K9 หลายเดือนก่อน
It introduces the mediator design pattern with a real-life example, and I explain how to use the MediatR package.Net8. After this video, you will understand where to use a mediator and, more importantly, where not to use it. I also covered the following: Mediator Design Pattern. New changes in MediatR 12. Dependency Injection in Asp.Net Web API 8. Buy me a coffee: buymeacoffee.com/foadalavix Pa...
Signing and Validating JWT Token Using RSA public and private key in ASP.NET Web API with C# -Part 4
มุมมอง 3.7K9 หลายเดือนก่อน
Signing and Validating JWT Token Using RSA public and private key in ASP.NET Web API with C# -Part 4
RSA Encryption with C# using Public Key and Private key - Part 3
มุมมอง 1.2K9 หลายเดือนก่อน
RSA Encryption with C# using Public Key and Private key - Part 3
AES Encryption with C# with Initialization vector and Cipher Block Chaining(CBC) - Part 2
มุมมอง 4549 หลายเดือนก่อน
AES Encryption with C# with Initialization vector and Cipher Block Chaining(CBC) - Part 2
Encoding Vs Encryption Vs Hashing and Symmetric Encryption Vs Asymmetric Encryption with C# - Part 1
มุมมอง 6659 หลายเดือนก่อน
Encoding Vs Encryption Vs Hashing and Symmetric Encryption Vs Asymmetric Encryption with C# - Part 1
JWT Refresh Token with Asp.net Web API 8 and C#
มุมมอง 10K9 หลายเดือนก่อน
JWT Refresh Token with Asp.net Web API 8 and C#
Part5: Authentication, Authorization, and Identity in ASP.Net Core7 - How Experts use authorization
มุมมอง 1.1Kปีที่แล้ว
Part5: Authentication, Authorization, and Identity in ASP.Net Core7 - How Experts use authorization
Part4: Authentication, Authorization, and Identity in ASP.Net Core7- Role-based and claim-based auth
มุมมอง 1.1Kปีที่แล้ว
Part4: Authentication, Authorization, and Identity in ASP.Net Core7- Role-based and claim-based auth
Part3: Authentication, Authorization and Identity in ASP.Net Core7 - JSON Web Token (JWT)
มุมมอง 1.6Kปีที่แล้ว
Part3: Authentication, Authorization and Identity in ASP.Net Core7 - JSON Web Token (JWT)
Part2: Authentication, Authorization and Identity in ASP.Net Core7 - ASP.NET Identity
มุมมอง 2.6Kปีที่แล้ว
Part2: Authentication, Authorization and Identity in ASP.Net Core7 - ASP.NET Identity
Part1: Authentication, Authorization and Identity in ASP.Net Core7 - Cookie-based Authentication
มุมมอง 6Kปีที่แล้ว
Part1: Authentication, Authorization and Identity in ASP.Net Core7 - Cookie-based Authentication
What Every .Net Developer Needs To Know About Docker
มุมมอง 4.2Kปีที่แล้ว
What Every .Net Developer Needs To Know About Docker
Master ASP.NET Core Integration Testing: Learn How TestContainers and WebApplicationFactory Can Help
มุมมอง 11Kปีที่แล้ว
Master ASP.NET Core Integration Testing: Learn How TestContainers and WebApplicationFactory Can Help
Authenticating Web API Using ASP .Net Identity and JSON Web Tokens (JWT)
มุมมอง 35Kปีที่แล้ว
Authenticating Web API Using ASP .Net Identity and JSON Web Tokens (JWT)
Uncovering the Secret to Refactoring Legacy Code!
มุมมอง 611ปีที่แล้ว
Uncovering the Secret to Refactoring Legacy Code!
How to test your Unit tests? (mutation testing in C# using Styker)
มุมมอง 695ปีที่แล้ว
How to test your Unit tests? (mutation testing in C# using Styker)

ความคิดเห็น

  • @shajareyetuba
    @shajareyetuba 2 วันที่ผ่านมา

    عالی - ممنون 💫

  • @webseo89
    @webseo89 3 วันที่ผ่านมา

    Thank you for such a good tutorial. Keep teaching:)

  • @SuperJB1981
    @SuperJB1981 14 วันที่ผ่านมา

    Foad Alavi, since the tests are created within the instanciated docker container, is there a way to retrieve the test results, make a callback to the executing PR, and write the test results?

  • @manmohanmundhraa3087
    @manmohanmundhraa3087 21 วันที่ผ่านมา

    Can one use base class for all handler classes so that we dont have to write code for service injection via constructor parameters ? any pro con if written like that ?

  • @navidkhanjari-v8y
    @navidkhanjari-v8y 23 วันที่ผ่านมา

    mersi ostad

  • @mealloc
    @mealloc 23 วันที่ผ่านมา

    Very good video! I wonder if I can actually implement this in our team. Our build agent is shared across multiple team and the agent have multiple CI happening at the same time, sometimes even for the same project. If we’re all mounting the sock file from the host into our containers, I imagine it’s going to break hell loose? If we don’t need a dedicated agent for every project then this is fantastic!

  • @osmanaymaz6350
    @osmanaymaz6350 หลายเดือนก่อน

    Thanks. It helped me a lot.

  • @amirhosseinpapakikashani9469
    @amirhosseinpapakikashani9469 หลายเดือนก่อน

    thank you for this lesson 💥💥🔥🔥🔥

  • @amirhosseinpapakikashani9469
    @amirhosseinpapakikashani9469 หลายเดือนก่อน

    thanks😍😍

  • @amirhosseinpapakikashani9469
    @amirhosseinpapakikashani9469 หลายเดือนก่อน

    you explain very easy thank you foad

  • @Tamer_Ali
    @Tamer_Ali หลายเดือนก่อน

    Thanks a lot Foad for that awesome video. How to send multi / batch emails and avoid different concurrently threads issue? for example in e-commerce apps we need to send emails to the customer, inventory, shipping,...etc after creating the order

  • @AslamNazeerShaikh
    @AslamNazeerShaikh 2 หลายเดือนก่อน

    Lots of love from India, please keep making videos on clean architecture. ♥

  • @orjisamuelobinna9764
    @orjisamuelobinna9764 2 หลายเดือนก่อน

    Clean architecture of a refresh token 🎉. Thank you boss

  • @Pablo-dq9mw
    @Pablo-dq9mw 2 หลายเดือนก่อน

    Thank you dude you helped me so much

  • @szakalak1111
    @szakalak1111 2 หลายเดือนก่อน

    Great video! Exactly what I needed :)

  • @alinikfar2434
    @alinikfar2434 3 หลายเดือนก่อน

    فواد جان عاشق لهجت شدم ! البته قطعا از من بهتره

  • @mehdi-vl5nn
    @mehdi-vl5nn 3 หลายเดือนก่อน

    entity vs domain?

  • @WangAndrew
    @WangAndrew 3 หลายเดือนก่อน

    Great video, learn RSA from this. My problem is the example that validate the token is still on the server side. Just use the public key to validate token on blazor wasm, and got the "PlatformNotSupportedException". Looks like RSA.Create() is not supported on Blazor wasm yet.

  • @mehdi-vl5nn
    @mehdi-vl5nn 3 หลายเดือนก่อน

    a video on entity vs domin would be great

  • @ashleygahl3638
    @ashleygahl3638 3 หลายเดือนก่อน

    This really helped me a lot after a painful weekend trying to figure this out.

  • @pablonascimento3547
    @pablonascimento3547 3 หลายเดือนก่อน

    Sensational! Great explanation. I have a question: I need to call the controller of a second application and have it recognize the token generated by the first application. What is the correct way to do this? Can I generate the token in the first application and add it to a session cookie to be read by application 2, or is there a better way?

  • @r.osorio02
    @r.osorio02 3 หลายเดือนก่อน

    Good explanation. Thanks Foad! Could you explain the matter of the cancellation token as well as pipeline behaviours with mediatr?

  • @Victor-wy1wj
    @Victor-wy1wj 3 หลายเดือนก่อน

    Thank you a lot man.

  • @karlpjd
    @karlpjd 4 หลายเดือนก่อน

    Loved this video, really insightful compared to watching someone copy and paste code ..

  • @BaleĐiCode
    @BaleĐiCode 4 หลายเดือนก่อน

    Best explanation i've ever heard !!! All i need to hear is right here.

  • @فربدعلیخانی-ز8ت
    @فربدعلیخانی-ز8ت 4 หลายเดือนก่อน

    موفق باشی فواد 🤟

  • @marreborre3501
    @marreborre3501 4 หลายเดือนก่อน

    Great videos! Keep them coming!

  • @siddharthprabhakar9353
    @siddharthprabhakar9353 4 หลายเดือนก่อน

  • @mostafaessam592
    @mostafaessam592 4 หลายเดือนก่อน

    waiting for the async video

  • @mostafaessam592
    @mostafaessam592 4 หลายเดือนก่อน

    you're doing an amazing job keep going Allah bless you

  • @mathewsjacob
    @mathewsjacob 4 หลายเดือนก่อน

    Excellent tutorial. Can you please make a video to demonstrate how to publish this to Azure or AWS?

  • @parkhieu4757
    @parkhieu4757 4 หลายเดือนก่อน

    Thank you for tutorial

  • @MertOmurSumer
    @MertOmurSumer 5 หลายเดือนก่อน

    Thank you very much very nice content

  • @aliawan6005
    @aliawan6005 5 หลายเดือนก่อน

    Nice video and explanation but when I go to create contribute user role application throw an error of Foreign key not available in table Entity Update SaveChanges Issue occurred

  • @jesuslopez-bm5vk
    @jesuslopez-bm5vk 5 หลายเดือนก่อน

    Implementing Entity Framework in a microservices environment by creating a shared library to manage migrations for a single database, and having all microservices depend on this library, effectively introduces a level of coupling that contradicts the fundamental principles of microservices architecture

  • @ART000747
    @ART000747 5 หลายเดือนก่อน

    Your agent has Docker installed while your test docker image has just the .NET SDK installed, not Docker (Client/Daemon). Why does it still work? I get an error when I try this setup with JDK loaded image.

  • @geepy5708
    @geepy5708 5 หลายเดือนก่อน

    Hey foad, do you have any video on modular monolith? I’ve seen people talk about it but no one ever starts a project from scratch using it

  • @mehrabhossain8225
    @mehrabhossain8225 5 หลายเดือนก่อน

    best

  • @soucianceeqdamrashti8175
    @soucianceeqdamrashti8175 5 หลายเดือนก่อน

    Thanks for the content. You got a new subscriber!

  • @harimuhammad4525
    @harimuhammad4525 5 หลายเดือนก่อน

    awesome!

  • @pt_trainer9244
    @pt_trainer9244 5 หลายเดือนก่อน

    Thank you,

  •  6 หลายเดือนก่อน

    Thanks a lot! How to refresh token automatically?

  • @ravikirangutti1577
    @ravikirangutti1577 6 หลายเดือนก่อน

    Very good explanation, Can you make it video for integration tests for cosmos db

  • @qasimmughal1396
    @qasimmughal1396 6 หลายเดือนก่อน

    Thanks for your explanation. You are a wonderful teacher

  • @rezarezash
    @rezarezash 6 หลายเดือนก่อน

    Great! How can we provide appsettings or environement variables?

  • @omkarkhaire1188
    @omkarkhaire1188 6 หลายเดือนก่อน

    Hi Foad your videos are super helpful..can u please create a video on blacklisting jwt token in web apis

  • @augustorobles9931
    @augustorobles9931 6 หลายเดือนก่อน

    Great video! It helps me a lot to understand this topic!

  • @augustorobles9931
    @augustorobles9931 6 หลายเดือนก่อน

    Amazing video and clear explanation about the topic. New suscriber from Argentina!

    • @Foad_Alavi
      @Foad_Alavi 6 หลายเดือนก่อน

      Welcome aboard!

  • @Tech__Wizard
    @Tech__Wizard 6 หลายเดือนก่อน

    Bro atleast explain sometimes what you are writing, why in so much hurry.

  • @sushantparekar3687
    @sushantparekar3687 6 หลายเดือนก่อน

    How u can remember such complex codes even though it is logical 😢