how to implement facebook realtime notification using c# [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to implement a notification feature i.e. user gets notification just like facebook when database is updated. I want to implement this feature in c#, can anyone help me out?
Thanks

You can use SignalR for real-time web features.
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.

Related

Web / Browser push notification from web to mobile device (cross platform) using azure [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I have a website which is hosted on Azure. I would like to "Web push notification" or "Browser push notification" from web to all mobile device (cross platforms). I don't have a mobile app, just a website. So what I want is if a customer agrees to allow notifications on his device then it should show on it even while device is locked.
This website described full functional view of requirement: https://www1.vizury.com/web-push-notifications-defined
But this is paid service and I have already azure subscription so i would like to use azure notification hub and want to build this functionality.
Application : Asp.net MVC + Azure Hosting ,
Requirement: notification from web browser to mobile device without mobile app, if possible using azure notification hub
If any one know about this type of requirement solution please provide me a way to implement it.
There are several techniques that do the job, I would suggest Web Sockets as it turned out to be the most performant solution, at least in my case.
There's also a framework for ASP.NET called SignalR that transparently encapsulates some of the most common techniques like Web Sockets, Server-Sent Events (SSE) and Long Polling, so that you don't have to deal with fallback mechanisms yourself. Have a look here: https://www.asp.net/signalr

Where does the name SignalR come from? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Neither wikipedia nor the SignalR homepage explain its name.
Perhaps you know where it comes from?
What is Signal R
Signals are used for communication (e.g. analog and digital). R stands
for real-time. Real-time web refers the ability to have server code
push content to the connected clients instantly. Signal R in short
refers to Real-time application communication
From Signal R - A Real-Time Application
The closest to anything official I can find is on the github which states:
ASP.NET SignalR
Async signaling library for .NET to help build
real-time, multi-user interactive web applications
(Emphasis mine)
The main site says, "real time" numerous times in the opening paragraph, but comes short of saying R == RealTime:
What is SignalR?
ASP.NET SignalR is a library for ASP.NET developers that simplifies
the process of adding real-time web functionality to applications.
Real-time web functionality is the ability to have server code push
content to connected clients instantly as it becomes available, rather
than having the server wait for a client to request new data.
There's plenty of other anecdotal mentions on the blogsphere, e.g. Overview of SignalR.
I have also asked for confirmation on the SignalR teams JabbR.

What pattern/technique do I use for a reactive MVC Razor interface [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
On a whim I wrote the UI for my latest desktop app as an MVC ASP application running on IIS.
It looks really nice.
The application has a button that starts a process that permanently reads a UDP port. The I want the UI to become active and for data to be shown on the UI
In ASP this seem to be a lot more involved than the WinForms way of a background process and updating a form control.
I have considered polling from the UI but that doesn't feel right.
How do I return to the UI so I can (for example) press a stop button?
What technique should I use to push arriving data to the UI?
You should Learn About ASP.NET 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.

How to create chat functionality in ASP.NET 4.0 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to develop 1 chat functionality in my ASP.NET website, I have 1 Registered_User.aspx page and here in this page I want to show all the registered users with online and offline mode, after that when I select the online user for chat one message should be delivered to that user in the form of Accept/Decline and if user accept the chat then chat will be start otherwise chat will be decline.
You can implement everything you want just by using SignalR which is a new library for ASP.NET developers that makes it incredibly simple to add real-time web functionality to your applications. What is "real-time web" functionality? It's the ability to have your server-side code push content to the connected clients as it happens, in real-time.
You'll find a tutorial for Getting Started with SignalR 2
For your purpose you can establish a temporal connection perhaps by notification then establish the persistent one.

what i need to study befor programming Chat? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 months ago.
Improve this question
what do I need to study before programming a windows chat application in C#?? Moreover, can you recommended me books names or tutorials links about this topic??
You'll need to understand interprocess communication if you want to make a "chat" application.
Typically, in C#, this is currently handled via Windows Communication Foundation. That would be a good place to start.
It depends on the specific requirements for your chat program. Is your application going to be web-based (runs in the browser) or will people need to download a program for it to work? Will communication be handled directly from one computer to another (peer-to-peer), or will there be a central server that handles communication? Will there be "chat rooms" where more than two people are chatting together at once? Will chat conversations be encrypted for privacy? Will chat conversations be saved?
Depending on your answers to these questions, you may want to look into:
Windows Communication Foundation
Asp.net MVC
SQL Server
Entity Framework or LINQ to SQL
Interprocess communication
AJAX
JSONP
Windows Presentation Foundation or Windows Forms
... and possibly others as well.
If you don't know where you're going, any road will get you there. -- The Cheshire Cat

Categories