locked
SignalR Core in ASP MVC? RRS feed

  • Question

  • User-350370479 posted

    Hi

    Hi, is it possible to use SignalR Core in an ASP MVC 5 project?
     
    How should it be initialized?
    PD: I have a web application developed in asp mvc 5 and converting to asp mvc core would take a long time, is the reason for my question
    Tks!
    Wednesday, January 22, 2020 4:21 PM

All replies

  • Wednesday, January 22, 2020 7:24 PM
  • User-350370479 posted

    thanks for answering, but I know that document and it shows how to use signalr with asp mvc web project

    What I want to do is use microsoft.aspnetcore.signalr in a project other than aspnet core mvc, do you understand?

    tks

    Wednesday, January 22, 2020 9:54 PM
  • User475983607 posted

    thanks for answering, but I know that document and it shows how to use signalr with asp mvc web project

    What I want to do is use microsoft.aspnetcore.signalr in a project other than aspnet core mvc, do you understand?

    Confused... the link targets ASP.NET not Core.  There's even a warning at the top of the doc.  Did you read the the link?

     Warning

    This documentation isn't for the latest version of SignalR. 

    Wednesday, January 22, 2020 10:02 PM
  • User-350370479 posted

    The link for SingnalR Core is:

    https://docs.microsoft.com/en-us/aspnet/core/signalr/introduction?view=aspnetcore-3.1

    But it does not explain if it is possible to implement it in ASP.NET MVC 5 project only in ASP NET Core MVC

    I want to avoid having to convert my web project to aso net core in order to use signalr core.

    Wednesday, January 22, 2020 10:08 PM
  • User475983607 posted

    Pablo Marzullo

    The link for SingnalR Core is:

    https://docs.microsoft.com/en-us/aspnet/core/signalr/introduction?view=aspnetcore-3.1

    But it does not explain if it is possible to implement it in ASP.NET MVC 5 project only in ASP NET Core MVC

    I want to avoid having to convert my web project to aso net core in order to use signalr core.

    I posted this link!

    https://docs.microsoft.com/en-us/aspnet/signalr/overview/getting-started/tutorial-getting-started-with-signalr

    I'm guessing you clicked the ASP.NET Core link for some unknown reason.  Just read the doc dude!  Keep in mind, ASP.NET Core is the latest tech and you specifically asked for the old tech.

    Wednesday, January 22, 2020 10:32 PM
  • User-350370479 posted

    maybe I don't know how to explain myself, I want to use microsoft.aspnetcore.signalr in an asp.net mvc 5 project -> is it possible?

    Thursday, January 23, 2020 12:13 AM
  • User283571144 posted

    Hi Pablo Marzullo,

    As far as I know, it's impossible to directly use use microsoft.aspnetcore.signalr 3.1 in an asp.net mvc 5 project, if you want to use signlar in the asp.net MVC 5 project, you could try Microsoft.AspNet.SignalR.

    Best Regards,

    Brando

    Thursday, January 23, 2020 2:15 AM
  • User-350370479 posted

    thank you very much for the answer, it's clear now

    Tks

    Thursday, January 23, 2020 3:15 AM