Last post Sep 26, 2016 01:48 AM by Deepak Panchal
Sep 25, 2016 10:33 AM|tareq.tareq|LINK
hi for all
i have website which recieve order for rent car
how can i shown number on order menu like face book message or friends request .
for example if customer send order then i will open my website i want notification on order menu with number 1
please help me
Sep 26, 2016 01:48 AM|Deepak Panchal|LINK
you can try to do something like ,
when customer book an order for a car the order details enter in the database in the Order table.
and when you open a site it will fetch the count of new orders and show you as notification.
and if you want to get notification continuously then you can try to fetch the count using Timer or using Threading.
The another option is to use SignalR.
ASP.NET SignalR is a new library for ASP.NET developers that makes developing real-time web functionality easy. SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes
available. SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers. SignalR includes APIs for connection management (for instance, connect and disconnect events), grouping connections, and authorization.
Learn About ASP.NET SignalR