The text of this article is not in this database — only its details are. Read it on the old site: Apple Push Notification Using ASP.Net
71 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Apple Push Notification Using ASP.Net
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Ved PrakashPosted Jan 13, 2022, 9:21 AM
Hello Pradip,
masoom babaPosted May 24, 2021, 6:34 AM
Hi Pradip.. Code executing without error but notification not delivered to Device. could u please help what might be the problem?
Pavan KumarPosted Feb 23, 2020, 9:18 AM
Hi, I need to send both English & Chinese characters message to iOS, for that I change to UTF8 format, if any, Chinese characters in the message the those messages are unable to send to iOS. Please help me with this.
Anand GPosted Sep 1, 2017, 6:21 AM
Array may not be empty or null. --> This error came from this line( var push = new PushNotification(true, certificatePath, "XXXXXX");). Kindly guide me
Anand GPosted Sep 1, 2017, 2:47 AM
Hi, can u explain from where can i get Project.zip. and MoonAPNS
Mahesh SinghPosted Aug 26, 2017, 8:02 AM
Could not load file or assembly 'Project.MoonAPNS' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Madan DhimanPosted Mar 29, 2017, 2:12 AM
This code is not working in asp.net c# with distribution certificate. Giving error: The Local Security Authority cannot be contacted. [Win32Exception (0x80004005): The Local Security Authority cannot be contacted] [AuthenticationException: A call to SSPI failed, see inner exception.] PLEASE HELP ASAP
Ajit NegiPosted Feb 23, 2017, 1:09 AM
Please tell me how to send same notification to multiple device at once? Is it possible in above code?
Priyanka AbrolPosted Feb 13, 2017, 2:46 AM
Hi, from where can i get Project.zip. and MoonAPNS
pavan kPosted Nov 21, 2016, 7:26 AM
Hi, My apple developers team has provided me .pem & .cer file but when asked about password, they told that its empty. When i tried to convert .pem to .pfx, it is asking for password which i cannot pass as empty. So what is the alternative if i password is empty?
Milap PancholiPosted Nov 11, 2016, 3:43 AM
Result return device token id but notification is not sending to user can u help out about this problem?
debasis nayakPosted Jan 7, 2016, 2:35 AM
payload1.AddCustom("RegionID", "IDQ10150"); what are the RegionId and IDQ10150
debasis nayakPosted Jan 7, 2016, 2:35 AM
and when run the app i am getting error "Authentication failed because the remote party has closed the transport stream."in the OpenSslStream .so please help me
debasis nayakPosted Jan 7, 2016, 2:31 AM
Hi Pradip ,I add all the class files to my model folder and add the following code in my controller public ActionResult PushNotification() { var payload1 = new NotificationPayload("Device Token", "Message", 1, "default"); payload1.AddCustom("RegionID", "IDQ10150"); var p = new List<NotificationPayload> { payload1 }; var push = new PushNotification(false, "C:/Users/Aamoksh/Downloads/Certificates.p12", "passw0rd"); var rejected = push.SendToApple(p); return View(); }
debasis nayakPosted Jan 6, 2016, 7:06 AM
I checked in your project .This method is not present any where
debasis nayakPosted Jan 6, 2016, 6:44 AM
i add all the 3 .dll to my project and add a class and write this code in that class but the "Messages " showing error.So please help me.
debasis nayakPosted Jan 6, 2016, 6:42 AM
the Message showing error that the Messages could not be found
debasis nayakPosted Jan 6, 2016, 6:41 AM
Hi Pradip,in my program public Int64 PushNotificationToApple(Messages messageObject),
debasis nayakPosted Jan 5, 2016, 8:54 AM
I am the new commer in .net,So can you please give me the step by step process to implement this notification process.I am trying to implement your process but am facing lots of problem.So please help me
debasis nayakPosted Jan 5, 2016, 8:52 AM
Hi Pradip,
Shamsuddin AnsariPosted Dec 1, 2015, 2:37 AM
I am getting the error "The credentials supplied to the package were not recognized"
Shamsuddin AnsariPosted Dec 1, 2015, 2:34 AM
Hi Pradip
hussain baigPosted Nov 28, 2015, 8:08 AM
Hello Pradip, I am using this code for sending push notification. I am getting ?????????? for non English languages. For this i changed memoryStream.Write(Encoding.UTF8.GetBytes(payload.PayloadId.ToString()), 0, payload.PayloadId.ToString().Length); from ASCII to UTF8. But still getting ????????. Can you please suggest where to change the code.
hussain baigPosted Nov 15, 2015, 7:49 AM
Please let us know how to send push notication in Arabic language
Vincent LowPosted Sep 8, 2015, 12:14 AM
Hello Pradip, i am getting error "Authentication failed because the remote party has closed the transport stream."
Ahmad EidPosted Aug 24, 2015, 5:57 PM
thaaaaaaaaaanx you saved my daaaaaaaaaaay
Test BullionPosted Aug 24, 2015, 2:47 AM
Hello Pradip, i am getting error "Authentication failed because the remote party has closed the transport stream."
Test BullionPosted Aug 24, 2015, 2:47 AM
Hello Pradip,
Former memberPosted Jun 30, 2015, 5:59 AM
Hi Pradip, I am getting this message 'The message received was unexpected or badly formatted' and not getting any solution for this . Please help me asap, its urgent
Rohan savePosted Jun 22, 2015, 2:11 AM
i am getting ,cannot connect to apple server pls suggest
S BasuPosted May 20, 2015, 9:02 AM
Hi Pradip...I tried to follow the process you have described here, but unfortunately it is giving the error as "Authentication failed because the remote party has closed the transport stream". Could you please help me to resolve it.
Md Tarikul IslamPosted May 15, 2015, 3:21 AM
Hi Pradip What is that "Messages" in this following section---public Int64 PushNotificationToApple(Messages messageObject )unable to find that...what is the use of that.....can u please help me ...
apurve vermaPosted Dec 13, 2014, 1:32 PM
any reply on the above comment plz ?
apurve vermaPosted Dec 11, 2014, 12:53 PM
"Download the file Project.zip. Extract and add it your project. Build Project.MoonAPNS."..... here i can't find "Project.zip" although "Project.MoonAPNS" is available in download file option. Pls help !
apurve vermaPosted Dec 11, 2014, 6:54 AM
Where can i find the project.zip file ?
apurve vermaPosted Dec 11, 2014, 6:54 AM
Hi Pradip !
dhiraj raghuvanshiPosted Nov 11, 2014, 7:47 AM
can you give me your mail id?
dhiraj raghuvanshiPosted Nov 11, 2014, 6:30 AM
hi iam getting this error:- Received an unexpected EOF or 0 bytes from the transport stream
ashish thakarePosted Aug 28, 2014, 8:41 AM
Detail error is as " at System.Net.Sockets.TcpClient.GetStream() at MoonAPNS.PushNotification.OpenSslStream(String host, X509CertificateCollection certificates) at MoonAPNS.PushNotification.Connect(String host, Int32 port, X509CertificateCollection certificates) at MoonAPNS.PushNotification.SendQueueToapple(IEnumerable`1 queue) at MoonAPNS.PushNotification.SendToApple(List`1 queue) at ApplePushnotify.Page_Load(Object sender, EventArgs e) in d:\Utils\Aug\27082014\Iphone\PusnotifyApp\ApplePushnotify.aspx.cs:line 26"
ashish thakarePosted Aug 28, 2014, 8:35 AM
I am getting error after using this code. Can you help me please.The operation is not allowed on non-connected sockets.
Manish DwivediPosted May 7, 2014, 5:04 AM
Great article