Git Product home page Git Product logo

dotnet.push's People

Contributors

lisa3907 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dotnet.push's Issues

A small suggestion

A small suggestion
New APS Rules

//iOS 10 and beyond (iOS 7, iOS 8, iOS 9 can use this template)
{
"Aps": {
"Alert": {
"Title": "title".
"Subtitle": "subtitle".
"Body": "content"
}
"Badge":1,
"Sound": "default"
}
}
//iOS before 10
{
"Aps": {
"Alert", "content".
"Badge":1,
"Sound": "default"
}
}

Even support extended generic objects as additional data,
such as

"Userinfo": {
"Playid": "123".
"Username": "tom"
"Sex": 1
}

Or, alternatively, APS packets are generated from the outside, and this project is only transmitted as a channel

Now, I follow this line of thought to modify it to better support my system.

Linux compatibility

Hi,

I was going through your code and realized that it would only work on windows, am I right?

and if so, could you make it linux compatible?

thanks in advance

Can't access key file from a controller hosted using IIS

I'm sure this is a stupid mistake on my part. When I use IosPushNotifyAPNs on my local Windows 10 development machine, all is well. When I publish my web api controller onto a Server 2019 system (hosted using IIS; dotnet-hosting-2.2.4-win is installed), I get a "Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: The system cannot find the file specified." I don't think it's a simple permissions issue; the App Pool ID is a domain account with admin privileges on the server; I can actually open the p8 file and read the contents from within my code.

Any suggestions would be greatly appreciated!

Error in encoding or decodin

code:
var _secret_key_blob = Convert.FromBase64String("MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgnrdP+CjGzu7/o1Qs");
PrivateKey = CngKey.Import(_secret_key_blob, CngKeyBlobFormat.Pkcs8PrivateBlob);

error:
System.Security.Cryptography.CryptographicException:“Error in encoding or decoding.”

Is it related to "Pkcs8PrivateBlob"?
Please take a look at it. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.