Thanks for your extensive comments below.
I'm not confident I really understand so I wrote some stuff below hoping
you'll indicate agreement or disagreement.
I know it's really too much to expect you to wade through but I can hope!
If I open IIS on my machine and expand I see:
My machine name(local computer)
Web Sites
Default Web Site
many folder names including the what is my application root if I
understand your note below (because it contains web.config, bin-folder,
etc.)
Properties show the path to be
I:\My Documents\Visual Studio 2008\WebSites\MySite
so this isthe application folder for my site
I used IE to open
http://localhost
and got to
http://localhost/localstart.asp
I find that file in
C:\Inetpub\wwwroot
So is C:\Inetpub\wwwroot a web root folder
Is there an Application frolder that goes with this?
When I run my site I see
http://localhost:1350/MySite/Default.aspx
so is /MySite my web root folder
In this case the web and root folder are the same.
But they need not be?
If they are not how can I get vb to give me the string
I:\My Documents\Visual Studio 2008\WebSites\MySite\App_Data
Thanks a lot
"Alexey Smirnov" <> wrote in message
news:1a6804f6-c4ac-40a5-b8f8-...
On Mar 30, 2:21 am, "AAaron123" <aaaron...@roadrunner.com> wrote:
> What is the difference between the Application folder and the web root
> folder?
> I think I know what the web root is but what is the Application root?
>
Web (domain) root is a folder that corresponds to domain of the
website created in IIS. Example: by default IIS has a sample website
in the C:\Inetpub\wwwroot folder. This folder is a web root of
http://localhost
Application root is a folder that corresponds to URL of application.
Typically, it the same as web domain root, but if you have
http://localhost/app1,
http://localhost/app2 then your application root is location of the
path to ASP.NET application (e.g. c:\inetpub\wwwroot
\VirtualDirectory1). The application root usually contains some
specific files: web.config, bin-folder, etc.