Get Applicationname
-
Is there any shortcut to get applicationname in asp.net?
Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif
Gamzun wrote:
Is there any shortcut to get applicationname in asp.net?
I didn't get you?:confused: What application name you are asking about ?
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Is there any shortcut to get applicationname in asp.net?
Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif
Try this :
Request.ApplicationPath.Substring(1,Request.ApplicationPath.Length-1)
;)Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript -
Try this :
Request.ApplicationPath.Substring(1,Request.ApplicationPath.Length-1)
;)Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using JavascriptSorry my mistake, I didn't ask clearly in first place. I've a provider in web.config and in that ApplicationName is placed. My question was, is it possible to get that name?
Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif
-
Sorry my mistake, I didn't ask clearly in first place. I've a provider in web.config and in that ApplicationName is placed. My question was, is it possible to get that name?
Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif
Yes.. If you placed the Application name in web.config, use
ConfigurationMageanr.AppSettings
to get it. ;)Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript -
Yes.. If you placed the Application name in web.config, use
ConfigurationMageanr.AppSettings
to get it. ;)Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript