MSMQ Support .Net Standard

Thierry Morre 26 Reputation points
2022-02-01T09:29:12.017+00:00

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

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

Accepted answer
  1. Bruce (SqlWork.com) 55,366 Reputation points
    2022-02-01T16:48:07.127+00:00

    .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,846 Reputation points
    2022-02-01T11:16:02.067+00:00

    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

    https://devblogs.microsoft.com/dotnet/the-future-of-net-standard/