Send notification on asp.net - asp.net-mvc

I use ASP.Net MVC 5 and kendo-ui in my project and i want to create a feature that enable me to send a notification to all users from server so can anyone tell me an architecture, pattern or technology should i use ?
or any recommendation for tutorial

It seems that you want something like broadcast to available clients.
You can use SignalR.
Nice tutorial is available at SignalR with asp.net mvc
you can use for more info about SignalR
you have google for more info on signalr.
I hope this helps.

Related

What is the use of WebAPI checkbox in ASP.NET MVC?

I am trying to create an ASP.NET MVC web application,I'm trying to understand what is the use of the check mark "WebAPI" ,I don't seem to find any different selecting or unselecting this while creating the project,can anyone throw some light?
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework. Web API: Guidance.
You can take knowledge from this video. Thanks

JTAPI (Avaya) with MVC

I was wondering if somebody could answer my questions as I have not used JTAPI before.
I am working on a project where the requirement is to click a link on the MVC website and integrate the call to AVAYA phone (i.e. make phone call using handset via the website)
I have also looked at the Microsoft TAPI but looks like there is no integration with Avaya available with TAPI.
Does anybody know how can I use JTAPI with .Net MVC ? I was assuming it would be an API which I can call from my website but it looks more complicated then it sounds.
Please suggest :)
You may use Avaya DMCC. It has an implementation for .NET
But beware the Avaya licensing policy! DMCC may require extra licenses.
To use JTAPI from ASP.NET you have to use Java classes from .NET
Can you use Java libraries in a VB.net program?
http://www.codeproject.com/Articles/13549/Using-Java-Classes-in-your-NET-Application
I would suggest create an Applet in JTAPI and then integrate in any webapplication whether php,.net I recently did the same thing for my PHP web application.
As #Krishna said with an Applet you could designe your soluciĆ³n, designe that i used to do... Buut now and Day Applets have less support over browsers and they have be come a problem than a solution. The way that i found to solve this issue was use HTML5 with Websocket. In this way i create a Windows Service or daemon (for Linux) to handle JTapi session and create a websocket server Layer, and implement the websocket to create the view int he Asp.net view.
Avaya AES does expose a basic web api providing some basic functionalities which you can call directly from your MVC application, but if you need something more advance, then arguably the best solution would be to build a small Java servlet which you will host on something like Tomcat or JBoss which will expose a SOAP or REST API, which you can call from your MVC app.

Asp.Net MVC and HTML5 PUSH notification

I would like to have server side event in a full HTML5 application.
Server side I've an asp.net MVC3 web server, which gives HTML pages and JSON results.
What is the best way to integrate some server event? Like a process which can send some text message to client?
I've made some search and found something about a Asp.Net web api, but I don't know what it is and if I can use it with MVC.
You should have a look at http://signalr.net/ library. This blog post is also very informative.
SignalR looks very interesting, but maybe more than you really need. I've often wondered why people don't use Server-Sent Events more often, I haven't had the chance, but it looks like the simplest way of implementing.
Here is an example in MVC if you want to review: http://blogs.microsoft.co.il/blogs/gilf/archive/2012/04/10/using-html5-server-sent-events-with-json-and-asp-net-mvc.aspx

How can I integrate "chat" into an ASP.NET MVC site?

I'd like to integrate chat into my site and am open to a solution like this site's, but am open to others if they exist.
What chat sites do you know of that can integrate into an MVC site?
I have used both the WebSync JavaScript and Silverlight API's.
In your case you could use the JavaScript API from an MVC app.
Creating chat with WebSync is really easy and works very well. WebSync is a highly scalable HTTP Comet/Reverse Ajax server. They even offer a offer a hosted service. It has a cost if you need to support more than 10 concurrent users.
Here's one project on CodePlex you might take a look at.

Windows Live ID in ASP.NET MVC

does anyone know is there a way to implement Windows Live ID authentication into your ASP.NET MVC site. There is some info about OpenID implementations and it uses some libraries.
So is there a way to implement Live ID or it is not yet supported.
Thank you
The same way you would with Memberships:
http://www.eggheadcafe.com/tutorials/aspnet/48857836-0c72-4efb-9d29-fbcb8e17ef3a/integrate-windows-live-id.aspx
Actually this is a valid business case, and I've gotten it to work with asp.net mvc. I used the sdk sample code a posted by Filip and created a controller that handled auth response. The only issue I had was during the windows live app verification process. I couldn't get the verification process to work with the mvc site up. I had to do the verification before I upload site. See: link text
Newer information at
It's pretty independent of mvc or webforms I think.
Windows Live Messenger Connect Developer Guide
http://msdn.microsoft.com/en-us/library/hh243641.aspx

Resources