Using the stand-alone IBM MQ .NET client
The IBM® MQ .NET client offers you the ability to package and deploy an IBM MQ .NET assembly without needing to use the full IBM MQ client installation on production systems for running your applications.
Before you begin
From
IBM MQ 9.4.0, the amqmdnetstd.dll
client library installed in the default location is based on .NET 6.
From
IBM MQ 9.4.0, IBM MQ supports .NET 8 applications using IBM MQ classes for .NET. If you are using a
.NET 6 application, you can run this application
without any recompilation being required by making a small edit in the
runtimeconfig file to set the
targetframeworkversion
to
"net8.0"
.
The IBM MQ
.NET client library built using .NET Standard 2.0, which was deprecated at IBM MQ 9.3.1, has been removed from the product IBM MQ 9.4.0.
The amqmdnet.dll library is
still supplied, but this library is stabilized; that is, no new features will be introduced into it.
For any of the latest features you must migrate to the amqmdnetstd.dll library.
However, you can continue to use the amqmdnet.dll library on IBM MQ 9.1
Long Term Support or Continuous Delivery releases.
About this task
You can build your IBM MQ .NET applications on a machine where the full IBM MQ client is installed and later package the IBM MQ .NET assembly, that is, amqmdnetstd.dll, along with your application and deploy it on production systems.
The applications that you build and deploy can be the traditional .NET applications, Services, or Microsoft Azure Web/Worker applications
In such deployments, the IBM MQ .NET client supports only the managed mode of connectivity to a queue manager. The server bindings and unmanaged client mode connectivity are not available as these two modes require a full IBM MQ client installation. Any attempt to use these other two modes results in an application exception.
Procedure
Referencing the IBM MQ .NET client assembly in applications
Adding global transaction support
Starting and stopping trace
Enabling binding redirection in the application configuration file