AzureSignalR-samples icon indicating copy to clipboard operation
AzureSignalR-samples copied to clipboard

unable to install Microsoft.Azure.SignalR.AspNet in 4.6.1 in Asp.net Mvc and access from client side

Open ramjbe27 opened this issue 6 years ago • 3 comments

When i tried to install Microsoft.Azure.SignalR.AspNet in 4.6.1 in Asp.net Mvc project , it throws an error as attached in the screenshot and also could you suggest how to access from the client side . signalr error

ramjbe27 avatar Nov 12 '18 17:11 ramjbe27

Please use the package for ASP.NET: https://github.com/aspnet/AzureSignalR-samples/blob/master/aspnet-samples/ChatRoom/README.md#update-chat-room-to-use-azure-signalr-service

Install-Package Microsoft.Azure.SignalR.AspNet -Prerelease

vicancy avatar Jan 11 '19 07:01 vicancy

Please upgrade your project version to latest .NET framework (preferably 4.7.2) and you can see things starts falling in place when you try to install Microsoft.Azure.SignalR.AspNet from NuGet.

Hi @ravisankarchalamalasetty What is the error you are seeing? Would you mind sharing your repro steps?

I tried upgrading the ASP.NET ChatSample to net472, it first reports System.IO.FileNotFoundException: 'Could not load file or assembly 'System.ValueTuple, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.', and then I removed the redirection https://github.com/aspnet/AzureSignalR-samples/blob/master/aspnet-samples/ChatRoom/Web.config#L70 from Web.config, it then works well.

PR here

vicancy avatar Dec 24 '20 02:12 vicancy