Rename PhysicalFileSystemProvider to WebRootImageProvider #204
-
The current I would suggest adding a (base?) class that accepts any The same is true for It's a bit different for @JimBobSquarePants Let me know what you think about these (breaking) changes. I'll be happy to create a PR for this 😃 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
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 I'm loath to introduce additional base classes. It's an additional opportunity for me to miss something important which makes them unusable. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
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 aProviderRootPath
property and default to theIWebHostEnvironment.WebRootPath
if not set. (I'd probably renamePhysicalFileSystemCacheOptions.CacheRoot
toCacheRootPath
also.)I'm loath to introduce additional base classes. It's an additional opportunity for me to miss something important which makes them unusable.