read from sqlserver and send push notification

2 posts, 0 answers
  1. Imran
    Imran avatar
    8 posts
    Member since:
    Oct 2013

    Posted 07 Jan Link to this post

    Dear Telerik Team,

     i am working on push notification app and totally new i don't have any idea how to do it .

    from telerik sample app's i have refred basic push notification and i am successfully able to get notification.

    but thing is now i want to achieve this one to read the messages from sqlserver and send it to the user. so i am not getting how to do that please anybody guve me sample code or links so that i can refer and complete this app.

     

  2. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 08 Jan Link to this post

    Hello Imran,

    1. In regard to sending push notifications, you can do this programmatically using the Telerik Platform REST API, JavaScript SDK, or .NET SDK.  You may also want to read the documentation article about the server push notifications configuration in regard to security.

    2. My understanding is that you would like to read data from an SQL database. Usually you need to expose the SQL database via secure web services and use them to access the data either from the mobile app or from a server application.

    You can use the integrated solution in Telerik Platform for exposing SQL data by installing a Data Connector in your infrastructure. After that you can quickly expose the database tables and stored procedures through HTTP endpoints. You can use Data Connectors with the Telerik Platform Enterprise subscription.

    Another approach might be to build your own web services (for example, WebAPI for .NET or Spring for Java) that are able to expose the data to the mobile app via web/REST services interface.


    On a side note, I am not familiar with the requirements of your app but also an appropriate idea might be to make a server application that reads from the database and sends a notification via the notifications API of Telerik Platform.

    Regards,
    Anton Dobrev
    Telerik
     
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
     
Back to Top