473,614 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

More than One

Visual Studio 2003 / .NET Framework 1.1 I could create multiple web
applications. In the root of a remote webspace I could have a single /bin
directory and a single web.config file.

I would then FTP (using a third-party FTP program) the .aspx files in any of
the applications to any directory in the webspace. I would also FTP all the
..dll files to the single /bin directory in the root.

Visual Studio 2005 / .NET Framework 2.0 does not seem to support multiple
independent applications in the same webspace

How can I publish multiple applications (that are built in separate
unconnected projects) in the same webspace?

Is there a document that describes this procedure that I can access?

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

Dec 19 '05 #1
6 1452
Hi Thom,

Welcome.
As for ASP.NET 2.0 web application hosting in IIS website, it has the same
model as ASP.NET 1.1. Each asp.net web application should reside in a
single virtual directory which is configured as "Application"(h ave
application name....). And for a single asp.net application, it can
contains other sub dirs(normal virutal dir ,not application dir) which
contains pages or other static resources... , however, all the assemblies
should be put in the private "bin" dir of the Application's root
directory(must. ..).

Also, when hosting multiple asp.net web application, and those
applications's diretory has sub/children hierarchy, we need to pay
attention for somethings:

1. For web.config, each application's runtime configuration collection are
calculated from the whole hierarchy from its own web.config , to sub
virtual dir's web.config or IIS site root's web.config(if exists) and
finally, global web.config(or machine.config. ...). So if we defined some
application specific data in the super application's web.config, it'll be
inherited in sub application....

/siteroot
/bin
page files....
web.config
/superwebapp
/bin
super web app pages.....
web.config
/sub app
/bin
sub app pages....
web.conifg

2. For some component (such as http handler or httpModule . or other
assembly related setting ) setting in web.config, it'll require we specify
the assembly name.... , in such cases, we need to pay more attention, since
the sub applcation will inherit these setting, so at runtime, the sub
application will try looking for those assemblies in their own private
"bin" folder rather than super application's "bin" dir, this is a common
problems ......

So generally, we suggest deploy separate applications (haven't particular
super/children relationship) in separate virtual directory path .....
If we do have to deploy different applications in virtual directorys that
have parent/child structure, we need to pay attention to the above things I
mentioned....

Here are some msdn reference discussing about ASP.NET web configuration
structure/hierarchy and configuration ASP.NET application in IIS:

#ASP.NET Configuration File Hierarchy and Inheritance
http://msdn2.microsoft.com/en-us/library/ms178685.aspx

#ASP.NET and IIS Configuration
http://msdn2.microsoft.com/en-us/lib...US,VS.80).aspx

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Thom Little" <th**@tlanet.ne t>
| Subject: More than One
| Date: Mon, 19 Dec 2005 15:05:45 -0500
| Lines: 22
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| Message-ID: <#5************ **@TK2MSFTNGP09 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3657 83
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Visual Studio 2003 / .NET Framework 1.1 I could create multiple web
| applications. In the root of a remote webspace I could have a single
/bin
| directory and a single web.config file.
|
| I would then FTP (using a third-party FTP program) the .aspx files in any
of
| the applications to any directory in the webspace. I would also FTP all
the
| .dll files to the single /bin directory in the root.
|
| Visual Studio 2005 / .NET Framework 2.0 does not seem to support multiple
| independent applications in the same webspace
|
| How can I publish multiple applications (that are built in separate
| unconnected projects) in the same webspace?
|
| Is there a document that describes this procedure that I can access?
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
|
|
|

Dec 20 '05 #2
Thank you for the information. I am still working my way through it.

In pre-ASP and ASP 3 I worked with a customer by developing a website on my
remote space (currently containing my applications and 37 customer
applications that have limited access. When the customer is happy with the
result I simply copy the "space" from my remote server to the root of their
remote server "webspace" and it is published to the world.

I am hoping to have a similar arrangement with 2.0 where there will 32
subdirectories from the root and each will be a separate customer with
separate access controls.

One difference that I noticed and am still trying to work through is that
there is no namespace statement in ASP.NET 2.0 applications and there is in
ASP.NET 1.1 applications. Perhaps this is what was providing the nice
segregation of applications in 1.1?

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:Uf******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi Thom,

Welcome.
As for ASP.NET 2.0 web application hosting in IIS website, it has the same
model as ASP.NET 1.1. Each asp.net web application should reside in a
single virtual directory which is configured as "Application"(h ave
application name....). And for a single asp.net application, it can
contains other sub dirs(normal virutal dir ,not application dir) which
contains pages or other static resources... , however, all the assemblies
should be put in the private "bin" dir of the Application's root
directory(must. ..).

Also, when hosting multiple asp.net web application, and those
applications's diretory has sub/children hierarchy, we need to pay
attention for somethings:

1. For web.config, each application's runtime configuration collection are
calculated from the whole hierarchy from its own web.config , to sub
virtual dir's web.config or IIS site root's web.config(if exists) and
finally, global web.config(or machine.config. ...). So if we defined some
application specific data in the super application's web.config, it'll be
inherited in sub application....

/siteroot
/bin
page files....
web.config
/superwebapp
/bin
super web app pages.....
web.config
/sub app
/bin
sub app pages....
web.conifg

2. For some component (such as http handler or httpModule . or other
assembly related setting ) setting in web.config, it'll require we specify
the assembly name.... , in such cases, we need to pay more attention,
since
the sub applcation will inherit these setting, so at runtime, the sub
application will try looking for those assemblies in their own private
"bin" folder rather than super application's "bin" dir, this is a common
problems ......

So generally, we suggest deploy separate applications (haven't particular
super/children relationship) in separate virtual directory path .....
If we do have to deploy different applications in virtual directorys that
have parent/child structure, we need to pay attention to the above things
I
mentioned....

Here are some msdn reference discussing about ASP.NET web configuration
structure/hierarchy and configuration ASP.NET application in IIS:

#ASP.NET Configuration File Hierarchy and Inheritance
http://msdn2.microsoft.com/en-us/library/ms178685.aspx

#ASP.NET and IIS Configuration
http://msdn2.microsoft.com/en-us/lib...US,VS.80).aspx

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Thom Little" <th**@tlanet.ne t>
| Subject: More than One
| Date: Mon, 19 Dec 2005 15:05:45 -0500
| Lines: 22
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| Message-ID: <#5************ **@TK2MSFTNGP09 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3657 83
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Visual Studio 2003 / .NET Framework 1.1 I could create multiple web
| applications. In the root of a remote webspace I could have a single
/bin
| directory and a single web.config file.
|
| I would then FTP (using a third-party FTP program) the .aspx files in
any
of
| the applications to any directory in the webspace. I would also FTP all
the
| .dll files to the single /bin directory in the root.
|
| Visual Studio 2005 / .NET Framework 2.0 does not seem to support
multiple
| independent applications in the same webspace
|
| How can I publish multiple applications (that are built in separate
| unconnected projects) in the same webspace?
|
| Is there a document that describes this procedure that I can access?
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
|
|
|

Dec 20 '05 #3
Thanks for your response Thom,

For common ASP.NET web application(1.1 or 2.0), it's still ok that we
deploy the application by simply copy the page files to the target virtual
directory and assemblies to the target bin folder (if strong-named assembly
, we need to put them into GAC.....).

I am hoping to have a similar arrangement with 2.0 where there will 32
subdirectories from the root and each will be a separate customer with
separate access controls.
=============== ===============
I think it possible, since we can just create 32 separate application
virtual directory under the root webspace) and each application virtual
directory can has its own virtual directory based IIS
setting.....(au thentication mode...... )

One difference that I noticed and am still trying to work through is that
there is no namespace statement in ASP.NET 2.0 applications and there is in
ASP.NET 1.1 applications. Perhaps this is what was providing the nice
segregation of applications in 1.1?
=============== =============== =
No, this won't affect the isolation of each asp.net web application.
No-namespace in asp.net 2.0 is because all the web page classes
or source files in (app_code folder) are dynamically compiled at runtime,
so they will be given a runtime generated internal namespace.... this not
controled by us. And for each web application,the ir assemblies will be
loaded into their own AppDomain so classes in differernt application won't
conflict with those in other application.... .

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Thom Little" <th**@tlanet.ne t>
| References: <#5************ **@TK2MSFTNGP09 .phx.gbl>
<Uf************ **@TK2MSFTNGXA0 2.phx.gbl>
| Subject: Re: More than One
| Date: Tue, 20 Dec 2005 03:08:18 -0500
| Lines: 149
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| Message-ID: <e1************ *@TK2MSFTNGP14. phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3658 84
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Thank you for the information. I am still working my way through it.
|
| In pre-ASP and ASP 3 I worked with a customer by developing a website on
my
| remote space (currently containing my applications and 37 customer
| applications that have limited access. When the customer is happy with
the
| result I simply copy the "space" from my remote server to the root of
their
| remote server "webspace" and it is published to the world.
|
| I am hoping to have a similar arrangement with 2.0 where there will 32
| subdirectories from the root and each will be a separate customer with
| separate access controls.
|
| One difference that I noticed and am still trying to work through is that
| there is no namespace statement in ASP.NET 2.0 applications and there is
in
| ASP.NET 1.1 applications. Perhaps this is what was providing the nice
| segregation of applications in 1.1?
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:Uf******** ******@TK2MSFTN GXA02.phx.gbl.. .
| > Hi Thom,
| >
| > Welcome.
| > As for ASP.NET 2.0 web application hosting in IIS website, it has the
same
| > model as ASP.NET 1.1. Each asp.net web application should reside in a
| > single virtual directory which is configured as "Application"(h ave
| > application name....). And for a single asp.net application, it can
| > contains other sub dirs(normal virutal dir ,not application dir) which
| > contains pages or other static resources... , however, all the
assemblies
| > should be put in the private "bin" dir of the Application's root
| > directory(must. ..).
| >
| > Also, when hosting multiple asp.net web application, and those
| > applications's diretory has sub/children hierarchy, we need to pay
| > attention for somethings:
| >
| > 1. For web.config, each application's runtime configuration collection
are
| > calculated from the whole hierarchy from its own web.config , to sub
| > virtual dir's web.config or IIS site root's web.config(if exists) and
| > finally, global web.config(or machine.config. ...). So if we defined some
| > application specific data in the super application's web.config, it'll
be
| > inherited in sub application....
| >
| > /siteroot
| > /bin
| > page files....
| > web.config
| >
| >
| > /superwebapp
| > /bin
| > super web app pages.....
| > web.config
| >
| >
| > /sub app
| > /bin
| > sub app pages....
| > web.conifg
| >
| >
| >
| > 2. For some component (such as http handler or httpModule . or other
| > assembly related setting ) setting in web.config, it'll require we
specify
| > the assembly name.... , in such cases, we need to pay more attention,
| > since
| > the sub applcation will inherit these setting, so at runtime, the sub
| > application will try looking for those assemblies in their own private
| > "bin" folder rather than super application's "bin" dir, this is a common
| > problems ......
| >
| > So generally, we suggest deploy separate applications (haven't
particular
| > super/children relationship) in separate virtual directory path .....
| > If we do have to deploy different applications in virtual directorys
that
| > have parent/child structure, we need to pay attention to the above
things
| > I
| > mentioned....
| >
| > Here are some msdn reference discussing about ASP.NET web configuration
| > structure/hierarchy and configuration ASP.NET application in IIS:
| >
| > #ASP.NET Configuration File Hierarchy and Inheritance
| > http://msdn2.microsoft.com/en-us/library/ms178685.aspx
| >
| > #ASP.NET and IIS Configuration
| > http://msdn2.microsoft.com/en-us/lib...US,VS.80).aspx
| >
| > Hope helps. Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | From: "Thom Little" <th**@tlanet.ne t>
| > | Subject: More than One
| > | Date: Mon, 19 Dec 2005 15:05:45 -0500
| > | Lines: 22
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | X-RFC2646: Format=Flowed; Original
| > | Message-ID: <#5************ **@TK2MSFTNGP09 .phx.gbl>
| > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | NNTP-Posting-Host: 65.99.185.176
| > | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| > | Xref: TK2MSFTNGXA02.p hx.gbl
| > microsoft.publi c.dotnet.framew ork.aspnet:3657 83
| > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > |
| > | Visual Studio 2003 / .NET Framework 1.1 I could create multiple web
| > | applications. In the root of a remote webspace I could have a single
| > /bin
| > | directory and a single web.config file.
| > |
| > | I would then FTP (using a third-party FTP program) the .aspx files in
| > any
| > of
| > | the applications to any directory in the webspace. I would also FTP
all
| > the
| > | .dll files to the single /bin directory in the root.
| > |
| > | Visual Studio 2005 / .NET Framework 2.0 does not seem to support
| > multiple
| > | independent applications in the same webspace
| > |
| > | How can I publish multiple applications (that are built in separate
| > | unconnected projects) in the same webspace?
| > |
| > | Is there a document that describes this procedure that I can access?
| > |
| > | --
| > | -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| > | --
| > |
| > |
| > |
| > |
| >
|
|
|

Dec 21 '05 #4
Hi Thom,

Any further progress on this or does those thing in my last reply also
helps a little?
If still anything else we can help, please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| X-Tomcat-ID: 65443529
| References: <#5************ **@TK2MSFTNGP09 .phx.gbl>
<Uf************ **@TK2MSFTNGXA0 2.phx.gbl>
<e1************ *@TK2MSFTNGP14. phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online. microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Wed, 21 Dec 2005 03:39:41 GMT
| Subject: Re: More than One
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| Message-ID: <Q3************ **@TK2MSFTNGXA0 2.phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| Lines: 209
| Path: TK2MSFTNGXA02.p hx.gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3661 48
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Thanks for your response Thom,
|
| For common ASP.NET web application(1.1 or 2.0), it's still ok that we
| deploy the application by simply copy the page files to the target
virtual
| directory and assemblies to the target bin folder (if strong-named
assembly
| , we need to put them into GAC.....).
|
| I am hoping to have a similar arrangement with 2.0 where there will 32
| subdirectories from the root and each will be a separate customer with
| separate access controls.
| =============== ===============
| I think it possible, since we can just create 32 separate application
| virtual directory under the root webspace) and each application virtual
| directory can has its own virtual directory based IIS
| setting.....(au thentication mode...... )
|
|
|
| One difference that I noticed and am still trying to work through is that
| there is no namespace statement in ASP.NET 2.0 applications and there is
in
| ASP.NET 1.1 applications. Perhaps this is what was providing the nice
| segregation of applications in 1.1?
| =============== =============== =
| No, this won't affect the isolation of each asp.net web application.
| No-namespace in asp.net 2.0 is because all the web page classes
| or source files in (app_code folder) are dynamically compiled at runtime,
| so they will be given a runtime generated internal namespace.... this not
| controled by us. And for each web application,the ir assemblies will be
| loaded into their own AppDomain so classes in differernt application
won't
| conflict with those in other application.... .
|
| Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
| --------------------
| | From: "Thom Little" <th**@tlanet.ne t>
| | References: <#5************ **@TK2MSFTNGP09 .phx.gbl>
| <Uf************ **@TK2MSFTNGXA0 2.phx.gbl>
| | Subject: Re: More than One
| | Date: Tue, 20 Dec 2005 03:08:18 -0500
| | Lines: 149
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| | X-RFC2646: Format=Flowed; Original
| | Message-ID: <e1************ *@TK2MSFTNGP14. phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: 65.99.185.176
| | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| | Xref: TK2MSFTNGXA02.p hx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:3658 84
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Thank you for the information. I am still working my way through it.
| |
| | In pre-ASP and ASP 3 I worked with a customer by developing a website
on
| my
| | remote space (currently containing my applications and 37 customer
| | applications that have limited access. When the customer is happy with
| the
| | result I simply copy the "space" from my remote server to the root of
| their
| | remote server "webspace" and it is published to the world.
| |
| | I am hoping to have a similar arrangement with 2.0 where there will 32
| | subdirectories from the root and each will be a separate customer with
| | separate access controls.
| |
| | One difference that I noticed and am still trying to work through is
that
| | there is no namespace statement in ASP.NET 2.0 applications and there
is
| in
| | ASP.NET 1.1 applications. Perhaps this is what was providing the nice
| | segregation of applications in 1.1?
| |
| | --
| | -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| | --
| |
| | "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| | news:Uf******** ******@TK2MSFTN GXA02.phx.gbl.. .
| | > Hi Thom,
| | >
| | > Welcome.
| | > As for ASP.NET 2.0 web application hosting in IIS website, it has the
| same
| | > model as ASP.NET 1.1. Each asp.net web application should reside in a
| | > single virtual directory which is configured as "Application"(h ave
| | > application name....). And for a single asp.net application, it can
| | > contains other sub dirs(normal virutal dir ,not application dir) which
| | > contains pages or other static resources... , however, all the
| assemblies
| | > should be put in the private "bin" dir of the Application's root
| | > directory(must. ..).
| | >
| | > Also, when hosting multiple asp.net web application, and those
| | > applications's diretory has sub/children hierarchy, we need to pay
| | > attention for somethings:
| | >
| | > 1. For web.config, each application's runtime configuration
collection
| are
| | > calculated from the whole hierarchy from its own web.config , to sub
| | > virtual dir's web.config or IIS site root's web.config(if exists) and
| | > finally, global web.config(or machine.config. ...). So if we defined
some
| | > application specific data in the super application's web.config,
it'll
| be
| | > inherited in sub application....
| | >
| | > /siteroot
| | > /bin
| | > page files....
| | > web.config
| | >
| | >
| | > /superwebapp
| | > /bin
| | > super web app pages.....
| | > web.config
| | >
| | >
| | > /sub app
| | > /bin
| | > sub app pages....
| | > web.conifg
| | >
| | >
| | >
| | > 2. For some component (such as http handler or httpModule . or other
| | > assembly related setting ) setting in web.config, it'll require we
| specify
| | > the assembly name.... , in such cases, we need to pay more attention,
| | > since
| | > the sub applcation will inherit these setting, so at runtime, the sub
| | > application will try looking for those assemblies in their own private
| | > "bin" folder rather than super application's "bin" dir, this is a
common
| | > problems ......
| | >
| | > So generally, we suggest deploy separate applications (haven't
| particular
| | > super/children relationship) in separate virtual directory path .....
| | > If we do have to deploy different applications in virtual directorys
| that
| | > have parent/child structure, we need to pay attention to the above
| things
| | > I
| | > mentioned....
| | >
| | > Here are some msdn reference discussing about ASP.NET web
configuration
| | > structure/hierarchy and configuration ASP.NET application in IIS:
| | >
| | > #ASP.NET Configuration File Hierarchy and Inheritance
| | > http://msdn2.microsoft.com/en-us/library/ms178685.aspx
| | >
| | > #ASP.NET and IIS Configuration
| | > http://msdn2.microsoft.com/en-us/lib...US,VS.80).aspx
| | >
| | > Hope helps. Thanks,
| | >
| | > Steven Cheng
| | > Microsoft Online Support
| | >
| | > Get Secure! www.microsoft.com/security
| | > (This posting is provided "AS IS", with no warranties, and confers no
| | > rights.)
| | >
| | >
| | > --------------------
| | > | From: "Thom Little" <th**@tlanet.ne t>
| | > | Subject: More than One
| | > | Date: Mon, 19 Dec 2005 15:05:45 -0500
| | > | Lines: 22
| | > | X-Priority: 3
| | > | X-MSMail-Priority: Normal
| | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| | > | X-RFC2646: Format=Flowed; Original
| | > | Message-ID: <#5************ **@TK2MSFTNGP09 .phx.gbl>
| | > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | > | NNTP-Posting-Host: 65.99.185.176
| | > | Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| | > | Xref: TK2MSFTNGXA02.p hx.gbl
| | > microsoft.publi c.dotnet.framew ork.aspnet:3657 83
| | > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | > |
| | > | Visual Studio 2003 / .NET Framework 1.1 I could create multiple web
| | > | applications. In the root of a remote webspace I could have a
single
| | > /bin
| | > | directory and a single web.config file.
| | > |
| | > | I would then FTP (using a third-party FTP program) the .aspx files
in
| | > any
| | > of
| | > | the applications to any directory in the webspace. I would also
FTP
| all
| | > the
| | > | .dll files to the single /bin directory in the root.
| | > |
| | > | Visual Studio 2005 / .NET Framework 2.0 does not seem to support
| | > multiple
| | > | independent applications in the same webspace
| | > |
| | > | How can I publish multiple applications (that are built in separate
| | > | unconnected projects) in the same webspace?
| | > |
| | > | Is there a document that describes this procedure that I can access?
| | > |
| | > | --
| | > | -- Thom Little -- www.tlanet.net -- Thom Little Associates,
Ltd.
| | > | --
| | > |
| | > |
| | > |
| | > |
| | >
| |
| |
| |
|
|

Dec 27 '05 #5
I backed away from it slightly. I have a sandbox server and can put an
application in the root and remove it and successfully replace it with
another.

I have not got a second application to run in a subdirectory yet.

It is very easy to put the webspace in a "hung" state. One way is to have
an application in the root and then publish a second application to the
root. This almost always hangs the webspace. You must delete the files,
wait a bit, and then publish the second website in order to avoid the
problem.

I do not have administrator privilege on the remote server and have to wait
for the kindness of others to do the reset. Perhaps I can get administrator
privilege limited to this webspace?

I have been investigating master pages. It seems that the master page MUST
be in the root of the website. This seems to say that I can't have
subdirectories with their own master page.

My current assessment is that the environment is quire fragile.

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:vk******** *****@TK2MSFTNG XA02.phx.gbl...
Hi Thom,

Any further progress on this or does those thing in my last reply also
helps a little?
If still anything else we can help, please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| X-Tomcat-ID: 65443529
| References: <#5************ **@TK2MSFTNGP09 .phx.gbl>
<Uf************ **@TK2MSFTNGXA0 2.phx.gbl>
<e1************ *@TK2MSFTNGP14. phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online. microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Wed, 21 Dec 2005 03:39:41 GMT
| Subject: Re: More than One
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| Message-ID: <Q3************ **@TK2MSFTNGXA0 2.phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| Lines: 209
| Path: TK2MSFTNGXA02.p hx.gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3661 48
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Thanks for your response Thom,
|
| For common ASP.NET web application(1.1 or 2.0), it's still ok that we
| deploy the application by simply copy the page files to the target
virtual
| directory and assemblies to the target bin folder (if strong-named
assembly
| , we need to put them into GAC.....).
|
| I am hoping to have a similar arrangement with 2.0 where there will 32
| subdirectories from the root and each will be a separate customer with
| separate access controls.
| =============== ===============
| I think it possible, since we can just create 32 separate application
| virtual directory under the root webspace) and each application virtual
| directory can has its own virtual directory based IIS
| setting.....(au thentication mode...... )
|
|
|
| One difference that I noticed and am still trying to work through is
that
| there is no namespace statement in ASP.NET 2.0 applications and there is
in
| ASP.NET 1.1 applications. Perhaps this is what was providing the nice
| segregation of applications in 1.1?
| =============== =============== =
| No, this won't affect the isolation of each asp.net web application.
| No-namespace in asp.net 2.0 is because all the web page classes
| or source files in (app_code folder) are dynamically compiled at
runtime,
| so they will be given a runtime generated internal namespace.... this
not
| controled by us. And for each web application,the ir assemblies will be
| loaded into their own AppDomain so classes in differernt application
won't
| conflict with those in other application.... .
|
| Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
| --------------------
| | From: "Thom Little" <th**@tlanet.ne t>
| | References: <#5************ **@TK2MSFTNGP09 .phx.gbl>
| <Uf************ **@TK2MSFTNGXA0 2.phx.gbl>
| | Subject: Re: More than One
| | Date: Tue, 20 Dec 2005 03:08:18 -0500
| | Lines: 149
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| | X-RFC2646: Format=Flowed; Original
| | Message-ID: <e1************ *@TK2MSFTNGP14. phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: 65.99.185.176
| | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| | Xref: TK2MSFTNGXA02.p hx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:3658 84
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Thank you for the information. I am still working my way through it.
| |
| | In pre-ASP and ASP 3 I worked with a customer by developing a website
on
| my
| | remote space (currently containing my applications and 37 customer
| | applications that have limited access. When the customer is happy
with
| the
| | result I simply copy the "space" from my remote server to the root of
| their
| | remote server "webspace" and it is published to the world.
| |
| | I am hoping to have a similar arrangement with 2.0 where there will
32
| | subdirectories from the root and each will be a separate customer with
| | separate access controls.
| |
| | One difference that I noticed and am still trying to work through is
that
| | there is no namespace statement in ASP.NET 2.0 applications and there
is
| in
| | ASP.NET 1.1 applications. Perhaps this is what was providing the nice
| | segregation of applications in 1.1?
| |
| | --
| | -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| | --
| |
| | "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| | news:Uf******** ******@TK2MSFTN GXA02.phx.gbl.. .
| | > Hi Thom,
| | >
| | > Welcome.
| | > As for ASP.NET 2.0 web application hosting in IIS website, it has
the
| same
| | > model as ASP.NET 1.1. Each asp.net web application should reside in
a
| | > single virtual directory which is configured as "Application"(h ave
| | > application name....). And for a single asp.net application, it can
| | > contains other sub dirs(normal virutal dir ,not application dir)
which
| | > contains pages or other static resources... , however, all the
| assemblies
| | > should be put in the private "bin" dir of the Application's root
| | > directory(must. ..).
| | >
| | > Also, when hosting multiple asp.net web application, and those
| | > applications's diretory has sub/children hierarchy, we need to pay
| | > attention for somethings:
| | >
| | > 1. For web.config, each application's runtime configuration
collection
| are
| | > calculated from the whole hierarchy from its own web.config , to sub
| | > virtual dir's web.config or IIS site root's web.config(if exists)
and
| | > finally, global web.config(or machine.config. ...). So if we defined
some
| | > application specific data in the super application's web.config,
it'll
| be
| | > inherited in sub application....
| | >
| | > /siteroot
| | > /bin
| | > page files....
| | > web.config
| | >
| | >
| | > /superwebapp
| | > /bin
| | > super web app pages.....
| | > web.config
| | >
| | >
| | > /sub app
| | > /bin
| | > sub app pages....
| | > web.conifg
| | >
| | >
| | >
| | > 2. For some component (such as http handler or httpModule . or other
| | > assembly related setting ) setting in web.config, it'll require we
| specify
| | > the assembly name.... , in such cases, we need to pay more
attention,
| | > since
| | > the sub applcation will inherit these setting, so at runtime, the
sub
| | > application will try looking for those assemblies in their own
private
| | > "bin" folder rather than super application's "bin" dir, this is a
common
| | > problems ......
| | >
| | > So generally, we suggest deploy separate applications (haven't
| particular
| | > super/children relationship) in separate virtual directory path
.....
| | > If we do have to deploy different applications in virtual directorys
| that
| | > have parent/child structure, we need to pay attention to the above
| things
| | > I
| | > mentioned....
| | >
| | > Here are some msdn reference discussing about ASP.NET web
configuration
| | > structure/hierarchy and configuration ASP.NET application in IIS:
| | >
| | > #ASP.NET Configuration File Hierarchy and Inheritance
| | > http://msdn2.microsoft.com/en-us/library/ms178685.aspx
| | >
| | > #ASP.NET and IIS Configuration
| | > http://msdn2.microsoft.com/en-us/lib...US,VS.80).aspx
| | >
| | > Hope helps. Thanks,
| | >
| | > Steven Cheng
| | > Microsoft Online Support
| | >
| | > Get Secure! www.microsoft.com/security
| | > (This posting is provided "AS IS", with no warranties, and confers
no
| | > rights.)
| | >
| | >
| | > --------------------
| | > | From: "Thom Little" <th**@tlanet.ne t>
| | > | Subject: More than One
| | > | Date: Mon, 19 Dec 2005 15:05:45 -0500
| | > | Lines: 22
| | > | X-Priority: 3
| | > | X-MSMail-Priority: Normal
| | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| | > | X-RFC2646: Format=Flowed; Original
| | > | Message-ID: <#5************ **@TK2MSFTNGP09 .phx.gbl>
| | > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | > | NNTP-Posting-Host: 65.99.185.176
| | > | Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| | > | Xref: TK2MSFTNGXA02.p hx.gbl
| | > microsoft.publi c.dotnet.framew ork.aspnet:3657 83
| | > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | > |
| | > | Visual Studio 2003 / .NET Framework 1.1 I could create multiple
web
| | > | applications. In the root of a remote webspace I could have a
single
| | > /bin
| | > | directory and a single web.config file.
| | > |
| | > | I would then FTP (using a third-party FTP program) the .aspx files
in
| | > any
| | > of
| | > | the applications to any directory in the webspace. I would also
FTP
| all
| | > the
| | > | .dll files to the single /bin directory in the root.
| | > |
| | > | Visual Studio 2005 / .NET Framework 2.0 does not seem to support
| | > multiple
| | > | independent applications in the same webspace
| | > |
| | > | How can I publish multiple applications (that are built in
separate
| | > | unconnected projects) in the same webspace?
| | > |
| | > | Is there a document that describes this procedure that I can
access?
| | > |
| | > | --
| | > | -- Thom Little -- www.tlanet.net -- Thom Little Associates,
Ltd.
| | > | --
| | > |
| | > |
| | > |
| | > |
| | >
| |
| |
| |
|
|

Dec 27 '05 #6
Thanks for your followup Thom,

For multiple application deployment, I agree that nested applications will
be more difficult since the parent application's configuration setting may
affect the sub applications. For such parent/sub deployment, we need to
have well plan and consideration at design-time, otherwise, it'll be better
to arrange them as separate or parallel level application (in IIS virtual
dirs...).
Also, it's also a problem that you can not directly manage the remote site
which make it a bit hard for us to directly throubleshoot the problem and
do furhter research....

In addition, for Master page, we can put different Master pages in
different sub directories and reference them in other pages in different
directory structure (as long as they're in the same web application). e.g:

MasterPageFile= "~/MasterPages/SubMaster/submain.master"

The following page reference a Masterpage in the two level nested sub
directories.... We generally specify master page path from the application
root ( "~/xxxxxx/xxxx")... In other words, sub directory pages can
referece Master pages in root application directory, Root dir pages also
able to reference Master pages in sub directory......

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Thom Little" <th**@tlanet.ne t>
| References: <#5************ **@TK2MSFTNGP09 .phx.gbl>
<Uf************ **@TK2MSFTNGXA0 2.phx.gbl>
<e1************ *@TK2MSFTNGP14. phx.gbl>
<Q3************ **@TK2MSFTNGXA0 2.phx.gbl>
<vk************ *@TK2MSFTNGXA02 .phx.gbl>
| Subject: Re: More than One
| Date: Tue, 27 Dec 2005 08:41:33 -0500
| Lines: 327
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| Message-ID: <eh************ **@TK2MSFTNGP11 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP11.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3671 37
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| I backed away from it slightly. I have a sandbox server and can put an
| application in the root and remove it and successfully replace it with
| another.
|
| I have not got a second application to run in a subdirectory yet.
|
| It is very easy to put the webspace in a "hung" state. One way is to
have
| an application in the root and then publish a second application to the
| root. This almost always hangs the webspace. You must delete the files,
| wait a bit, and then publish the second website in order to avoid the
| problem.
|
| I do not have administrator privilege on the remote server and have to
wait
| for the kindness of others to do the reset. Perhaps I can get
administrator
| privilege limited to this webspace?
|
| I have been investigating master pages. It seems that the master page
MUST
| be in the root of the website. This seems to say that I can't have
| subdirectories with their own master page.
|
| My current assessment is that the environment is quire fragile.
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:vk******** *****@TK2MSFTNG XA02.phx.gbl...
| > Hi Thom,
| >
| > Any further progress on this or does those thing in my last reply also
| > helps a little?
| > If still anything else we can help, please feel free to post here.
| >
| > Regards,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| > --------------------
| > | X-Tomcat-ID: 65443529
| > | References: <#5************ **@TK2MSFTNGP09 .phx.gbl>
| > <Uf************ **@TK2MSFTNGXA0 2.phx.gbl>
| > <e1************ *@TK2MSFTNGP14. phx.gbl>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain
| > | Content-Transfer-Encoding: 7bit
| > | From: st*****@online. microsoft.com (Steven Cheng[MSFT])
| > | Organization: Microsoft
| > | Date: Wed, 21 Dec 2005 03:39:41 GMT
| > | Subject: Re: More than One
| > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > | Message-ID: <Q3************ **@TK2MSFTNGXA0 2.phx.gbl>
| > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | Lines: 209
| > | Path: TK2MSFTNGXA02.p hx.gbl
| > | Xref: TK2MSFTNGXA02.p hx.gbl
| > microsoft.publi c.dotnet.framew ork.aspnet:3661 48
| > | NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
| > |
| > | Thanks for your response Thom,
| > |
| > | For common ASP.NET web application(1.1 or 2.0), it's still ok that we
| > | deploy the application by simply copy the page files to the target
| > virtual
| > | directory and assemblies to the target bin folder (if strong-named
| > assembly
| > | , we need to put them into GAC.....).
| > |
| > | I am hoping to have a similar arrangement with 2.0 where there will
32
| > | subdirectories from the root and each will be a separate customer with
| > | separate access controls.
| > | =============== ===============
| > | I think it possible, since we can just create 32 separate application
| > | virtual directory under the root webspace) and each application
virtual
| > | directory can has its own virtual directory based IIS
| > | setting.....(au thentication mode...... )
| > |
| > |
| > |
| > | One difference that I noticed and am still trying to work through is
| > that
| > | there is no namespace statement in ASP.NET 2.0 applications and there
is
| > in
| > | ASP.NET 1.1 applications. Perhaps this is what was providing the nice
| > | segregation of applications in 1.1?
| > | =============== =============== =
| > | No, this won't affect the isolation of each asp.net web application.
| > | No-namespace in asp.net 2.0 is because all the web page classes
| > | or source files in (app_code folder) are dynamically compiled at
| > runtime,
| > | so they will be given a runtime generated internal namespace.... this
| > not
| > | controled by us. And for each web application,the ir assemblies will be
| > | loaded into their own AppDomain so classes in differernt application
| > won't
| > | conflict with those in other application.... .
| > |
| > | Thanks,
| > |
| > | Steven Cheng
| > | Microsoft Online Support
| > |
| > | Get Secure! www.microsoft.com/security
| > | (This posting is provided "AS IS", with no warranties, and confers no
| > | rights.)
| > |
| > |
| > |
| > | --------------------
| > | | From: "Thom Little" <th**@tlanet.ne t>
| > | | References: <#5************ **@TK2MSFTNGP09 .phx.gbl>
| > | <Uf************ **@TK2MSFTNGXA0 2.phx.gbl>
| > | | Subject: Re: More than One
| > | | Date: Tue, 20 Dec 2005 03:08:18 -0500
| > | | Lines: 149
| > | | X-Priority: 3
| > | | X-MSMail-Priority: Normal
| > | | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | | X-RFC2646: Format=Flowed; Original
| > | | Message-ID: <e1************ *@TK2MSFTNGP14. phx.gbl>
| > | | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | | NNTP-Posting-Host: 65.99.185.176
| > | | Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| > | | Xref: TK2MSFTNGXA02.p hx.gbl
| > | microsoft.publi c.dotnet.framew ork.aspnet:3658 84
| > | | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > | |
| > | | Thank you for the information. I am still working my way through
it.
| > | |
| > | | In pre-ASP and ASP 3 I worked with a customer by developing a
website
| > on
| > | my
| > | | remote space (currently containing my applications and 37 customer
| > | | applications that have limited access. When the customer is happy
| > with
| > | the
| > | | result I simply copy the "space" from my remote server to the root
of
| > | their
| > | | remote server "webspace" and it is published to the world.
| > | |
| > | | I am hoping to have a similar arrangement with 2.0 where there will
| > 32
| > | | subdirectories from the root and each will be a separate customer
with
| > | | separate access controls.
| > | |
| > | | One difference that I noticed and am still trying to work through is
| > that
| > | | there is no namespace statement in ASP.NET 2.0 applications and
there
| > is
| > | in
| > | | ASP.NET 1.1 applications. Perhaps this is what was providing the
nice
| > | | segregation of applications in 1.1?
| > | |
| > | | --
| > | | -- Thom Little -- www.tlanet.net -- Thom Little Associates,
Ltd.
| > | | --
| > | |
| > | | "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| > | | news:Uf******** ******@TK2MSFTN GXA02.phx.gbl.. .
| > | | > Hi Thom,
| > | | >
| > | | > Welcome.
| > | | > As for ASP.NET 2.0 web application hosting in IIS website, it has
| > the
| > | same
| > | | > model as ASP.NET 1.1. Each asp.net web application should reside
in
| > a
| > | | > single virtual directory which is configured as "Application"(h ave
| > | | > application name....). And for a single asp.net application, it
can
| > | | > contains other sub dirs(normal virutal dir ,not application dir)
| > which
| > | | > contains pages or other static resources... , however, all the
| > | assemblies
| > | | > should be put in the private "bin" dir of the Application's root
| > | | > directory(must. ..).
| > | | >
| > | | > Also, when hosting multiple asp.net web application, and those
| > | | > applications's diretory has sub/children hierarchy, we need to pay
| > | | > attention for somethings:
| > | | >
| > | | > 1. For web.config, each application's runtime configuration
| > collection
| > | are
| > | | > calculated from the whole hierarchy from its own web.config , to
sub
| > | | > virtual dir's web.config or IIS site root's web.config(if exists)
| > and
| > | | > finally, global web.config(or machine.config. ...). So if we
defined
| > some
| > | | > application specific data in the super application's web.config,
| > it'll
| > | be
| > | | > inherited in sub application....
| > | | >
| > | | > /siteroot
| > | | > /bin
| > | | > page files....
| > | | > web.config
| > | | >
| > | | >
| > | | > /superwebapp
| > | | > /bin
| > | | > super web app pages.....
| > | | > web.config
| > | | >
| > | | >
| > | | > /sub app
| > | | > /bin
| > | | > sub app pages....
| > | | > web.conifg
| > | | >
| > | | >
| > | | >
| > | | > 2. For some component (such as http handler or httpModule . or
other
| > | | > assembly related setting ) setting in web.config, it'll require we
| > | specify
| > | | > the assembly name.... , in such cases, we need to pay more
| > attention,
| > | | > since
| > | | > the sub applcation will inherit these setting, so at runtime, the
| > sub
| > | | > application will try looking for those assemblies in their own
| > private
| > | | > "bin" folder rather than super application's "bin" dir, this is a
| > common
| > | | > problems ......
| > | | >
| > | | > So generally, we suggest deploy separate applications (haven't
| > | particular
| > | | > super/children relationship) in separate virtual directory path
| > .....
| > | | > If we do have to deploy different applications in virtual
directorys
| > | that
| > | | > have parent/child structure, we need to pay attention to the above
| > | things
| > | | > I
| > | | > mentioned....
| > | | >
| > | | > Here are some msdn reference discussing about ASP.NET web
| > configuration
| > | | > structure/hierarchy and configuration ASP.NET application in IIS:
| > | | >
| > | | > #ASP.NET Configuration File Hierarchy and Inheritance
| > | | > http://msdn2.microsoft.com/en-us/library/ms178685.aspx
| > | | >
| > | | > #ASP.NET and IIS Configuration
| > | | >
http://msdn2.microsoft.com/en-us/lib...US,VS.80).aspx
| > | | >
| > | | > Hope helps. Thanks,
| > | | >
| > | | > Steven Cheng
| > | | > Microsoft Online Support
| > | | >
| > | | > Get Secure! www.microsoft.com/security
| > | | > (This posting is provided "AS IS", with no warranties, and
confers
| > no
| > | | > rights.)
| > | | >
| > | | >
| > | | > --------------------
| > | | > | From: "Thom Little" <th**@tlanet.ne t>
| > | | > | Subject: More than One
| > | | > | Date: Mon, 19 Dec 2005 15:05:45 -0500
| > | | > | Lines: 22
| > | | > | X-Priority: 3
| > | | > | X-MSMail-Priority: Normal
| > | | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | | > | X-RFC2646: Format=Flowed; Original
| > | | > | Message-ID: <#5************ **@TK2MSFTNGP09 .phx.gbl>
| > | | > | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| > | | > | NNTP-Posting-Host: 65.99.185.176
| > | | > | Path:
| > TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| > | | > | Xref: TK2MSFTNGXA02.p hx.gbl
| > | | > microsoft.publi c.dotnet.framew ork.aspnet:3657 83
| > | | > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| > | | > |
| > | | > | Visual Studio 2003 / .NET Framework 1.1 I could create multiple
| > web
| > | | > | applications. In the root of a remote webspace I could have a
| > single
| > | | > /bin
| > | | > | directory and a single web.config file.
| > | | > |
| > | | > | I would then FTP (using a third-party FTP program) the .aspx
files
| > in
| > | | > any
| > | | > of
| > | | > | the applications to any directory in the webspace. I would also
| > FTP
| > | all
| > | | > the
| > | | > | .dll files to the single /bin directory in the root.
| > | | > |
| > | | > | Visual Studio 2005 / .NET Framework 2.0 does not seem to support
| > | | > multiple
| > | | > | independent applications in the same webspace
| > | | > |
| > | | > | How can I publish multiple applications (that are built in
| > separate
| > | | > | unconnected projects) in the same webspace?
| > | | > |
| > | | > | Is there a document that describes this procedure that I can
| > access?
| > | | > |
| > | | > | --
| > | | > | -- Thom Little -- www.tlanet.net -- Thom Little Associates,
| > Ltd.
| > | | > | --
| > | | > |
| > | | > |
| > | | > |
| > | | > |
| > | | >
| > | |
| > | |
| > | |
| > |
| > |
| >
|
|
|

Dec 28 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

303
17568
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b. Yahoo store was originally written in Lisp. c. Emacs The issues with these will probably come up, so I might as well mention them myself (which will also make this a more balanced
22
2307
by: bearophile | last post by:
Ville Vainio: >It's highly typical for the newbies to suggest improvements to the >language. They will usually learn that they are wrong, but the >discussion that ensues can be fruitfull anyway :-). Few more notes on the language. I don't know if I can really suggest improvements to the language... but I hope to learn something :-) I think some things are better in Delphi/Pascal (like the := for assignments instead of = and = for...
21
3908
by: Rabbit63 | last post by:
Hi: I want to show a set of records in the database table on the clicnt browser. I have two ways to do this (writen in JScript): 1.The first way is: <% var sql = "select firstname from table1"; var obj=new ActiveXObject("ADODB.Recordset");
6
1698
by: Markus Dehmann | last post by:
I have n sets of elements. I want to find elements that occur more than once in more than one set. Maybe the following example shows what I mean: S1 = {1,2,3,2,4} S2 = {2,2,4,5,4} S2 = {2,5,2} The algorithm should find that the "2" occurs more than once in S1, S2, and
33
5593
by: Joerg Schuster | last post by:
Hello, Python regular expressions must not have more than 100 capturing groups. The source code responsible for this reads as follows: # XXX: <fl> get rid of this limitation! if p.pattern.groups > 100: raise AssertionError( "sorry, but this version only supports 100 named groups"
15
1653
by: Deano | last post by:
I've posted about this subject before but haven't really got anywhere yet. I have now come up with a plan of action that takes into account my strong desire to implement save/discard functionality on all key forms. The first thing to do is to successfully split the database. I then rewrite to support multiple users. To allow the save/discard feature I create copies of the key tables and append the word Final to each one. For example I...
2
2578
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a good while and I'm getting really frustrated now! My problem is this - my custom controls periodically disappear from my
15
2417
by: sparks | last post by:
We get more and more data done in excel and then they want it imported into access. The data is just stupid....values of 1 to 5 we get a lot of 0's ok that alright but 1-jan ? we get colums that are formatted for number and then half way down they are changed to text. OR the famous ok now everything in red is ---- and everything in blue is---------. WTF are these people thinking?
3
2955
by: Water Cooler v2 | last post by:
Questions: 1. Can there be more than a single script block in a given HEAD tag? 2. Can there be more than a single script block in a given BODY tag? To test, I tried the following code. None of the script gets executed. Can someone please give me a direction as to what I may be missing? Thanks.
7
7807
by: Sky | last post by:
I have been looking for a more powerful version of GetType(string) that will find the Type no matter what, and will work even if only supplied "{TypeName}", not the full "{TypeName},{AssemblyName}" As far as I know yet -- hence this question -- there is no 'one solution fits all', but instead there are several parts that have to be put together to check. What I have so far is, and would like as much feedback as possible to ensure I've...
0
8197
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8142
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8640
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8287
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7114
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5548
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4058
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4136
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.