https://github.com/jpush/jpush-api-csharp-client
JPush's officially supported C# client library for accessing JPush APIs. 极光推送官方支持的 C# 版本服务器端 SDK。
https://github.com/jpush/jpush-api-csharp-client
Last synced: 8 months ago
JSON representation
JPush's officially supported C# client library for accessing JPush APIs. 极光推送官方支持的 C# 版本服务器端 SDK。
- Host: GitHub
- URL: https://github.com/jpush/jpush-api-csharp-client
- Owner: jpush
- License: mit
- Created: 2013-12-12T05:26:23.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-10-09T03:16:53.000Z (over 1 year ago)
- Last Synced: 2025-04-14T10:42:46.029Z (9 months ago)
- Language: C#
- Homepage: https://docs.jiguang.cn
- Size: 2.08 MB
- Stars: 132
- Watchers: 30
- Forks: 82
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# JPush Library for .NET
[](https://preview.nuget.org/packages/Jiguang.JPush/)
由[极光](https://www.jiguang.cn/)官方支持的 JPush .NET API Client。
> 注意:**Jiguang.JPush** 为基于 .NET Standard 的重构版本,API 用法有较大改变,不兼容旧版本(**cn.jpush.api**),升级前请注意。
项目中的 Example 为 .NET Core 控制台应用。将ExampleConfig.cs.example重命名为ExampleConfig.cs并且填上自己的AppKey、MasterSecret后即可进行单元测试。
开发工具:Visual Studio 2017。
## Install
- [NuGet](https://preview.nuget.org/packages/Jiguang.JPush/)
## Documents
[REST API documents](https://docs.jiguang.cn/jpush/server/push/server_overview/).
## Support
[极光社区](https://community.jiguang.cn/)
## FAQ
1. 如果调用异步方法时出现死锁,即一直没有返回 [HttpResponse](https://github.com/jpush/jsms-api-csharp-client/blob/v2-dev/Jiguang.JSMS/Model/HttpResponse.cs),可参考这篇[文章](https://blogs.msdn.microsoft.com/jpsanders/2017/08/28/asp-net-do-not-use-task-result-in-main-context/)。
1. 如果使用的是 .NET Framework 4.0,则需要使用 [v1](https://github.com/jpush/jpush-api-csharp-client/tree/v1) 版本。
## Contribute
Please contribute! [Look at the issues](https://github.com/jpush/jpush-api-csharp-client/issues).
## License
MIT © [JiGuang](https://github.com/jpush/jpush-api-csharp-client/blob/master/license)
## Extensions
.Net core 2.0 可以使用[Jiguang.JPush.Extensions](https://github.com/Weidaicheng/jpush-api-csharp-client.Extensions)扩展添加注入,方便使用。