My .NET SignalR client code not working any more in Core 3 (WPF):
string hubAddress = "https://localhost:44329/Hub";
HubConnection hub = new HubConnectionBuilder().WithUrl(hubAddress).Build(); // WithUrl not found
MS document said it is there
Anyone know how to fix this?
Found a solution: make sure project referencing Microsoft.AspNetCore.SignalR.Client, but not Microsoft.AspNetCore.SignalR.Client.Core.
Remove the dependency Microsoft.AspNetCore.SignalR.Client.Core from your app and then add
Using Package Manager Console
Install-Package Microsoft.AspNetCore.SignalR.Client -Version 6.0.0
Using .Net CLI
dotnet add package Microsoft.AspNetCore.SignalR.Client --version 6.0.0
It will fix your issue
Related
Paytm gateway integration in react native
I'm using All-in-One SDK Integration for React Native platform
I also tried to upgrade the kotlin version
kotlinVersion = "1.4.10"
and
cd android && ./gradlew clean
I changed the kotline version:- 1.5.10 in
project/node_modules/paytm_allinone_react-native/android/gradle.properties
ArnPaytmAllinone_kotlinVersion=1.5.10
after clear the build and uninstall the project then reinstall
changed kotlin version to kotlinVersion = "1.5.31" in android/build.gradle
Note : If this error comes back, Uninstall app from emulator and build again or Delete this emulator and create new one and try.
Hope it will work!
I am using ABP framework 4.4.3.
Project successfully running via Visual Studio 2019. However While deploying Nuget restore throwing Error:
##[error]The nuget command failed with exit code(1) and error(NU1202: Package IdentityServer4 4.1.1 is not compatible with net50 (.NETFramework,Version=v5.0). Package IdentityServer4 4.1.1 supports: netcoreapp3.1 (.NETCoreApp,Version=v3.1)
The error is clear. But the issue is that ABP is using its package for Identity management, which I can not downgrade to ver 3 of dotnet core.
Stuck and need help
You may be using some additional parameters for restoring package that checks consistency between packages while restoration.
IdentityServer4 4.1.1 works fine on .Net5.
You can also create an issue at https://github.com/abpframework/abp/issues with providing steps to reproduce or a public repo.
Please what is the correct way to have this Running
i am trying to install this and get it running on windows using this documentation.
i have installed Meteor , and then navigated to the folder and typed meteor, as talked about from here and here
I am getting this as Error
run: You're not in a Meteor project directory.
To create a new Meteor project:
meteor create <project name>
For example:
meteor create myapp
For more help, see 'meteor --help'.
Please what am I not doing correctly.
If you want to use OHIF I suggest you upgrade to Version 3.
The setup is easier (with good documentation) and the code is more tidy: https://github.com/OHIF/Viewers
I would also suggest to use docker.
This project helped me a lot setting up my instance: https://github.com/trypag/ohif-orthanc-postgres-docker/blob/master/docker-compose.yml
I am new to IndentityServer and am trying to following the document to setup the Quickstart VS.Net solution on my Windows 10 desktop. After following instructions downloading and installing source code and opening up the solution in VS.Net 2017, I noticed that both NuGet dependencies - IdentityServer4 (4.0.0) and Serilog.AspNetCore (3.2.0) - are broken. Compiling the solution returns with an error: "NETSDK1045 The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 2.1 or lower, or use a version of the .NET SDK that supports .NET Core 3.1.". I also tried installing NuGet packages for those 2 components but it made no difference.
Could someone show me what I am missing here?
Thanks in advance!
IdentityServer4 v4.00 requires.NET Core 3.1, and because of that you need to use the latest Visual Studio 2019 and install the latest 3.1 SDKs.
I am working with asp.net core- Visual studio 2015.While accessing my sql database the following error occurs. "Please add the Entity.framework.SqlServerCompact NuGet package to the project". Please let me know how to resolve this issue. Thanks in advance.
Well with ASP.net Core everything is optional and as Nuget packages which means you have to bring them in your project if you want to use them.
If you want to add any Nuget package to your project you just need to open your project json file and add this line into dependencies:
Microsoft.EntityFrameworkCore.SqlServer
Or run npm install in your project directory:
Install-Package Microsoft.EntityFrameworkCore.SqlServer
Then locate your tools section in your project json and add this into it:
"Microsoft.EntityFrameworkCore.Tools.DotNet": "1.0.0-preview3-final"
If you had any problem with the version see if using this version is helping:
"Microsoft.EntityFrameworkCore.Tools.DotNet": "1.0.0-preview2-final"
Reason is this is a known issue you can find here:
https://github.com/dotnet/cli/issues/3742
Check the version in case has changed. For a more detailed instructions look here:
https://learn.microsoft.com/en-us/ef/core/get-started/aspnetcore/new-db