AddClientCertificate() on Connection not found in signalr 1.1 beta. Downloaded and installed nuget package to solution using the below command
PM> Install-Package Microsoft.AspNet.SignalR -Pre
The signalr client.dll details are as below
Microsoft.AspNet.SignalR.Client(16757...)
File Version 1.1.20410.0
Product Version 1.1.0-beta1.
Unable to locate connection.AddClientCertificate() method
Please help where to download the latest signalr 1.1 beta version that has AddClientCertificate method on hub connection?
Thanks in advance.
Priya
You're installing the wrong package:
Install-Package Microsoft.AspNet.SignalR.Client -Pre
I'm not seeing this either. I'm using SignalR 1.1.0 released with Visual Studio 2010. I just searched throughout the entire list in the Object Browser. I can't find anything under Microsoft.AspNet.SignalR.Client
Related
Please help me with the Twilio package installation in Visual Studio. I get the following error message when I try to install through NuGet manager.
Attempting to resolve dependency 'JWT (≥ 1.3.4)'. 'Twilio' already has
a dependency defined for 'Microsoft.IdentityModel.Tokens'.
thanks to all am ok now I updated the nuget manager to the latest version
I have this problem in my web service:
Specified Web Pages version “3.0.0.0” could not be found. Update your
web.config to specify a different version. Current version: “2.0.0.0”
Install Microsoft.AspNet.WebPages nuget package by entering this line in package manager console:
Install-Package Microsoft.AspNet.WebPages -Version 3.0.0
Or find and install it using Nuget Package Manager.
Go to the Nuget Package Manager in Visual Studio Code. Search for Microsoft.AspNet.WebPages and update this package if you already have the latest one the you should try to downgrade one version previous.
Or
You can run the below command in Package Manager Console in Visual Studio:
Install-Package Microsoft.AspNet.WebPages
This will resolve the issue.
I've installed SignalR.Core and it says the following...
Package 'Microsoft.AspNet.SignalR.Core 2.2.2' was restored using
'.NETFramework,Version=v4.6.1' instead of the project target framework
'.NETCoreApp,Version=v2.0'. This package may not be fully compatible
with your project.
Why would a "Core" version of SignalR be incompatible with .net Core?
That's not the Core version of SignalR, that's the core package of the "classic" version.
SignalR was rewritten from scrach for .NET Core. The first alpha version was released on September 2017 as Microsoft.AspNetCore.SignalR. The latest version is 1.0.0 Alpha 2, released on October.
As the blog post explains, this is a significant redesign. You'll have to experiment with the new SignalR to see how the changes affect your application
You should probably track the Github repository and check this video that explains why SignalR was redesigned
I was having the same problem, I solved installing Microsoft.EntityFrameworkCore before Microsoft.AspNetCore.Identity
PM> Install-Package Microsoft.EntityFrameworkCore -Version 2.2.2
PM> Install-Package Microsoft.AspNetCore.Identity -Version 2.2.0
You can omit -Version to get latest stable version of the Package.
I'm a newbie and creating an ASP.Net empty web application (C#) project. But I got this error when installing nuget package Microsoft.AspNet.Identity.Owin -Version 2.1.0.
I don't know what's seemed to be the problem bcoz I'm using the newer version VS 2012 .Net Framework 4.5 and not VS 2010.
Tried install and uninstalling nuget packages but to no avail.
Error result:
Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
Uninstalling 'Microsoft.AspNet.Identity.Core 2.1.0'.
Successfully uninstalled 'Microsoft.AspNet.Identity.Core 2.1.0'.
Install failed. Rolling back...
Install-Package : Failed to add reference to 'Microsoft.AspNet.Identity.Core'.
At line:1 char:16
+ Install-Package <<<< Microsoft.AspNet.Identity.Owin -Version 2.1.0
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
What's seemed to be the problem?
N.B: For reasons unknown, I had the same problem with installing nuget Package EntityFramework Version 6.1.1 but managed to resolve it by adding package.config file to the project.
Many thanks indeed.
I'd the same problem as did you,I don't know what was wrong.I created a couple of projects to check it and nothing worked, I thought the issue was with my frame work as It targets only above 4.0 and VS 12 and above. But that wasn't the problem.
After some time I tried to install them again and out of the blue I don't know How they just got installed. I will suggest to restart the VS or system that might be helpful
Starting Visual Studio as Administrator in combination with using the Package Manager Console seems to help.
I believe that you have to change the package source in the Package Manager Console, then you can type your command. I faced the same problem, and I wondered why I can't install the package by typing the command.
I need to install signalr package in my web matrix website .but when I use Nuget to add signalr to my project get an error signalr version 2 need .net framework 4.5 but as I know webmatrix only support .net framework 4 .How can I install older version of signalr with Nuget?
you can use the following command : Install-Package Microsoft.AspNet.SignalR -Version 1.2.0
Substitute version for the version of signalR you require, see down here the viable versions