How to create pub-sub model in C#?

Prabs 1 Reputation point
2022-11-29T07:09:26.193+00:00

Hi,
I have an C#.net core 3.1 console application. I need to develop pub-sub model in my application.
How to create pub-sub model in C#?
Can you share me some sample code for pub-sub model in C-Sharp code?

Regards,
Prabs

Developer technologies .NET .NET Runtime
Developer technologies .NET Other
Developer technologies .NET .NET CLI
Developer technologies C#
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Castorix31 90,681 Reputation points
    2022-11-29T07:45:45.253+00:00

  2. Evgeny Grishchenko 486 Reputation points
    2022-11-29T20:31:22.987+00:00

    Look at channels channels

    0 comments No comments

  3. Jack J Jun 25,296 Reputation points
    2022-12-03T07:02:50.267+00:00

    @Prabs , Welcome to Microsoft Q&A, you could look at the Github to know how to create pub-sub model in .net 6 Console app.

    Hope this could help you.

    Best Regards,
    Jack


    If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.