private void SetWebResourceName(string filePath) { this.webResource = filePath.LeftOfRightmostOf("/ext.axd").RightOf(this.sm.ApplicationName).Insert(0, ResourceManager.ASSEMBLYSLUG).Replace('/', '.').ReplaceLastInstanceOf("-", "."); }