signalr.client

Cannot find the object “QueryNotificationErrorsQueue” because it does not exist or you do not have permissions

坚强是说给别人听的谎言 提交于 2019-12-28 06:55:28
问题 I am using SqlDependecy with signalR to push notifications to client browser when there is some database changes, I followed this and this post and everything works fine in local SqlExpress version 11.0 with Local Connection String , but i have some kind of permissions problem when i connect to remote database hosted in GoDaddy with Production Connection String Working Local ConnectionString <!--<add name="NotifyConnection" providerName="System.Data.SqlClient" connectionString= "Data Source=.

How to do guaranteed message delivery with java client SignalR?

五迷三道 提交于 2019-12-25 19:16:32
问题 I use SignalR on my Android app to exchange messages. Everything works fine, but I just do not know how to resend the message I sent when disconnected from the Internet when I connect to the Internet. please help me i I kept the messages in the list until after connect to internet they were sent back one by one, but this is a wrong way and it does not work. 回答1: You could store your messages in a database table. When a client is connected have messages delivered that are in the database. When

Can SignalR be used without a web browser client?

房东的猫 提交于 2019-12-24 05:19:21
问题 I'm working on a project to front an asynchronous process with a synchronous front-end to make the web call appear as synchronous, and am exploring the use of SignalR to tie it all together. We host a service with a WCF endpoint which is asynchronous, and that works for most of our clients. They send us data, and we process it, without them getting a response after that data is processed. Our environment is multi-tier, and asynchronous by design. There is a need, however, to host a

Using generic methods on SignalR Hub

孤街浪徒 提交于 2019-12-23 12:54:28
问题 I'm creating a Hub class for my SignalR server and wanted to use a generic method which will save me from tons of lines of code. But SignalR is giving me errors when I try to Invoke the server code below from a Xamarin.iOS client which also in C#. Server Code public List<T> SendDataToClient<T>() where T : BusinessEntityBase { return SomeDBManager.GetItems<T>(); } Client Code var list = await hubProxy.Invoke<List<Article>>("SendDataToClient"); Am I doing something wrong here or is it just

different connection in Browser multiple tabs

杀马特。学长 韩版系。学妹 提交于 2019-12-23 10:25:22
问题 Why SignalR is making different connection in browser multiple tabs for same logged-in user. Is there any way to make one connection for all tabs opened in same browser. From connection I mean connectionID of a user in SignalR. 回答1: Because different tabs of the same browser are different documents\"processes" - each tab in some sense represents different "instance" of client app. There is no way to share JavaScript objects between them directly (and thats the reason why SignalR opens new

Signalr Core for ASP.net core 2.0 not working no matter what i try

强颜欢笑 提交于 2019-12-23 01:58:27
问题 trying to follow microsoft's video w/ Mikael Mengistu, Jon Galloway, Maria Naggaga. https://channel9.msdn.com/Shows/Code-Conversations/Introduction-to-SignalR-Core-with-Mikael-Mengistu 0. here is what my machine looks like. dotnet --version 2.0.0-preview2-006497 runtime Microsoft .NET Core Shared Framework Host Version : 2.0.0-preview2-25407-01 Visual Studio 2017 15.3 MVC Web Project with Docker Support here is the code repo of my attempt. github.com/zhimaqiao1/SRcoreWorking the signalr

SignalR - Establishing Connection Taking quite a long time

萝らか妹 提交于 2019-12-22 12:22:20
问题 I have just started working with SignalR for realtime update. I need to perform some operation after the connection is established. so I have written that code in .done() method. The issue I am facing is : establishing connection takes some time and due to that I am not able to perform the operation which I am intended to. Following code snippet of my js. $(function () { // Proxy created on the fly projectHub = $.connection.projectHub; $.connection.hub.logging = true; // Start the connection

SignalR - Establishing Connection Taking quite a long time

徘徊边缘 提交于 2019-12-22 12:20:15
问题 I have just started working with SignalR for realtime update. I need to perform some operation after the connection is established. so I have written that code in .done() method. The issue I am facing is : establishing connection takes some time and due to that I am not able to perform the operation which I am intended to. Following code snippet of my js. $(function () { // Proxy created on the fly projectHub = $.connection.projectHub; $.connection.hub.logging = true; // Start the connection

SignalR .NET Client doesn't support WebSockets on Windows 7

这一生的挚爱 提交于 2019-12-21 12:57:09
问题 I've written a small echo-server (.net 4.5), console client (.net 4.5) and web client using SignalR and example presented here. Server is hosted in IIS8/Win8. Then I ran both clients on Win7. and I see that web client in Chrome uses webSockets, while console app client uses serverSentEvents. If I run console client on Win8, then webSockets transport is in use. Is it true that SignalR .NET client will use webSockets only on Win8 and higher? 回答1: It's correct: .NET client uses WebSockets only

SignalR .NET Client doesn't support WebSockets on Windows 7

女生的网名这么多〃 提交于 2019-12-21 12:57:02
问题 I've written a small echo-server (.net 4.5), console client (.net 4.5) and web client using SignalR and example presented here. Server is hosted in IIS8/Win8. Then I ran both clients on Win7. and I see that web client in Chrome uses webSockets, while console app client uses serverSentEvents. If I run console client on Win8, then webSockets transport is in use. Is it true that SignalR .NET client will use webSockets only on Win8 and higher? 回答1: It's correct: .NET client uses WebSockets only