'IServiceCollection' does not contain a definition for 'BindConfig' and no accessible extension method 'BindConfig' - itfoxtec-identity-saml2

Please provide the steps to resolve the BindConfig error for ITfoxTec.
I have checked this link but not able to understand the solution for this issue.
ITfoxtec BindCOnfig error - please see image

The BindConfig functionality is currently only release in beta versions, I'm afraid. It will soon be released in a final release.
At this time you can safely use version 4.8.3-beta4.

Related

How do I set my elm package as deprecated?

I would like to know, if there is anyway to mark my elm package as deprecated. I did some search on elm discourse and there was a solution proposed to package deprecations using #deprecated flag.
Is that proposed solution implemented? Is there any new way to do that?
I don't think there is a way as such. You can add a warning to your docs, and note that Elm's semver will ensure that your package does not get offered to anyone once it falls behind what people are using.
Here is the top of one of my packages - you could add something on line 2 of the comment for example

babel-node error 'Reference error: window is not defined'

I was given the task to implement server-side rendering for a react application. I've followed the this tutorial: https://scotch.io/tutorials/react-on-the-server-for-beginners-build-a-universal-react-and-node-app and, afterwards, followed the exact steps on the actual application. Everything worked well with implementing the client-side rendering, but as soon as I continued with the server-side one, I got the following error: 'Reference error: window is not defined'
The problem is that the application uses scrollmagic, which is a client-side-only library (note: I added conditionals 'require' to any scrollmagic references in the code itself, but I can't find a way to bypass the module).
I thought about adding the scrollmagic library on the client-side, but as soon as I remove it I get an error from the 'require' statements.
I apologize if this is something obvious but I am new to JavaScript and have been searching for a couple of days and found nothing so far. If I can provide any additional information please let me know! Also, if you have any suggestions as to how I should handle this, I am all ears!
Best regards,
Andrew
The window object is a property of the browser/client, so you will not have access to it when executing javascript on the server. A library such as: https://www.npmjs.com/package/window-or-global can help, as well as adding conditional logic to check for the window object before executing code that depends on it.
In addition to the suggestion by #sconway to manually check for the presence of window when calling these client-side methods another method I have used in the past is to put that code in componentDidUpdate life-cycle method.
This method is guaranteed to not be called on the server, only on the client.

BeizerSQL library removed in processing?

I just started learning sqlite and wanted to use it in processing but when I try to downloadthe library it says 'version 0.2.2 not compatable'. Is it removed? I really want to use it. Is there any way? Thanks in advance.
That means the library has not been updated to work with Processing 3. You can still use the library, you just have to use Processing 2.2.1, which you can still get from the download page.
It might be the case that the library still works but its meta data just hasn't been updated. If that's the case, you can still use the library with Processing 3 by installing it manually.

Why Nancy is not automatically registering the DefaultFluentAdapter to IFluentAdapterFactory?

This is more a "Why should I?" than an actual issue.
I've decided to integrate FluentValidation as stated in NancyFX docs
NancyFX FluentValidation Integration
The docs state that nothing else needs to be done. So I installed the package from NuGet as this
Install-Package Nancy.Validation.FluentValidation -Version 1.4.1
And then updated the root validator that comes referenced with the Nancy.Validation.Fluentvalidation
https://www.nuget.org/packages/FluentValidation/
I created a simple validator pretty similar to docs just to test it out.
And when running this sentence in a NancyModule
this.Validate(user);
I get an error like this
An exception of type 'Nancy.Validation.ModelValidationException
No model validator factory could be located. Please ensure that you have an appropriate validation package installed
So... after digging up a little bit I just told myself, ok, if the factory is not found, maybe no one (TinyIoC) is resolving IFluentAdapterFactory dependency that I assumed that was missing. So I found that actually there is an implementation for the adapter factory that's built-in the package, and thats the DefaultFluentAdapterFactory
So wiring this in the bootstraper solves it.
container.Register(typeof (IFluentAdapterFactory), typeof (DefaultFluentAdapterFactory));
Is it supposed to be automatically discovered?
Or may I be doing something wrong to get it Not-Set by default?
Thanks in advance!

appengine cloud storage compile error in demo project

Following https://cloud.google.com/appengine/docs/go/googlecloudstorageclient/getstarted
fails when deploying
goapp deploy -oauth
with
app.go:78: cannot use google.AppEngineContext(c) (type "golang.org/x/oauth2".Option) as type "github.com/golang/oauth2".Option in function argument
I'm able to get the demo project to run by altering the import lines 33-34 in google.golang.org/cloud/examples/storage/appengine/app.go from
"github.com/golang/oauth2"
"github.com/golang/oauth2/google"
to
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
Most importantly, is this the right way to "fix" this (and should the demo project be / or have been updated by google?)
And if anyone has insight, if you could provide some context as to why there are (as it appears to me) multiple ways to refer to the same package that would be great as well.
Yes, the go subrepositories have been moved to golang.org/x/...
See the announcement: https://groups.google.com/forum/#!msg/golang-nuts/eD8dh3T9yyA/l5Ail-xfMiAJ
The problem with identifying the canonical import path will be addressed in Go 1.4: https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs
It seems there is indeed a problem with the examples. The oauth library refers to the golang.org/x/... paths with the recent commit.

Resources