An open API service indexing awesome lists of open source software.

https://github.com/netcorepal/aliyun.mns

.net standard 2.0 for aliyun mns (message queue service)
https://github.com/netcorepal/aliyun.mns

Last synced: 5 months ago
JSON representation

.net standard 2.0 for aliyun mns (message queue service)

Awesome Lists containing this project

README

          

# NetCorePal.Aliyun.MNS
Aliyun.MNS for .net standrad with DI

## Install

To install NetCorePal.Aliyun.MNS from the Package Manager Console, run the following command:

Install-Package NetCorePal.Aliyun.MNS.DependencyInjection

## How to use

#### How to register MNS client

services.AddMNS(option=>
{
option.AccessKeyId = "";
option.SecretAccessKey = "";
option.Endpoint = "";
});

#### How to resolve MNS client

using Aliyun.MNS;

services.BuildServiceProvider().GetRequiredService();