Skip to content

Rename PhysicalFileSystemProvider to WebRootImageProvider #204

Discussion options

You must be logged in to vote

Yeah.... The current implementation isn't pretty and we should fix it while we can.

I actually think we should do the opposite and simply mirror the PhysicalFileSystemCache. We can provide options containing a ProviderRootPath property and default to the IWebHostEnvironment.WebRootPath if not set. (I'd probably rename PhysicalFileSystemCacheOptions.CacheRoot to CacheRootPath also.)

I'm loath to introduce additional base classes. It's an additional opportunity for me to miss something important which makes them unusable.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@deanmarcussen
Comment options

Answer selected by JimBobSquarePants
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants