RJ,
Your virtual path *is* your ASP.NET application's name.
If you just want the letters in the name ( without the slash ), use :
Request.ApplicationPath.Substring(1, Request.ApplicationPath.Length-1)
That, instead of returning "/appname", will return "appname".
Juan T. Llibre
ASP.NET.FAQ :
http://asp.net.do/faq/
ASPNETFAQ.COM :
http://www.aspnetfaq.com/
Foros de ASP.NET en Español :
http://asp.net.do/foros/
======================================
"RJDev" <rj*******@hotmail.com> wrote in message news:uu*************@TK2MSFTNGP15.phx.gbl...
Juan,
Thnx. I tried this but it will return my Virtual Web path. And not the Application name itself.
Regards,
Rene
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:um**************@TK2MSFTNGP11.phx.gbl... Request.ApplicationPath should work for you.
Juan T. Llibre
ASP.NET.FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"RJDev" <rj*******@hotmail.com> wrote in message news:en**************@TK2MSFTNGP12.phx.gbl... Hi,
Is there anyone who can help me in resolving the Application Name of my IIS Aaplication.
I want to check the application name to see what configuration i need to use because multiple
virtual or root Web domains are using the same app env.
Regards,
Rene