pforsthoff
pforsthoff

Reputation: 532

Has anyone managed to get ASPNET Core working with Signal R?

I have followed the example in this article which based on the feedback was working at one point but newer builds seem to have broke.

https://radu-matei.github.io/blog/aspnet-core-mvc-signalr/

Any assistance would be great.

Update 1

To clarify, I can get the controller to call the method on the view (addpost) but the parameter doesnt seem to be passing, for this example the addpost(post) method gets called but nothing is being passed in the Post variable.

 function addPost(post) {
        $("#postsList").append(
                '<li><b>' + post.userName + '</b><br>' + post.text + '</li><br>'
             );
    }

Upvotes: 1

Views: 273

Answers (1)

Pawel
Pawel

Reputation: 31620

SignalR for ASP.Net Core is being rewritten from ground. The packages from the post are no longer maintained. You can find new SignalR - including samples - in this repo. Keep in mind this is a pretty much work in progress and code is rapidly evolving. I wrote a couple of posts about the new SignalR which also might be helpful. You can find them here:

Upvotes: 1

Related Questions