Last post Aug 31, 2017 12:03 PM by Dmitry Sikorsky
Aug 31, 2017 09:49 AM|RIBEYEKING|LINK
Hi, Sorry for being rather dumb, but I am using VS for Mac and I have some json files in wwwroot that I need to deserialize. In production mode this works, however, in development mode the files are copied to bin/netcore2/wwwroot and I cannot find a way
of mapping this folder. Any help, greatly appreciated.
Aug 31, 2017 12:03 PM|Dmitry Sikorsky|LINK
Hi! This is the correct way to get wwwroot path: https://github.com/Platformus/Platformus/blob/master/src/Platformus.FileManager.Backend/Areas/Backend/Controllers/FileManagerController.cs#L94
The similar way you can get the application content path (where all the dlls and wwwroot itself is located).