Last post Jan 09, 2020 07:28 AM by Yongqing Yu
Jan 08, 2020 01:16 PM|hocamahdi99|LINK
How can i notify to the client (android or ios) where there is something changes on database from web api (server), what should i use,
so example there is new data addedd on database (server) then server notify the client like give notification, is it possible to use asp net web api
i hope you can share your idea.
Jan 08, 2020 01:47 PM|mgebhard|LINK
I assume you looking for Push Notifications.
Jan 09, 2020 07:28 AM|Yongqing Yu|LINK
According to your description, do you want to crud the database through webapi, and after each operation is completed, the success or failure information will be returned to the client, right?
If so, you can determine whether the current operation is successful in the webapi method, and get the returned information from the success method in the ajax in the foreground to display the information.
Heere is a case you can refer to：
Inserting ASP.NET Form Data Into Database Using Web API