473,969 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1255
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*********@ea rthlink.net> wrote in message
news:uT******** ******@TK2MSFTN GP10.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.ne t> wrote in message
news:up******** ******@tk2msftn gp13.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*********@ea rthlink.net> wrote in message
news:uT******** ******@TK2MSFTN GP10.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*********@ea rthlink.net> wrote in message
news:uf******** ******@TK2MSFTN GP10.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.ne t> wrote in message
news:up******** ******@tk2msftn gp13.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*********@ea rthlink.net> wrote in message
news:uT******** ******@TK2MSFTN GP10.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
"applicatio ns." Etrade, for example has banking apps, trading apps, etc in
a single website.
Hope this is clearer,
Dean
"Steve C. Orr, MCSD" <St***@Orr.ne t> wrote in message
news:uD******** ******@TK2MSFTN GP12.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*********@ea rthlink.net> wrote in message
news:uf******** ******@TK2MSFTN GP10.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.ne t> wrote in message
news:up******** ******@tk2msftn gp13.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*********@ea rthlink.net> wrote in message
news:uT******** ******@TK2MSFTN GP10.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*********@ea rthlink.net> wrote in message
news:uR******** ******@TK2MSFTN GP10.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
"applicatio ns." 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.ne t> wrote in message
news:uB******** ******@tk2msftn gp13.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*********@ea rthlink.net> wrote in message
news:uR******** ******@TK2MSFTN GP10.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 "applicatio ns." 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
4343
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 read. Aside from putting all the "h1" rules together, I haven't thought of any way to do it, if it's necessary at all. J.
10
3279
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 implementation and would really appreciate your opinion on whether PostgreSQL is suitable for the project. In general, I am very impressed by the quality of PostgreSQL code and documentation, as well as by the support of the developer community. ...
1
1976
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 the co-existing global.asa and global.asax. If I removed global.aspx but left global.asa with Web.config in the root, used only .aspx (no code- behind) and eliminated /bin folder. It would work just fine. I can type both .asp and .aspx in the...
6
1684
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. In ASP 3, it was nothing more than functions and methods coded in #Include Files. Now ASP.NET offers features such as Page Inheritance and full software development support. So I'm just wondering, what should I do if I have 5 functions, that...
2
2417
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 installing anything on the client (but I hate HTML and markup in general and it's limitations, the request/response model, state management, etc). AFAIK, Smart apps or smart clients or whatever we call them are simply variations of Web applications...
2
2011
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 rel="(alternate )stylesheet" title="..." ... /> element? For example: Are there user agents that have problems with characters like space or apostrophe in the title? Are there user agents that can be configured
1
2573
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 send it to me. Thanks in advance, regards, ...
1
1749
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/ ... src/ play.py
0
4295
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
10338
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
11802
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...
0
11394
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10886
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8447
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6393
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
6531
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3740
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.