Click here to Skip to main content
15,512,419 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to implement push technology in my application. I need to display data on the web page as it gets inserted in the database in real time. I am using ASP.NET MVC with IBM Informix as backend database. I am trying to figure out if it is possible to use signalr with Informix? Does SirnalR have any dependency on the backend database? Or could it be used with any database?

What I have tried:

I don't know if this has any basis but someone told me that there is a service that is run by the backend database which sends a signal whenever there is a new record in the table and this service is probably not a feature of IBM informix.
Posted
Updated 12-Feb-17 22:01pm

1 solution

Signal R[^] is just used for Real time communication between Server (ASP.NET) and Client(Web Browser). It has nothing to do with the database.
You can use any Database engine as backend.
 
Share this answer
 
Comments
jim rock 13-Feb-17 3:51am    
@karthik I understand that SignalR is just used for real time communication between server and client browser but then how would my application know whenever there is a new entry in the database? Currently there is a java service that writes data to my table. How would my MVC application know when there is new record in the database?
Karthik_Mahalingam 13-Feb-17 4:06am    
Hi Jim
if you are using SQL Server, we have SQLDependency class for monitoring the data changes in DB.
check the below links
https://www.codeproject.com/Articles/12335/Using-SqlDependency-for-data-change-events
http://stackoverflow.com/a/2520790/1147428

you need to explore the same for the database which you are using.

jim rock 13-Feb-17 4:24am    
As I have mentioned in my question, I am not using ms sql server. I am using informix. And I have not been able to find anything on signalr with informix.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900