private string GetPhysicalPath(OWINEnv env) { string physical_path; if (virtualPhysicalPathMap.TryGetValue(env.RequestPathBase, out physical_path)) { return Path.GetFullPath(Path.Combine(physical_path, env.RequestPath)); } else { return null; } }