Easy Email Verification in .NET: FluentEmail + Papercut

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 44

  • @MilanJovanovicTech
    @MilanJovanovicTech  3 місяці тому +3

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

    • @Fawwazramadhan9492
      @Fawwazramadhan9492 3 місяці тому +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 3 місяці тому +7

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

  • @mtbatuhan
    @mtbatuhan 3 місяці тому

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

  • @clebersondot-net
    @clebersondot-net 2 місяці тому +1

    It was great as ever, Milan. Thanks!

  • @dotnetMasterCSharp
    @dotnetMasterCSharp 4 дні тому

    Most useful content thank you Milan

  • @MahmoudSaed98
    @MahmoudSaed98 3 місяці тому

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

  • @LuisPauloRSLima
    @LuisPauloRSLima 3 місяці тому +1

    Very good! Thank you for producing great content.

  • @10Totti
    @10Totti 3 місяці тому +4

    Best Tutorial!

  • @dhruvmathur5315
    @dhruvmathur5315 3 місяці тому

    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 2 місяці тому

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

  • @IIIA_KO
    @IIIA_KO 3 місяці тому

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

  • @zikkrype
    @zikkrype 3 місяці тому

    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  3 місяці тому +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 3 місяці тому

      @@MilanJovanovicTech looking forward mate

  • @10Totti
    @10Totti 3 місяці тому

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

  • @haroldpepete
    @haroldpepete 3 місяці тому

    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  3 місяці тому

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

  • @kimfom
    @kimfom 3 місяці тому

    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?

  • @ChristopherBriddock
    @ChristopherBriddock 3 місяці тому

    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  3 місяці тому

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

    • @ChristopherBriddock
      @ChristopherBriddock 3 місяці тому +1

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

  • @carlosmunozrodriguez
    @carlosmunozrodriguez 2 місяці тому

    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  2 місяці тому

      Why not make a PR?

    • @carlosmunozrodriguez
      @carlosmunozrodriguez 2 місяці тому

      @@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 3 місяці тому

    Ha. Nice. being using papercut for 4 years