We have an application which is located in subfolder (virtual directory /application/nicesubfolder/)
I installed the latest version of package (1.1) through NuGet / "Umbraco package Repository".
However, I noticed that it still use "old" approach to retrieving web.config
Configuration configuration = WebConfigurationManager.OpenWebConfiguration("/");
For our case correct approach is the following :
string filename = HttpContext.Current.Server.MapPath("~/web.config");
Hi!
We have an application which is located in subfolder (virtual directory /application/nicesubfolder/) I installed the latest version of package (1.1) through NuGet / "Umbraco package Repository". However, I noticed that it still use "old" approach to retrieving web.config
Configuration configuration = WebConfigurationManager.OpenWebConfiguration("/");
For our case correct approach is the following :
string filename = HttpContext.Current.Server.MapPath("~/web.config");
Seems that there https://our.umbraco.org/projects/backoffice-extensions/app-pool-refresh/ is attached dll-file with "latest" version.
Could you please fix that discrepancy in NuGet / "Umbraco package Repository".
Many thanks.