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. Default Web Application Path

Default Web Application Path

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-netvisual-studio
5 Posts 2 Posters 1 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.
  • S Offline
    S Offline
    Syed Abdul Khader
    wrote on last edited by
    #1

    When I create a new ASP.NET Web Application using VS.NET, it is created in the http://localhost/MyWebAppName. Instead I want it to be something like http://localhost/MyWebApps/MyWebAppName by default when I create it. I know this feature is available in VS.NET but dont know how. I ask this so that I can group all web applications in a particular folder MyWebApps by one time creating a virtual directory for MyWebApps. Without this setting, I have to create virtual directory for and every web application. How can I do it?

    Y 2 Replies Last reply
    0
    • S Syed Abdul Khader

      When I create a new ASP.NET Web Application using VS.NET, it is created in the http://localhost/MyWebAppName. Instead I want it to be something like http://localhost/MyWebApps/MyWebAppName by default when I create it. I know this feature is available in VS.NET but dont know how. I ask this so that I can group all web applications in a particular folder MyWebApps by one time creating a virtual directory for MyWebApps. Without this setting, I have to create virtual directory for and every web application. How can I do it?

      Y Offline
      Y Offline
      YuliyaP
      wrote on last edited by
      #2

      In new Project dialog, there is field 'location', you can easy change it by 'browser' button.

      1 Reply Last reply
      0
      • S Syed Abdul Khader

        When I create a new ASP.NET Web Application using VS.NET, it is created in the http://localhost/MyWebAppName. Instead I want it to be something like http://localhost/MyWebApps/MyWebAppName by default when I create it. I know this feature is available in VS.NET but dont know how. I ask this so that I can group all web applications in a particular folder MyWebApps by one time creating a virtual directory for MyWebApps. Without this setting, I have to create virtual directory for and every web application. How can I do it?

        Y Offline
        Y Offline
        YuliyaP
        wrote on last edited by
        #3

        tool> option...> prjects> web settings the default path

        S 1 Reply Last reply
        0
        • Y YuliyaP

          tool> option...> prjects> web settings the default path

          S Offline
          S Offline
          Syed Abdul Khader
          wrote on last edited by
          #4

          The Web Application created using the path provided by New Project Dialog will be stored in c:\inetpub\wwwroot\MyWepAppName. If you want to store all your web applications in a directory like c:\syedwebapps you have to create a virtual directory using the iis before creating the web applications. But if use the default web application path you need not create any virtual directory. Basically my requirement is, I want to make some directory other than c:\inetpub\wwwroot to behave like wwwroot so that all the wep applications created will go to that directory without and additional need of creating virtual directory every time.

          Y 1 Reply Last reply
          0
          • S Syed Abdul Khader

            The Web Application created using the path provided by New Project Dialog will be stored in c:\inetpub\wwwroot\MyWepAppName. If you want to store all your web applications in a directory like c:\syedwebapps you have to create a virtual directory using the iis before creating the web applications. But if use the default web application path you need not create any virtual directory. Basically my requirement is, I want to make some directory other than c:\inetpub\wwwroot to behave like wwwroot so that all the wep applications created will go to that directory without and additional need of creating virtual directory every time.

            Y Offline
            Y Offline
            YuliyaP
            wrote on last edited by
            #5

            as i understand how it works, you need to use iis for compile your projects, so you need to use iis in any case. Only you can keep vopy of your project in pc, for you can work faster in developing process.

            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