RabbitMQ安装介绍查看该网址
两个App都要配置 appsettings.json
{ "RabbitMQ": { "Connections": { "Default": { "HostName": "localhost" } }, "EventBus": { "ClientName": "MsDemo_AuthServer", "ExchangeName": "MsDemo" } }, "AllowedHosts": "*" }