Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Get Applicationname

Get Applicationname

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gamzun
    wrote on last edited by
    #1

    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

    A A 2 Replies Last reply
    0
    • G Gamzun

      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

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • G Gamzun

        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

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        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

        G 1 Reply Last reply
        0
        • A Abhishek Sur

          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

          G Offline
          G Offline
          Gamzun
          wrote on last edited by
          #4

          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

          A 1 Reply Last reply
          0
          • G Gamzun

            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

            A Offline
            A Offline
            Abhishek Sur
            wrote on last edited by
            #5

            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

            G 1 Reply Last reply
            0
            • A Abhishek Sur

              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

              G Offline
              G Offline
              Gamzun
              wrote on last edited by
              #6

              Thanks but I was talking about application name in provider

              Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups