appData has randomly disappeared and crashing app
Very weird issue. We store local cache for EF model in
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
Been doing this for years. We restarted the app this afternoon, and it suddenly crashed just on restart without any code changes. In debugging I found that this code is now returning an empty string, so the path to save is invalid.
Why did this path suddenly cease to exist, and why on a restart without any actual code deployment? Is there some documented change to Azure App Services that would explain how to properly retrieve AppData path?
Very weird issue. We store local cache for EF model in Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) Been doing this for years. We restarted the app this afternoon, and it suddenly crashed just on restart without any code changes. In debugging I found that this code is now returning an empty string, so the path to save is invalid. Why did this path suddenly cease to exist, and why on a restart without any actual code deployment? Is there some documented change to Azure App Services that would explain how to properly retrieve AppData path? Read More