Real time notifications for chatting applications - c#

I am creating chatting web app. I implemented realtime functionality and typing indicator using pusher, but m unable to apply real time notification functionality.
please tell me how I can do that.
and is there any way to use bootstrap tickers for notifications ?

If you creating just simple web app, I advise to you to read about SignalR in ASP.NET. It is easy to use, and simple to control.
Also you can check out this url:The Simplest Thing Possible: Creating Push Notifications with SignalR
By the way, here the best example to create chat application using Pusher: Web PUSH Notifications быстро и просто ...but in Russian language))

Related

Laravel Send a Notification to C# Application

I am looking to create some sort of a function that would send Laravel notifications to C# application. The idea is that whenever a user purchases someone, an administrator is then notified by receiving a notification through a C# application that they would run on their PC. However, at the moment the only way I can think of is by creating a listening server in C# and then just send the data via sockets through PHP. Is there anything else that would be considered a better approach?
Kind Regards,
George
You can build an event-driven system. Your Laravel application will be producer which responsible for send events, and C# application will be consumer. There are lots of options to do it.
I would like to recommend AWS SQS. Also, you can easily create a Lambda, then you can add your newest queue as a trigger. When you do this, you will have a serverless architecture, and you won't worry about the scaling part, AWS handles these stuffs. Also, you can check this. It can be a good start point to meet serverless architecture.

Xamarin.Forms Notification Service for Android

I'm relatively new to Android app development and Xamarin.Forms development in general, so I'm looking for an advice on what is the best way to implement the following:
When active, my app downloads data using a simple REST appi service (I'm using a HttpClient for this). Now what I want is when the app is closed, to still check if some data is changed on the server, using the same method as it was used when the app is running, and if so, to fire up the notification to the user.
I've been reading about the services, and that seems like a solution to my problems, but what I need to know is: what kind of service is most suitable for this task? Is it a Bound service, Intent service or Started service? Or is there a way to achieve this without the use of the service?
azure notification hubs sends to apple and google play

Live Messenger app Windows Phone 8

I want to create an Instant Messaging app for Windows Phone.
I have found some information about Live SDK, but it looks like the messenger api is outdated?
Can anyone help me start? All I want to do at first is embed the IM.
A simple IM app where the user logs in with their Live ID, sees who already has the app (Live Contacts) and an IM-service with a UI like the SMS-service in windows phone.
Can anyone help me get started?
Firstly i hope i got your question right.
I have multiple lookouts for you:
XMPP (Jabber): start from there. It is fairly simple, and there are opensource clients out there where you can dismantle code and learn by understanding what others have done.
Check out the SignalR
ASP.NET SignalR is a new library for ASP.NET developers that makes it incredibly simple to add real-time web functionality to your applications. It's the ability to have your server-side code push content to the connected clients as it happens, in real-time.
You may have heard of WebSockets, a new HTML5 API that enables bi-directional communication between the browser and server. SignalR will use WebSockets under the covers when it's available, and gracefully fallback to other techniques and technologies when it isn't, while your application code stays the same.
SignalR also provides a very simple, high-level API for doing server to client RPC (call JavaScript functions in your clients' browsers from server-side .NET code) in your ASP.NET application, as well as adding useful hooks for connection management, e.g. connect/disconnect events, grouping connections, authorization.

What is the right method for a web chat application in c#

i'm trying to make a chat application using c# that connects to a web server in order to check if there are messages available.
I've tried that by creating HttpWebRequest to check for messages every second, but i notice that it's not good for the server, imagine if there are thousands of users and each user sends an HttpWebRequest every second, that would be heavy.
I heard something about synchronous connection but i think it also sends the same number of HttpWebRequest, (i'm not sure about this part).
So please does any one know the right method for a chat application?
Perhaps SignalR might be useful in your case.
ASP.NET SignalR 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.
Actually the most typical tutorial using this technology is web chat.
Use the Remoting.Net
see this :
http://www.codeproject.com/Articles/62813/NET-Remoting-Events-Explained
http://www.codeproject.com/Articles/12586/Remote-Execution-Using-NET-Remoting

How to create and use my own url(svc) for push notification in windows phone7?

Hi iam new to windows phone push notification services.
My problem is
i should write a wcf service
By using this wcf service url i need to push the notification using one web application
and finally on windows phone i need to show all the notifications posted to that svc url.
please help me
I just implemented something like you want to achieve by reading and implementing this tutorial http://create.msdn.com/en-US/education/quickstarts/push_notifications, however in this example it only implements a service that sends push notifications, toasts and tile updates to be clear, to everyone that is subscribed, I modified it to send to the users I want...
I hope you find it useful :)
It also shows the implementation on Azure and on WP7...

Categories