MSMQ Support .Net Standard

Thierry Morre 26 Reputation points

The portability of "System.Messaging" for .Net Standard is it scheduled?

Microsoft Technologies based on the .NET software framework.
2,080 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce ( 45,121 Reputation points

    .netstandard is cross platform, so MSMQ which depends on windows, can not implemented in .netstandard (which is a base api).

    MSMQ, like WCF did not make the cut to be ported to net core.

    your practical solutions based on requirements are:

    1) if you only need queueing support, create a rest api website in 4.8 that supports queuing. you .net 6 apps can call this site.
    2) if you need a .net 6 app to receive queue message, use a rest api, and have a 4.8 MSMQ app call the rest api.

    long term you need to pick a new messaging standard, as MSMQ is fairly dead.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ken Tucker 5,831 Reputation points

    No .net standard is cross platform and msmq is windows only. As far as I know .net standard 2.1 is the last version of .net standard. .net 5 and 6 work on multiple platforms so dont require .net standard