August 9, 2013
.NET, ANDROID, Blackberry, Extensions, iOS, iPhone, KnowledgeBase, Microsoft, Microsoft SDKs, Mobile, Mobile Services, Mobile-Development, Nokia, Third-Party-Libraries and Frameworks, VisualStudio, VS2010, VS2012, Windows, Windows 8 apps development, Windows Phone, Windows Phone 8, Windows Phone 8.0 SDK, Windows Phone Development, Windows Phone SDK, Windows Phone Store, Windows SDK, Windows Store, Windows Store Development
This is an update blog to my earlier blog about Sending Apple iOS Push notifications using C#.
With that blog – I introduced you to how to send push notification using Open Source library APNSharp, by the developer John Redth. Redth announced that library is already deprecated.
Redth came up with with another open source project called as PushSharp:,published under apache software foundation license.
PushSharp is a server-side library for sending Push Notifications to iOS (iPhone/iPad APNS), Android (C2DM and GCM – Google Cloud Message), Windows Phone, Windows 8, Amazon, Blackberry, and (soon) FirefoxOS devices!. Single library serves the purpose of sending push notifications to multiple platforms. Pretty decent isn’t it?
Here is the basic architecture:
Features of PUsHSHARP
- Supports sending push notifications for many platforms:
- Apple (APNS – iPhone, iPad, Mountain Lion)
- Android (GCM/C2DM – Phones/Tablets)
- Chrome (GCM)
- Amazon (ADM – Amazon Device Messaging)
- Windows Phone 7 / 7.5 / 8 (including FlipTile, CycleTile, and IconicTile Templates!)
- Windows 8
- Blackberry (BIS and BES via PAP)
- Firefox OS (Coming soon)
- Fluent API for constructing Notifications for each platform
- Auto Scaling of notification channels (more workers/connections are added as demand increases, and scaled down as it decreases)
Implementation using PushSharp is straight forward
Here’s some sample code: shared by Redth
//Create our push services broker
var push = new PushBroker();
//Registering the Apple Service and sending an iOS Notification
var appleCert = File.ReadAllBytes("ApnsSandboxCert.p12"));
push.RegisterAppleService(new ApplePushChannelSettings(appleCert, "pwd"));
.ForDeviceToken("DEVICE TOKEN HERE")
//Registering the GCM Service and sending an Android Notification
//Fluent construction of an Android GCM Notification
//IMPORTANT: For Android you MUST use your own RegistrationId here that gets generated within your Android app itself!
push.QueueNotification(new GcmNotification().ForDeviceRegistrationId("DEVICE REGISTRATION ID HERE")
You can get the Push Sharp for your .NET projects from below mentioned links:
Binaries from NuGet: https://www.nuget.org/packages/PushSharp
To install PushSharp, run the following command in the Package Manager Console
PM> Install-Package PushSharp
Source Code from GitHub: https://github.com/Redth/PushSharp
Documentation and Implementation Guides available at wiki page: https://github.com/Redth/PushSharp/wiki
Quick links to implementation guides
You can read my previous blogs here:
Sending Apple iOS Push notifications using C#
Apple Push Notifications Service API & C#
March 9, 2013
.NET, Community, KnowledgeBase, Microsoft, Microsoft SDKs, Mobile-Development, MSDN, VisualStudio, VS2012, Windows, Windows 8, Windows 8 apps development, Windows Phone, Windows Phone 7.5, Windows Phone 7.8, Windows Phone 8, Windows Phone Development, Windows Phone SDK, Windows SDK, Windows Store, Windows Store Development
Multilingual App toolkit for Visual Studio 2012 helps the windows Phone and Windows store app developers to integrate Multi lingual/localization capability in your applications.
This extension for Visual Studio 2012 helps you localize your Windows Store and Windows Phone apps with translation support, translation file management, and editor tools.
Download Multilingual App Toolkit for Visual Studio 2012
read the Blog from windows Phone team for more details: tips for localizing windows phone apps
See some related videos here:
March 5, 2013
.NET, .NET Framework, Codeplex, Community, IIS Smooth Streaming, Microsoft, Microsoft SDKs, MSDN, OpenSource, Streaming Media, VisualStudio, VS2012, Windows, Windows Phone, Windows Phone 8, Windows Phone 8.0 SDK, Windows Phone Development, Windows Phone SDK, Windows Phone Store, Windows SDK, Windows Store
Microsoft Media platform team has recently updated the “Media Player Framework” for Windows 8 and Windows Phone 8 to version 1.1, which includes few enhancements and fixes.
“Media Player Framework” helps you in building media applications for Windows 8 and Windows Phone 8. The player framework contains an open source framework available for Silverlight, HTML5 and XBox media applications, Windows Phone and Windows applications. It allows application developers to progressively download and play normal media contents from different download sources and other smooth streaming sources.
Download the latest framework from Codeplex.com: http://playerframework.codeplex.com
Note: This framework is not for Windows Phone 7.x version applications, as it is based on Windows 8 application API’s – which are common for Windows 8 and Windows Phone 8 versions.
October 4, 2012
Windows 8 Camp in a Box is a set of hands-on-labs, presentations, samples and resources from the Windows 8 camps.
The Windows 8 camps are free training events for developers ramping up on Windows Store app development.
To sign-up or join for a Windows camp(in your region), please visit http://devcamps.ms/windows.
We have two packages available as part of this hands-on-labs download:
- WIN8CS_rtm.exe includes the hands-on-labs that use XAML + C#.
DOWNLOAD: Windows 8 Camp in a Box package
August 16, 2012
.NET, .NET Framework, All, Microsoft, Microsoft SDKs, Silverlight, VisualStudio, VS2012, Windows, Windows 8, Windows 8 apps development, Windows SDK, Windows Store, Windows Store Development
User experience guidelines from Microsoft for Windows Store apps (based on latest RTM release).
Download from Windows 8 UX Guidelines for Windows Store apps