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)
- Host: GitHub
- URL: https://github.com/netcorepal/aliyun.mns
- Owner: netcorepal
- Created: 2018-01-04T08:08:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-17T06:56:09.000Z (over 8 years ago)
- Last Synced: 2026-02-12T02:08:53.573Z (6 months ago)
- Language: C#
- Size: 136 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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();