Skip to content

Using Singleton then create a new instance of HttpClient #188

Discussion options

You must be logged in to vote

The samples are intended to be a fully usable sample that is separate from using the asp.net dependency injection framework.

If you have a singleton defined in startup.cs, you should be able to just request an IFileMakerApiClient from the di container and use it directly.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jakSolutionsGithub
Comment options

@fuzzzerd
Comment options

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