Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting the asmx directory
Message
From
22/03/2004 10:32:43
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brazil
 
 
To
22/03/2004 09:55:18
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
00888512
Message ID:
00888522
Views:
14
This message has been marked as the solution to the initial question of the thread.
Michel,

You can use
Server.MapPath("")
to get this information.



>Is there a way to detect the asmx directory of the Web Service? I have a Web Service which resides in d:\ClientWebService. This is where the asmx file resides. Is there a way to detect that directory when my Web Service is being called?
>
>I am looking for a way to avoid entering the data path inside the code. I am using a Main.ini file which resides in the same place as the Web Service. However, I need to know where the Main.ini file resides. Is there a way to do that?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform