how to get the application path in asp.net? August 11, 2023 by Tarik Server.MapPath("~/bin") You could also use the HostingEnvironment.ApplicationPhysicalPath property.