Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Pushsharp on Windows azure

$
0
0

i am using push sharp for sending push notifications, it is working fine on local host, but how can i configure it on windows azure cloud service

here is my code

  System.IO.File.ReadAllBytes(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "XXXXXXX.p12")); 

                        _pushBroker.RegisterAppleService(
                            new ApplePushChannelSettings(false, appleCert, "XXXXX"));

                         message = "Sending Push";


                        _pushBroker.QueueNotification(
                            new AppleNotification()
                                .ForDeviceToken(userProductSelection.UserInfo.DeviceToken)
                                .WithAlert(message)
                                .WithBadge(1)
                                .WithSound("sound.caf"));


Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>