Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Johan Reitsma 68 posts 234 karma points MVP
    Feb 06, 2021 @ 21:55
    Johan Reitsma
    0

    Use mediatr in Umbraco 8

    Does anyone know how to inject mediatr into umbraco 8?

    I found some samples using 7 but now we have a different dependency injection system so I'm looking for a v8.

  • Paul Edwards 1 post 92 karma points
    May 05, 2021 @ 08:09
    Paul Edwards
    101

    Hi, I appreciate this question is 3 months old but I had the same query recently. I couldn't find a simple, ready-made solution so created my own, which I've just released on NuGet and GitHub. Hopefully others will find it useful too. Cheers, Paul

    Nuget: https://www.nuget.org/packages/MediatR.LightInject/

    GitHub: https://github.com/pauleds/MediatR.LightInject

  • Johan Reitsma 68 posts 234 karma points MVP
    May 06, 2021 @ 18:28
    Johan Reitsma
    0

    Going to try this, didn't had time to do it myself, but thanks!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies