Wednesday, August 19, 2009

Getting MapPath in WCF

This only works when the WCF service is running in IIS.

System.Web.Hosting.HostingEnvironment.MapPath("file.png");

1 comment:

  1. For a long time, I am searching for this information. Now only I have got it through your blog. Really great work. Thanks for sharing.

    ReplyDelete