Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SignalR in windows forms

Tags:

signalr

SignalR is very interesting and impressive in real time web applications. Now I am doing a simple chat applciation using windows forms.

Whenever, I use ".wait()", it threw an error 'one or more errors' and while invoke the message from text box, there is an error 'start must be call before send'.

I don't know where i made mistake. I tried many of the solutions. But it doesn't work. Everything is perfect in web and console applications.

Can anyone help me?
Can you give some examples with how it works...?
I couldn't see any samples of signalR in windows forms.

like image 716
user1865717 Avatar asked Nov 30 '12 09:11

user1865717


People also ask

Do people still use SignalR?

SignalR is relevant for now, it supports mobile devices, and many other things. SignalR is the same WebSocket but with many ready stuff. You can use raw WebSocket instead of it, but you will have to do many things to gain what you want. So SignalR is more easy to use.

What platform does SignalR client supports?

Windows Desktop and Silverlight Applications In addition to running in a web browser, SignalR can be hosted in standalone Windows client or Silverlight applications.

What is difference between SignalR and WebSocket?

WebSockets is actually the underlying transport that SignalR uses, at least most of the time. SignalR has the ability to fall back to other ways of transporting messages, such as long-polling over HTTP. This is useful in situations where you don't have WebSockets support.


1 Answers

Assuming you are trying to do a SignalR Client in Windows Forms Appliation then check this post(http://mscodingblog.blogspot.com/2012/12/testing-signalr-in-wpf-console-and.html) on how to do client side SignalR in WPF application in VB. With similar approach I guess you could make Signalr client working in Windows Forms Application.

like image 184
Mitul Avatar answered Oct 12 '22 16:10

Mitul