Skip to content

OptionsValidationException: The 'Instance' option must be provided #24690

Answered by tidyui
eloekset asked this question in General
Discussion options

You must be logged in to vote

@eloekset Are you sure you’re using the latest version of the docs? Given that the example contains the following line:

.SetCompatibilityVersion(CompatibilityVersion.Version_2_1);

Is it really compatible with asp.net core 3.1? I know there were a couple of changes affecting startup configuration between 2.x and 3.x, especially regarding the order of how security components should be registered.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@eloekset
Comment options

@tidyui
Comment options

@eloekset
Comment options

Answer selected by eloekset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants