Monthly Archives: April 2011

WCF – use a file in the App_Data folder

If your web service needs information from some external files, a logical place for these files is the App_Data folder. To get the fysical path of the file in a WCF service you can use this code: RolemappingPath = HostingEnvironment.MapPath(@”/App_Data/RoleMapping.xml”); … Continue reading

Posted in Development | Leave a comment