Jiguang.JPush.Extensions 1.2.5
Jiguang.JPush.Extensions
Jiguang.JPush.Extensions is an extension library that allows you to use JPush easier in Asp.net core / .Net Stadard 2.0+
Supported platforms
- .Net Standard 2.0+
Installation
Basic use
Add JPush into Startup.ConfigureServices:
services.AddJPush(options =>
{
options.AppKey = "Your AppKey";
options.MasterSecret = "Your MasterSecret";
});
Or, you can use another method, like below:
var configuration = new ConfigurationBuilder()
.AddJsonFile("whatever.json")
.Build();
services.AddJPush(configuration);
If you use this way, you need to add a whatever.json file first, and with content:
{
"AppKey": "Your AppKey",
"MasterSecret": "Your MasterSecret"
}
You can also just call
AddJPush()without any parameters, by doing this, you need to configureJPushOptionswithservices.Configure<JPushOptions>(configuration)inStartup.ConfigureServicesmethod.
Now, you can use JPushClient in your classes.
private readonly JPushClient _client;
public Constructor(JPushClient client)
{
_client = client;
}
Other information
- The package version like v1.1.0 is related to Jiguang.JPush's v1.1.0, and so on.
- Newer version of Jiguang.JPush will be covered by Azure Pipelines automatically every month.
- Please raise an issue or contact me directly if some version hasn't been covered.
No packages depend on Jiguang.JPush.Extensions.
v1.2.5 release
.NET Standard 2.0
- Jiguang.JPush (>= 1.2.5)
- Microsoft.Extensions.Configuration.Abstractions (>= 2.0.0)
- Microsoft.Extensions.DependencyInjection (>= 2.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.0.0)
- Microsoft.Extensions.Options (>= 2.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 2.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
| Version | Downloads | Last updated |
|---|---|---|
| 1.2.5 | 3 | 05/22/2025 |
| 1.2.4 | 19 | 12/28/2023 |
| 1.2.3 | 2 | 05/22/2025 |
| 1.2.2 | 2 | 05/22/2025 |
| 1.2.1 | 2 | 05/22/2025 |
| 1.2.0 | 2 | 05/22/2025 |
| 1.1.5 | 2 | 05/22/2025 |
| 1.1.4 | 2 | 05/22/2025 |
| 1.1.3 | 2 | 05/22/2025 |
| 1.1.2 | 2 | 05/22/2025 |
| 1.1.1 | 4 | 06/18/2025 |
| 1.1.0 | 3 | 05/22/2025 |
| 1.0.13 | 3 | 02/26/2025 |
| 1.0.12 | 3 | 02/26/2025 |
| 1.0.11 | 2 | 05/24/2025 |
| 1.0.10 | 2 | 05/24/2025 |
| 1.0.9 | 1 | 11/25/2025 |
| 1.0.8 | 1 | 11/26/2025 |
| 1.0.7 | 1 | 11/25/2025 |
| 1.0.6 | 2 | 05/22/2025 |
| 1.0.5 | 2 | 05/22/2025 |
| 1.0.4 | 2 | 05/22/2025 |
| 1.0.3 | 2 | 05/22/2025 |
| 1.0.2 | 2 | 05/22/2025 |
| 1.0.1 | 2 | 05/22/2025 |
| 1.0.0 | 2 | 05/22/2025 |