Thinktecture.IdentityManager is unselected in nuget. Is still for use? - thinktecture

https://www.nuget.org/packages/Thinktecture.IdentityManager/
The owner has unlisted this package. This could mean that the package
is deprecated or shouldn't be used anymore.
Why is unselected? Is it no more in use? How can I now use IdentityManager with Thinktecture Identityserver3?

Looks like that was a beta3 version that has been unlisted in favour of beta 5-4:
https://www.nuget.org/packages/IdentityManager/1.0.0-beta5-4
I too will have to update...
Not sure why they removed 'Thinktecture' from the package name (now it is just IdentityManager)

Related

Any API works like Microsoft.Azure.NotificationHubs and can be used in .NETFramework 4.5.2 project?

I plan to use the Microsoft.Azure.NotificationHubs to push notification through Azure notification hub in backend service of an existed project. However, I found that the project is using .NETFramework 4.5.2. As the document stated, the SDK has dependecy to .NETFramework 4.6.1 or higher.
Since the existed project is already developed well and problems could appear if I upgrade. Any other solutions please?
Due to you don't want to upgrade to .Net Framework 4.6.1 or higher. You can use REST API, create HttpClient in your existed project to send Http Request.
(notificationhubs)REST API methods
You can use HttpHelper in my sample code.

SwiftPM package discovery tool

What is a good way to discover available Swift Packages that work with Swift Package Manager and that I can import in my own Swift package?
https://swiftmodules.com/ seems to be down and IBM deprecated Swift Package Catalog (https://developer.ibm.com/swift/2017/12/07/package-catalog-sandbox-deprecation/)
Is there something like https://www.npmjs.com/ for SwiftPM?
There isn't at the moment.. IBM had one up for a while but that died down.. It appears that for now, SPM won't have the same sort of relationship as "NPM" (node package manager) does with modules.
It looks like SwiftPM has been registered at https://libraries.io. https://libraries.io/swiftpm
I received a reply on swift.org forum; sharing it here to spread the knowledge in case others are looking for more info on SwiftPM tools.
The link to the original source:
https://forums.swift.org/t/swiftpm-package-discovery-tool-website/18392
The link to the github project:
https://github.com/Ether-CLI/Ether

Adding a package with pre-release dependencies

Using LINQPad I've added a private feed to Visual Studio Team Services. However one of my packages requires a pre-release package: Quartz.Net in my case. I've ticked Include Prerelease but I think it's getting confused and trying to load the package from my private feed rather than NuGet.
I've tried to work around the issue by loading the package into the local package cache. LINQPad doesn't seem to consider this. Other than uploading these packages into my own private feed, what options do I have? I'm not going to alter my own packages to get around LINQPad's shortcomings.
Note: I've setup the VSTS feed according this question.
Here is what my NuGet feeds look like in LINQPad
Changing the package to pre-release fixes this issue, and add the pre-release packages dependencies to my own feed.
Now LINQPad attempts to add the package. Mind you I now get another error;
"There are no usable .NET assemblies in package
'MyPackage.Common(Prerelease)'
That's down to NET Standard & NET47 support.

Getting Realm Version in Code

Two part question:
How does one get the currently installed version of Realm in code? Swift 3, macOS. I was unable to location any Realm.version property - perhaps I overlooked it.
In a related question
What is the solution to upgrade Realm to the latest version within a project? After updating CocoaPods to the latest, and refreshing, pod install doesn't appear to update Realm. I have 2.0.3 installed and 2.2.0 is available.
If you're embedding Realm Swift as a dynamic framework directly, the version number is contained in the framework's info.plist file. It should be possible to access the plist during runtime; there's a few answers on SO discussing this.
Since CocoaPods creates dynamic frameworks for Swift, the above approach of accessing the info plists should work, but if it doesn't there might be other ways to access versions of pods.
In any case, I would definitely recommend you review why you're wanting to check the version numbers of your libraries. It's better practice to check a framework's capabilities at runtime (eg, testing a class you need exists etc) than to directly use the version number.
For your second question, you need to run pod update RealmSwift to get CocoaPods to check for an updated version of Realm.

ReactiveValidatedObject missing in ReactiveUI 5.0.2

I just start learn ReactiveUI from https://github.com/reactiveui/ReactiveUI.Samples/blob/master/ReactiveUI_4Only.Samples.sln.
I download lastest version via nuget but I cant find class ReactiveValidatedObject in ReactiveUI a check also ReactiveUI.Legacy.
This was removed in anticipation for a new validation framework that didn't actually make it in for 5.0. Copy-paste this file in to get it back.