HighTechTalks DotNet Forums  

Multiple instances of web application

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss Multiple instances of web application in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Joerg Schrocke
 
Posts: n/a

Default Multiple instances of web application - 10-21-2005 , 09:42 AM






Hello!

Can run multiple instances of a web application in one IIS or could i get
some problems with them?

Many thanks!

Joerg



Reply With Quote
  #2  
Old   
Alvin Bruney - ASP.NET MVP
 
Posts: n/a

Default Re: Multiple instances of web application - 10-21-2005 , 10:05 AM






How would you address them via url in a browser?
What are you trying to accomplish?

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote

Quote:
Hello!

Can run multiple instances of a web application in one IIS or could i get
some problems with them?

Many thanks!

Joerg





Reply With Quote
  #3  
Old   
S.M. Altaf [MVP]
 
Posts: n/a

Default Re: Multiple instances of web application - 10-21-2005 , 02:28 PM



I really don't think the concept of "instances" applies in the case of ASP.NET applications. Perhaps this is just a bit of bad terminology on your part, when you actually meant something else.

-Altaf
[MVP]



--------------------------------------------------------------------------------

All that glitters has a high refractive index.
www.mendhak.com
"Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote

How would you address them via url in a browser?
What are you trying to accomplish?

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote

Quote:
Hello!

Can run multiple instances of a web application in one IIS or could i get
some problems with them?

Many thanks!

Joerg





Reply With Quote
  #4  
Old   
CT
 
Posts: n/a

Default Re: Multiple instances of web application - 10-22-2005 , 02:04 AM



Joerg,

I am not sure exactly what you mean. If you mean multiple client (browser)
connections/sessions with a single Web app, then no problem. This is the
"default" setup. If you mean having severeal copies of the same Web app
running on IIS simulteneanously, which I suspect you do, you would at least
a way of "separating" the instances using say a naming convention. I'm not
sure what the purpose is, but perhaps this is related to a Web farm and/or
scalability?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote

Quote:
Hello!

Can run multiple instances of a web application in one IIS or could i get
some problems with them?

Many thanks!

Joerg





Reply With Quote
  #5  
Old   
Joerg Schrocke
 
Posts: n/a

Default Re: Multiple instances of web application - 10-23-2005 , 05:29 PM



Hello!

Yes, we have or want to have several copies of a wep app on the iis. I sthis
possible or what you mean with using naming convention.

We wan to use the web app following.

http://ipaddress/WebApp1
http://ipaddress/WebApp2
http://ipaddress/WebApp3

Many thanks,

Joerg
"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote

Quote:
Joerg,

I am not sure exactly what you mean. If you mean multiple client (browser)
connections/sessions with a single Web app, then no problem. This is the
"default" setup. If you mean having severeal copies of the same Web app
running on IIS simulteneanously, which I suspect you do, you would at
least
a way of "separating" the instances using say a naming convention. I'm not
sure what the purpose is, but perhaps this is related to a Web farm and/or
scalability?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23lSJTUk1FHA.3524 (AT) tk2msftngp13 (DOT) phx.gbl...
Hello!

Can run multiple instances of a web application in one IIS or could i
get
some problems with them?

Many thanks!

Joerg







Reply With Quote
  #6  
Old   
CT
 
Posts: n/a

Default Re: Multiple instances of web application - 10-24-2005 , 02:42 AM



Joerg,

Yes, this is possible. The only question is if you want all of the URLs to
point to the same physical folder, or if you want a copy of the Web app in a
seperate folder for each URL?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote

Quote:
Hello!

Yes, we have or want to have several copies of a wep app on the iis. I
sthis
possible or what you mean with using naming convention.

We wan to use the web app following.

http://ipaddress/WebApp1
http://ipaddress/WebApp2
http://ipaddress/WebApp3

Many thanks,

Joerg
"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote in message
news:eawYn5s1FHA.2076 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Joerg,

I am not sure exactly what you mean. If you mean multiple client
(browser)
connections/sessions with a single Web app, then no problem. This is the
"default" setup. If you mean having severeal copies of the same Web app
running on IIS simulteneanously, which I suspect you do, you would at
least
a way of "separating" the instances using say a naming convention. I'm
not
sure what the purpose is, but perhaps this is related to a Web farm
and/or
scalability?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23lSJTUk1FHA.3524 (AT) tk2msftngp13 (DOT) phx.gbl...
Hello!

Can run multiple instances of a web application in one IIS or could i
get
some problems with them?

Many thanks!

Joerg









Reply With Quote
  #7  
Old   
Joerg Schrocke
 
Posts: n/a

Default Re: Multiple instances of web application - 10-24-2005 , 03:08 AM



I want have a folder for each web app. For example:

...inetpub/wwwroot/webapp1
...inetpub/wwwroot/webapp2
...inetpub/wwwroot/webapp3

Joerg

"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote

Quote:
Joerg,

Yes, this is possible. The only question is if you want all of the URLs to
point to the same physical folder, or if you want a copy of the Web app in
a
seperate folder for each URL?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23vg6YiB2FHA.268 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hello!

Yes, we have or want to have several copies of a wep app on the iis. I
sthis
possible or what you mean with using naming convention.

We wan to use the web app following.

http://ipaddress/WebApp1
http://ipaddress/WebApp2
http://ipaddress/WebApp3

Many thanks,

Joerg
"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote in message
news:eawYn5s1FHA.2076 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Joerg,

I am not sure exactly what you mean. If you mean multiple client
(browser)
connections/sessions with a single Web app, then no problem. This is
the
"default" setup. If you mean having severeal copies of the same Web app
running on IIS simulteneanously, which I suspect you do, you would at
least
a way of "separating" the instances using say a naming convention. I'm
not
sure what the purpose is, but perhaps this is related to a Web farm
and/or
scalability?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23lSJTUk1FHA.3524 (AT) tk2msftngp13 (DOT) phx.gbl...
Hello!

Can run multiple instances of a web application in one IIS or could i
get
some problems with them?

Many thanks!

Joerg











Reply With Quote
  #8  
Old   
CT
 
Posts: n/a

Default Re: Multiple instances of web application - 10-24-2005 , 04:06 AM



Okay, so you want this URL, http://servername/webapp1 to point to the
\inetpub\wwwroot\webapp1 physical folder on disk, http://servername/webapp2
to point to the \inetpub\wwwroot\webapp2 folder, and
http://servername/webapp3 to point to the \inetpub\wwwroot\webapp3 folder,
right? Now, you then need a copy of your code in each of these folders, and
I guess this is where your original question is very valid; can this be
problematic. Yes, it can, depening on which resources your application
accesses. If you access a database, your code should handle concurrency
issues, and you might want to go with optimistic concurrency. Having said
that, any Web application needs to handle concurrency issues as you can have
multiple users online simulteanously. In fact, just about all applications
need to cater for concurrency issues these days. :-)

Now, the problem with the suggested setup is if you have any application
wide settings saved to application state, as this isn't possible across your
different Web apps. Well, at least it isn't possible without some quirks, if
you know what I mean. If you happen to save to a file on disk there are also
potential problems, because of locking issues.

I'm sure there are other things to look out for, but to keep it short, your
idea can work. Now that's out of the way, can you possibly tell me why you
want to do it this way?


--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote

Quote:
I want have a folder for each web app. For example:

..inetpub/wwwroot/webapp1
..inetpub/wwwroot/webapp2
..inetpub/wwwroot/webapp3

Joerg

"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote in message
news:eYLSOYG2FHA.3924 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Joerg,

Yes, this is possible. The only question is if you want all of the URLs
to
point to the same physical folder, or if you want a copy of the Web app
in
a
seperate folder for each URL?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23vg6YiB2FHA.268 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hello!

Yes, we have or want to have several copies of a wep app on the iis. I
sthis
possible or what you mean with using naming convention.

We wan to use the web app following.

http://ipaddress/WebApp1
http://ipaddress/WebApp2
http://ipaddress/WebApp3

Many thanks,

Joerg
"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote in message
news:eawYn5s1FHA.2076 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Joerg,

I am not sure exactly what you mean. If you mean multiple client
(browser)
connections/sessions with a single Web app, then no problem. This is
the
"default" setup. If you mean having severeal copies of the same Web
app
running on IIS simulteneanously, which I suspect you do, you would at
least
a way of "separating" the instances using say a naming convention. I'm
not
sure what the purpose is, but perhaps this is related to a Web farm
and/or
scalability?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23lSJTUk1FHA.3524 (AT) tk2msftngp13 (DOT) phx.gbl...
Hello!

Can run multiple instances of a web application in one IIS or could
i
get
some problems with them?

Many thanks!

Joerg













Reply With Quote
  #9  
Old   
Joerg Schrocke
 
Posts: n/a

Default Re: Multiple instances of web application - 10-24-2005 , 07:55 AM



We need this, because we want to use the webApp for different projects. Each
project should have its own webApp with the own web.config, where for
example the connection string is stored. Each wepApp has its own database.

Joerg

"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote

Quote:
Okay, so you want this URL, http://servername/webapp1 to point to the
\inetpub\wwwroot\webapp1 physical folder on disk,
http://servername/webapp2
to point to the \inetpub\wwwroot\webapp2 folder, and
http://servername/webapp3 to point to the \inetpub\wwwroot\webapp3 folder,
right? Now, you then need a copy of your code in each of these folders,
and
I guess this is where your original question is very valid; can this be
problematic. Yes, it can, depening on which resources your application
accesses. If you access a database, your code should handle concurrency
issues, and you might want to go with optimistic concurrency. Having said
that, any Web application needs to handle concurrency issues as you can
have
multiple users online simulteanously. In fact, just about all applications
need to cater for concurrency issues these days. :-)

Now, the problem with the suggested setup is if you have any application
wide settings saved to application state, as this isn't possible across
your
different Web apps. Well, at least it isn't possible without some quirks,
if
you know what I mean. If you happen to save to a file on disk there are
also
potential problems, because of locking issues.

I'm sure there are other things to look out for, but to keep it short,
your
idea can work. Now that's out of the way, can you possibly tell me why you
want to do it this way?


--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23lC3KmG2FHA.3188 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
I want have a folder for each web app. For example:

..inetpub/wwwroot/webapp1
..inetpub/wwwroot/webapp2
..inetpub/wwwroot/webapp3

Joerg

"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote in message
news:eYLSOYG2FHA.3924 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Joerg,

Yes, this is possible. The only question is if you want all of the URLs
to
point to the same physical folder, or if you want a copy of the Web app
in
a
seperate folder for each URL?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23vg6YiB2FHA.268 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hello!

Yes, we have or want to have several copies of a wep app on the iis.
I
sthis
possible or what you mean with using naming convention.

We wan to use the web app following.

http://ipaddress/WebApp1
http://ipaddress/WebApp2
http://ipaddress/WebApp3

Many thanks,

Joerg
"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote in message
news:eawYn5s1FHA.2076 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Joerg,

I am not sure exactly what you mean. If you mean multiple client
(browser)
connections/sessions with a single Web app, then no problem. This is
the
"default" setup. If you mean having severeal copies of the same Web
app
running on IIS simulteneanously, which I suspect you do, you would
at
least
a way of "separating" the instances using say a naming convention.
I'm
not
sure what the purpose is, but perhaps this is related to a Web farm
and/or
scalability?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23lSJTUk1FHA.3524 (AT) tk2msftngp13 (DOT) phx.gbl...
Hello!

Can run multiple instances of a web application in one IIS or
could
i
get
some problems with them?

Many thanks!

Joerg















Reply With Quote
  #10  
Old   
CT
 
Posts: n/a

Default Re: Multiple instances of web application - 10-24-2005 , 08:40 AM



In that case you should be safe with the suggested setup. :-)

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote

Quote:
We need this, because we want to use the webApp for different projects.
Each
project should have its own webApp with the own web.config, where for
example the connection string is stored. Each wepApp has its own database.

Joerg

"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote in message
news:OmfaiHH2FHA.3864 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Okay, so you want this URL, http://servername/webapp1 to point to the
\inetpub\wwwroot\webapp1 physical folder on disk,
http://servername/webapp2
to point to the \inetpub\wwwroot\webapp2 folder, and
http://servername/webapp3 to point to the \inetpub\wwwroot\webapp3
folder,
right? Now, you then need a copy of your code in each of these folders,
and
I guess this is where your original question is very valid; can this be
problematic. Yes, it can, depening on which resources your application
accesses. If you access a database, your code should handle concurrency
issues, and you might want to go with optimistic concurrency. Having said
that, any Web application needs to handle concurrency issues as you can
have
multiple users online simulteanously. In fact, just about all
applications
need to cater for concurrency issues these days. :-)

Now, the problem with the suggested setup is if you have any application
wide settings saved to application state, as this isn't possible across
your
different Web apps. Well, at least it isn't possible without some quirks,
if
you know what I mean. If you happen to save to a file on disk there are
also
potential problems, because of locking issues.

I'm sure there are other things to look out for, but to keep it short,
your
idea can work. Now that's out of the way, can you possibly tell me why
you
want to do it this way?


--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23lC3KmG2FHA.3188 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
I want have a folder for each web app. For example:

..inetpub/wwwroot/webapp1
..inetpub/wwwroot/webapp2
..inetpub/wwwroot/webapp3

Joerg

"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote in message
news:eYLSOYG2FHA.3924 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Joerg,

Yes, this is possible. The only question is if you want all of the
URLs
to
point to the same physical folder, or if you want a copy of the Web
app
in
a
seperate folder for each URL?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23vg6YiB2FHA.268 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hello!

Yes, we have or want to have several copies of a wep app on the iis.
I
sthis
possible or what you mean with using naming convention.

We wan to use the web app following.

http://ipaddress/WebApp1
http://ipaddress/WebApp2
http://ipaddress/WebApp3

Many thanks,

Joerg
"CT" <carstent (AT) spammersgoawayintegrasol (DOT) dk> wrote in message
news:eawYn5s1FHA.2076 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Joerg,

I am not sure exactly what you mean. If you mean multiple client
(browser)
connections/sessions with a single Web app, then no problem. This
is
the
"default" setup. If you mean having severeal copies of the same Web
app
running on IIS simulteneanously, which I suspect you do, you would
at
least
a way of "separating" the instances using say a naming convention.
I'm
not
sure what the purpose is, but perhaps this is related to a Web farm
and/or
scalability?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Joerg Schrocke" <speedy1179 (AT) web (DOT) de> wrote in message
news:%23lSJTUk1FHA.3524 (AT) tk2msftngp13 (DOT) phx.gbl...
Hello!

Can run multiple instances of a web application in one IIS or
could
i
get
some problems with them?

Many thanks!

Joerg

















Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.