Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

SignalR Issue #5106


User avatar
0
pankajmathur created

Hi,

I am using

  1. ASPNetZero 4.5 (MVC with Jquery)
  2. ABP 3.6.1
  3. .Net Core 2.0

I was following this document to implement SignalR <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/SignalR-AspNetCore-Integration">https://aspnetboilerplate.com/Pages/Doc ... ntegration</a>

Following the above document section "Client-Side (jQuery)", When I install the package "Abp.Web.Resources", it does not copy the following file "~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.signalr-client.js"

What I noticed: In the Web Project Dependencies, I see the attached error (See the attachment). The error message in the attachment is : "Package Abp.Web.Resources 3.6.1" was restored using '.NETPortable, version=v4.0, Profile=Profile259, .NetFramework, Version=4.6.1' instead of the project target '.NetCoreApp, Version=v2.0'. This package may not be fully compatible with your project.

My question is Can I even use the signalR in the project template that I have downloaded? If yes, what is the way to proceed?

Regards, Mahendra


3 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    My question is Can I even use the signalR in the project template that I have downloaded?

    Yes.

    If yes, what is the way to proceed?

    For .NET Core with jQuery, you can copy the file manually: Abp.Web.Resources/Abp/Framework/scripts/libs/abp.signalr-client.js

  • User Avatar
    0
    pankajmathur created

    Is Abp.Owin 3.6.1 supports .NetCore 2.0 yet?

    Because when I add the Package ABP.Owin, it restored using .Net Framework 4.6.1?

  • User Avatar
    0
    aaron created
    Support Team

    SignalR for ASP.NET Core doesn't need Owin.