473,320 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Organizing apps on a web site

I have several ASP.NET applications that I want to put onto a new website.
Each app is currently its own solutions with it's own global.asax, etc..

What is the right way to deploy multiple asp.net applications onto a single
website? Does each one just go into a subordinate directory below the main
directory which is under wwwroot? Is there a problem with all of the
global.asax files?

Thanks,
Dean
Nov 17 '05 #1
6 1234
If you're saying you want to copy all your apps to a single web server, then
your description of how to do it is correct. (And you'd also need to
configure each of the subdirectories (directly under wwwroot) as
applications in IIS.)

If you want to merge all your individual web applications into a single web
application then that would be much more complicated and you'd need to
manually merge the global.asax, web.config, and other such files.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com
"Dean" <de*********@earthlink.net> wrote in message
news:uT**************@TK2MSFTNGP10.phx.gbl...
I have several ASP.NET applications that I want to put onto a new website.
Each app is currently its own solutions with it's own global.asax, etc..

What is the right way to deploy multiple asp.net applications onto a single website? Does each one just go into a subordinate directory below the main directory which is under wwwroot? Is there a problem with all of the
global.asax files?

Thanks,
Dean

Nov 17 '05 #2
Steve:
Since I said "website" and you said "web server" I just want to make sure we
are discussing the same thing...

I will have shared website at my web hoster (not a dedicated server). I
think that means that I get a virtual directory under my hosters wwwroot.
My directory will be named DeansWeb where I will have some intorductory html
pages. Below the DeansWeb directory I will have a subdirectory for each of
my ASP.Net apps.

Is that the right way to do it?
Thanks,
Dean
"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:up**************@tk2msftngp13.phx.gbl...
If you're saying you want to copy all your apps to a single web server, then your description of how to do it is correct. (And you'd also need to
configure each of the subdirectories (directly under wwwroot) as
applications in IIS.)

If you want to merge all your individual web applications into a single web application then that would be much more complicated and you'd need to
manually merge the global.asax, web.config, and other such files.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com
"Dean" <de*********@earthlink.net> wrote in message
news:uT**************@TK2MSFTNGP10.phx.gbl...
I have several ASP.NET applications that I want to put onto a new website. Each app is currently its own solutions with it's own global.asax, etc..

What is the right way to deploy multiple asp.net applications onto a

single
website? Does each one just go into a subordinate directory below the

main
directory which is under wwwroot? Is there a problem with all of the
global.asax files?

Thanks,
Dean


Nov 17 '05 #3
OIC what U mean now.
Well you'll have to talk to your web hoster to be sure, but generally you
pay for one web application and you get one web application.
If you determine its ok for your apps to all share the same Application
variables & such then you could merge them together, but you'll likely have
to do it the hard way.
I think you really need to understand more about what exactly a web
application is.
Here's more info:
http://www.igeek.com/articles/Web/WebApp.txt
http://www.boxesandarrows.com/archiv...pplication.php
http://davenet.userland.com/2000/03/...WebApplication

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Dean" <de*********@earthlink.net> wrote in message
news:uf**************@TK2MSFTNGP10.phx.gbl...
Steve:
Since I said "website" and you said "web server" I just want to make sure we are discussing the same thing...

I will have shared website at my web hoster (not a dedicated server). I
think that means that I get a virtual directory under my hosters wwwroot.
My directory will be named DeansWeb where I will have some intorductory html pages. Below the DeansWeb directory I will have a subdirectory for each of my ASP.Net apps.

Is that the right way to do it?
Thanks,
Dean
"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:up**************@tk2msftngp13.phx.gbl...
If you're saying you want to copy all your apps to a single web server,

then
your description of how to do it is correct. (And you'd also need to
configure each of the subdirectories (directly under wwwroot) as
applications in IIS.)

If you want to merge all your individual web applications into a single

web
application then that would be much more complicated and you'd need to
manually merge the global.asax, web.config, and other such files.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com
"Dean" <de*********@earthlink.net> wrote in message
news:uT**************@TK2MSFTNGP10.phx.gbl...
I have several ASP.NET applications that I want to put onto a new website. Each app is currently its own solutions with it's own global.asax, etc..
What is the right way to deploy multiple asp.net applications onto a

single
website? Does each one just go into a subordinate directory below the

main
directory which is under wwwroot? Is there a problem with all of the
global.asax files?

Thanks,
Dean



Nov 17 '05 #4
I read those three articles and they are very basic and of no technical use.
We are having a failure to communicate.

Let me try to communicate more clearly. My definition of a website, in IIS,
is that I get a Virtual Directory. I can have any number of ASPX pages,
HTML pages, and I can have a global.asax. Can I have more than one
global.asax in a hierarchy within an IIS virtual directory? In other words
can I have the following:
\wwwroot
\DeansWeb directory
default.aspx
\appone directory
appone.aspx
global.asax
\apptwo directory
apptwo.aspx
global.asax

In this example above I have two asp.net applications that coexist in one
website. For instance there are thousands of websites that have multiple
"applications." Etrade, for example has banking apps, trading apps, etc in
a single website.
Hope this is clearer,
Dean
"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:uD**************@TK2MSFTNGP12.phx.gbl...
OIC what U mean now.
Well you'll have to talk to your web hoster to be sure, but generally you
pay for one web application and you get one web application.
If you determine its ok for your apps to all share the same Application
variables & such then you could merge them together, but you'll likely have to do it the hard way.
I think you really need to understand more about what exactly a web
application is.
Here's more info:
http://www.igeek.com/articles/Web/WebApp.txt
http://www.boxesandarrows.com/archiv...pplication.php
http://davenet.userland.com/2000/03/...WebApplication

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Dean" <de*********@earthlink.net> wrote in message
news:uf**************@TK2MSFTNGP10.phx.gbl...
Steve:
Since I said "website" and you said "web server" I just want to make sure
we
are discussing the same thing...

I will have shared website at my web hoster (not a dedicated server). I
think that means that I get a virtual directory under my hosters wwwroot. My directory will be named DeansWeb where I will have some intorductory

html
pages. Below the DeansWeb directory I will have a subdirectory for each

of
my ASP.Net apps.

Is that the right way to do it?
Thanks,
Dean
"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:up**************@tk2msftngp13.phx.gbl...
If you're saying you want to copy all your apps to a single web server,
then
your description of how to do it is correct. (And you'd also need to
configure each of the subdirectories (directly under wwwroot) as
applications in IIS.)

If you want to merge all your individual web applications into a
single web
application then that would be much more complicated and you'd need to
manually merge the global.asax, web.config, and other such files.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com
"Dean" <de*********@earthlink.net> wrote in message
news:uT**************@TK2MSFTNGP10.phx.gbl...
> I have several ASP.NET applications that I want to put onto a new

website.
> Each app is currently its own solutions with it's own global.asax,

etc.. >
> What is the right way to deploy multiple asp.net applications onto a
single
> website? Does each one just go into a subordinate directory below

the main
> directory which is under wwwroot? Is there a problem with all of the > global.asax files?
>
> Thanks,
> Dean
>
>



Nov 17 '05 #5
You can only have one global.asax per web application.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Dean" <de*********@earthlink.net> wrote in message
news:uR**************@TK2MSFTNGP10.phx.gbl...
I read those three articles and they are very basic and of no technical use. We are having a failure to communicate.

Let me try to communicate more clearly. My definition of a website, in IIS, is that I get a Virtual Directory. I can have any number of ASPX pages,
HTML pages, and I can have a global.asax. Can I have more than one
global.asax in a hierarchy within an IIS virtual directory? In other words can I have the following:
\wwwroot
\DeansWeb directory
default.aspx
\appone directory
appone.aspx
global.asax
\apptwo directory
apptwo.aspx
global.asax

In this example above I have two asp.net applications that coexist in one
website. For instance there are thousands of websites that have multiple
"applications." Etrade, for example has banking apps, trading apps, etc in a single website.
Hope this is clearer,
Dean

Nov 17 '05 #6
Yes, I know that. But the question at the beginning of this thread was...

Can I have two web applications in a website?

"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:uB**************@tk2msftngp13.phx.gbl...
You can only have one global.asax per web application.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Dean" <de*********@earthlink.net> wrote in message
news:uR**************@TK2MSFTNGP10.phx.gbl...
I read those three articles and they are very basic and of no technical

use.
We are having a failure to communicate.

Let me try to communicate more clearly. My definition of a website, in

IIS,
is that I get a Virtual Directory. I can have any number of ASPX pages,
HTML pages, and I can have a global.asax. Can I have more than one
global.asax in a hierarchy within an IIS virtual directory? In other

words
can I have the following:
\wwwroot
\DeansWeb directory
default.aspx
\appone directory
appone.aspx
global.asax
\apptwo directory
apptwo.aspx
global.asax

In this example above I have two asp.net applications that coexist in one website. For instance there are thousands of websites that have multiple "applications." Etrade, for example has banking apps, trading apps, etc

in
a single website.
Hope this is clearer,
Dean


Nov 17 '05 #7

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

Similar topics

3
by: Jamie | last post by:
Hi, Thanks for the excellent answer to my last question! One more: Does anyone have a method they follow for organizing stylesheets themselves? They seem like they can get bloated and hard to...
10
by: Rada Chirkova | last post by:
Hi, at NC State University, my students and I are working on a project called "self-organizing databases," please see description below. I would like to use an open-source database system for...
1
by: Steve | last post by:
I have mixed ASP.NET and classic ASP apps environment, ASP.NET needs to invoke classic ASP. I had problems to put these two apps in the same site(or vir-dir). It seems that IIS gets confused by...
6
by: Don Wash | last post by:
Hi All! I'm developing ASP.NET pages using VB.NET language. My background is VB6 and ASP3. Right now, I'm evaluating strategies on creating reusable and common functions and methods for ASP.NET....
2
by: Jeff | last post by:
Please note this is NOT a rant or complaint! And yes, I'm over-simplifying, but intentionally. Here goes... With ASP.NET Web applications I like that I can access data from anywhere without...
2
by: Hallvard B Furuseth | last post by:
Are there any guidelines or conventions for how to organize the preferred and alternate style sheets for a site, sheets for different media, and what titles to give them in the <link...
1
by: Ushach | last post by:
hi, I want to know about Self Organizing maps.T ounderstand the concept ,I need a small example which explains how clustering is done through self organizing maps?If any body implemented it plz...
1
by: eliben | last post by:
Hello, At the moment, I place all the code of my project in a src/ directory, and all the tests in a sibling tests/ directory, so for instance a sample project can look like this: doc/ ......
0
Dormilich
by: Dormilich | last post by:
Organize your Scripts what you should have: basic Javascript understanding a standard compliant browser additional goodies: Firefox with the Firebug plugin installed
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.