private string GetResourceFileName(string pageName, bool embeddedResource) { return embeddedResource ? pageName : FilePath.GetAbsolutePath($"{m_webRootPath}{pageName.Replace('/', Path.DirectorySeparatorChar)}"); }