dotnet MVC notification

3 posts, 0 answers
  1. Anup
    Anup avatar
    17 posts
    Member since:
    Dec 2012

    Posted 23 Jan Link to this post

    Hello Team 


    I am developing an application on dotnet mvc. the mobile platform is on Appbuilder. I would like to send notification from our dot net server appplication 
    to the Telerik backend service to be sent to specific mobile numbers.
    This is mainly a transport booking app, the use case is the customer hails a taxi, we have to send notification to x number of taxi drivers on their phone 
    (we have their phone numbers registered.)
    Request you to guide me on the following:
    1. a sample/resource using which I can send push notification to Telerik Backend Service.
    2. How do I send notifications to specific mobile phones
    3. Ideally the delivery of notification has to happen in realtime, how to ensure this. 
    4. Can you also please share what is the time taken by Telerik Backend Service to deliver the notification to the individual mobile phones
     from the time it receives the notification message.This information is being asked by a prospective client who wants to know this specification.  



  2. Martin
    Martin avatar
    60 posts

    Posted 25 Jan Link to this post

    Hello Shiva,

    1. You can find information about sending Push Notifications to the devices in your Telerik Platform app with .NET here.

    2. You can find detailed information about targeting push notifications to specific users/devices/groups here.

    3. The procedure for sending a push notification to the devices in your Telerik Platform app is like this:

    • You construct the push notification object following the supported structure
    • You create the notification object in Telerik Platform either using the SDK or the UI portal
    • When a notification is created in Telerik Platform, the Push Notifications service determines the respective recipient devices. The notification payload along with the push tokens of these devices is sent to the vendor-specific servers. These servers are namely - Apple Push Notification Service (APNs) for iOS devices, Google Cloud Messaging for Android (GCM) for Android devices, Windows Push Notification Services (WNS) for Windows Phone devices.
    • The vendor-specific servers are responsible for sending the notification to the devices identifying them by the respective push tokens.

    In general, the above procedure for push notifications happens in most of the cases almost instantly.  However, the delivery of a push notification is usually referred to as a "best effort". Each of the vendor services has a strategy for how to send a push when the device is not active, how to handle cases where too much notifications were sent from the same app to a single device in a short time, how many times to retry, etc.

    Please bear in mind that the established best practice is to do not use push notifications for time-sensitive data and for sending information that is not available somewhere else. The user may have a device that has limited internet connection, may disable the notifications, disregard the notification, etc. In your use case, for example, the driver should have the ability to check within the app for new customers and the push notification should be used only as a prompt that there is something interesting happening in the app. 

    You can also set push notification expiration time/date using Telerik Platform in order not to send notifications that are no longer relevant if for example at the time of sending the receiving device is switched off or has not connection.

    4. Continuing on the above, the Telerik Platform service for sending push notifications will try to construct the individual messages for the vendor services almost immediately after the notification object is received. Due to the specifics outlined in the points above there is no fixed timeframe for sending/receiving push notification messages. In Telerik Platform you have a way to check the details for each notification and if some problems occurred during sending the notifications. We are also considering a few ways to improve the feedback.

    To get started quickly with push notifications in Telerik Platform you can review:

     - Getting Started with Push Notifications

    Basic Push sample app

    - Advanced Push sample app which demonstrates how push notifications can be targeted to specific users and sent from the client app

    Let us know should you have further questions.

    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
  3. Anup
    Anup avatar
    17 posts
    Member since:
    Dec 2012

    Posted 25 Jan Link to this post

    Dear Martin,

    Thank you for such a detailed explanation. This is adequate for me to start exploring on this.




Back to Top