Easy Email Verification in .NET: FluentEmail + Papercut

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 47

  • @MilanJovanovicTech
    @MilanJovanovicTech  4 месяца назад +3

    Do you want to simplify your development process? Grab my free Clean Architecture template here: bit.ly/3Andaly

    • @Fawwazramadhan9492
      @Fawwazramadhan9492 4 месяца назад +1

      Thank you Milan, I follow your videos Authentication & Authorization playlists and implement it on my current project, it's work great. And your CA template is great.

  • @NoName-1337
    @NoName-1337 4 месяца назад +8

    Your videos are as always great. Please keep up the good work.

  • @mtbatuhan
    @mtbatuhan 4 месяца назад

    I was going to implement email service to my side project, it's perfect timing.I also enjoyed video.

  • @clebersondot-net
    @clebersondot-net 4 месяца назад +1

    It was great as ever, Milan. Thanks!

  • @10Totti
    @10Totti 4 месяца назад +4

    Best Tutorial!

  • @MahmoudSaed98
    @MahmoudSaed98 4 месяца назад

    I've been waiting for this
    Thanks and regards, Milan

  • @LuisPauloRSLima
    @LuisPauloRSLima 4 месяца назад +1

    Very good! Thank you for producing great content.

  • @dotnetMasterCSharp
    @dotnetMasterCSharp Месяц назад

    Most useful content thank you Milan

  • @zikkrype
    @zikkrype 4 месяца назад

    Let's presume that there is specific set of actions which user should not be able to do until email is verified.
    For example: CreateOrder. How would you suggest to check if user has permission to do it? Put EmailVerified true claim inside a JWT or other options? Because retrieving user from database and checking if EmailVerified every time can be consuming operation.

    • @MilanJovanovicTech
      @MilanJovanovicTech  4 месяца назад +3

      | Put EmailVerified true claim inside a JWT or other options?
      Exactly, that would the easiest way. I actually have a video coming up next week that will cover JWT and claims, and this is one of the points I bring up.

    • @zikkrype
      @zikkrype 4 месяца назад

      @@MilanJovanovicTech looking forward mate

  • @dhruvmathur5315
    @dhruvmathur5315 4 месяца назад

    Hey Milan awesome stuff my train ride every morning is not wasted now, i see you using the link generator to add query params and generate the link is it possible to do that for route params as well for rest endpoints?

  • @haraheiquedossantos4283
    @haraheiquedossantos4283 4 месяца назад

    Hello
    Will you make a video using external/third party auth using something like Google or Facebook?

  • @IIIA_KO
    @IIIA_KO 4 месяца назад

    Impactful content. Would be great to learn more about PaperCut and inspect source code, if it is possible.

  • @rmbl349
    @rmbl349 23 дня назад

    The FluentEMail Liubrary wasn't updated for more than 2 years. It has some libraries with security issues. I already wrote an mail to the maintainer. Does someone know why the maintainer is inactive and does not even accept any bugfixes or pullrequests?

    • @MilanJovanovicTech
      @MilanJovanovicTech  22 дня назад

      Probably moved on from the project? There are other email senders

    • @rmbl349
      @rmbl349 22 дня назад

      @@MilanJovanovicTech same here, most used libraries don't get much activity. Especially when you want to use templates like liquid.

  • @haroldpepete
    @haroldpepete 4 месяца назад

    great video, what happen if the user was registered but the verfication token was rejected because it expired, you need another endpoint to resend the email to verify the user

    • @MilanJovanovicTech
      @MilanJovanovicTech  4 месяца назад

      @@haroldpepete Exactly. So just extract the token generation logic to make it reusable.

  • @10Totti
    @10Totti 4 месяца назад

    but have you increased the minimum cost of the Patreon subscription for access code ?

  • @ChristopherBriddock
    @ChristopherBriddock 4 месяца назад

    Can you not generate the code store it in the http session and for it to scale well, use redis, rather than the database. This way, you can set cache expiration, which will effectively delete the code. Then, the user receives an email and enters the code.

    • @MilanJovanovicTech
      @MilanJovanovicTech  4 месяца назад

      Why introduce an entire infrastructure component (Redis) to achieve the same functionality?

    • @ChristopherBriddock
      @ChristopherBriddock 4 месяца назад +1

      @MilanJovanovicTech Suppose you are right, but if I did have a redis instance or cluster, I would probably use that way

  • @Kimo.Codess
    @Kimo.Codess 4 месяца назад

    Thank you I’ve been thinking about how to implement this on my api but you’ve just saved me a ton of work 😅
    Can you also do refresh tokens for jwt authentication?

    • @MilanJovanovicTech
      @MilanJovanovicTech  4 месяца назад +1

      Probably, but need to cover some other videos first

  • @carlosmunozrodriguez
    @carlosmunozrodriguez 4 месяца назад

    Unfortunately FluentEmail seems dead. It hasn't been updated in two years (since 2022), is still being built with .NET Core 3.1 and contains some DI bugs when using it with the MailKitSender. It's a nice Project though but if it stays dead, sooner or later I'll need to find a replacement. I'll probably revert back to plain MailKit although the RazorRendering will be missed.

    • @MilanJovanovicTech
      @MilanJovanovicTech  4 месяца назад

      Why not make a PR?

    • @carlosmunozrodriguez
      @carlosmunozrodriguez 4 месяца назад

      @@MilanJovanovicTech I will when I'm completely sure of the change. I need time for studying the code base to see if the change I think should be done is the correct one for everyone not just for me. Unfortunately, I don't think the PR will be acted on because as I said, there is no activity on the repo for a long time.

  • @harryprince9556
    @harryprince9556 4 месяца назад

    Ha. Nice. being using papercut for 4 years