Ram Shankar Yadav's Blog!

My life's my passion!
posts - 165, comments - 361, trackbacks - 91

My Links

News


Microsoft Certified Professional Developer (MCPD) - .NET 2.0 Enterprise Application Development



Cheap Website Hosting - Free Domain

Twitter












Archives

Post Categories

Image Galleries

Blogs that I like most !

Sites that I like most !

Mappath in WCF

Today one of my friend got this problem when she tried to get local path of a WCF Service using Mappath. I searched in a google for a while and got a MSDN link saying,

“…using HostingEnvironment plus VirtualPathExtension is the right thing to map virtual paths to physical paths. This works fine for any IIS/WAS hosted services, even for Cassini….”

here : http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/a3c4841c-0617-4dc0-ada5-687b52075295

I hope it works!

If somebody has a better way please post a comment!

Happy Coding 8-)

Print | posted on Tuesday, April 14, 2009 12:16 AM |

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: