DEV Community

loading...

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

Collapse
servicesgideon profile image
Gideon Services

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

Collapse
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