DEV Community


Discussion on: 【ASP.NET Core】Access local files

servicesgideon profile image
Gideon Services

Good afternoon. I have a question how do you define your IFileAccessService?

masanori_msl profile image
Masui Masanori Author

Hello! Thank you for reading my post :)
Originally I intended to put a function to get a file into IFileAccessService.
But at least I didn't do that in this sample, so either remove IFileAccessService or create an empty interface and class and register it in the DI container