Last Updated:
26 Apr 2022 13:22
by ADMIN
Map: In Net6 an ArgumentOutOfRangeException is thrown when using Cache Provider and we have one file in the folder
This exception occurs in Net 6. When we have applied LocalFileCacheProvider and there is one file in the cache folder, starting the app will throw the ArgumentOutOfRangeException. A possible solution here is to check if there is one file inside the folder and remove it if there is such.