Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

get web api relative path

var fullPath = System.Web.Hosting.HostingEnvironment.MapPath(@"~/App_Data/yourXmlFile.xml");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #web #api #relative #path
ADD COMMENT
Topic
Name
9+7 =