Skip to content
Discussion options

You must be logged in to vote

Why are you calling services.AddImageSharp() twice?

I would do 2 things.

  1. compare your configuration to that in the unit test in this repository.
  2. Ensure that Umbraco is not configuring the middleware. (Likely since they use it out of the box)

Tbh you should be asking all this in the Umbraco forums given that they customise configuration.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@huzzi
Comment options

@JimBobSquarePants
Comment options

@huzzi
Comment options

@JimBobSquarePants
Comment options

Answer selected by huzzi
@ronaldbarendse
Comment options

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