Groups | Blog | Home
all groups > asp.net webservices > june 2007 >

asp.net webservices : Retrieving virtual path in Web Service.


Ibrahim.
6/11/2007 6:28:01 AM
Hello,

I have a web service project, in one of my classes I like to get the virtual
path of the Server name from c# code behind.

Thanks,



6/12/2007 3:50:13 PM
On Jun 11, 8:28 am, Ibrahim. <Ibra...@discussions.microsoft.com>
[quoted text, click to view]

You can try this:

this.Server.MapPath() to get the physical folder for a virtual path.
Or you can do this.Context.Request to get the current request to the
WebService. What are you trying to do specifically?
AddThis Social Bookmark Button