This is a migrated thread and some comments may be shown as answers.

read from sqlserver and send push notification

1 Answer 216 Views
Push Notifications
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Imran
Top achievements
Rank 1
Imran asked on 07 Jan 2016, 09:24 AM

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.

 

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 08 Jan 2016, 06:24 PM
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.
 
Tags
Push Notifications
Asked by
Imran
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or