Giter Site home page Giter Site logo

Comments (6)

adrskw avatar adrskw commented on May 31, 2024

You should install Mediator.SourceGenerator in the outermost project and then install Mediator.Abstractions in all remaining projects that define handlers: https://github.com/martinothamar/Mediator#3-usage-and-abstractions

from mediator.

GunesElektronik avatar GunesElektronik commented on May 31, 2024

Thanks, I will try it.

from mediator.

vdboots avatar vdboots commented on May 31, 2024

it seems that it won't work. on 2.1.7

from mediator.

martinothamar avatar martinothamar commented on May 31, 2024

Hi! Need more specifics to understand what's going wrong. In the meantime, here are some samples showing various ways to organize multiple projects, including clean-architecture style:

from mediator.

RealHustengutzel avatar RealHustengutzel commented on May 31, 2024

Hi. I have the same problem.

Iā€™m trying to publish a notification in my Application.Core Project and catch this notification in my Demo.Server.

Project Overview:

Demo.Server (references Application.Core) with Mediator.Abstractions 2.1.7
Application.Core with Mediator.Abstractions 2.1.7 and Mediator.SourceGenerator 2.1.7 and is adding AddMediator() to a IServiceCollection.

My Application.Core is publishing a notification (for example, DeviceStatusChanged) and also has a consumer for this. My Demo.Server also has a consumer for (DeviceStatusChanged) but never receives this notification."

I hope this helps! If you have any other questions or need further assistance, feel free to ask.

from mediator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.