Unable to write avatar image to file system on server using .Net Core v9.0
I have an api to load a user avatar up onto an images folder in my .net Core V9 app. The code works perfectly on my dev machine ( rolls eyes). The deployment mode is Self-contained. the target Runtime is win-x64. The directory exists on the server and it has “all” priveleges
This is simplified code without the file checking etc: