473,386 Members | 1,812 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,386 software developers and data experts.

Multiple NET apps under 1 domain

Hello everyone -

Newbie here with another dumb question :-)

I want to have several apps under 1 domain - basically the domain root for
general users and then an "admin" folder with a database utility

www.generalusers.com
www.generalusers.com/admin

So the world will go to www.generalusers.com (Default.aspx) and see the
website and maybe fill out a form which is stored in a db.

The admin dba will go to www.generalusers.com/admin/admin.aspx and do
his/her stuff.

But if I set this up ( in 2 different VS 2005 solutions), when I publish the
admin app it erases the generalusers folder. During publish there is a
dialog box that comes up that asks is it ok to erase. If I say 'no' then
the publish fails.

How do I set this up?

There also seems to be a 'precompileapp.config' file which is written to the
domain root which I think will interfere with the generalusers app.

How do I stop the admin publishing from deleting everything in the root
folder?

Many thanks in advance.

Regards,
bruce

Oct 4 '07 #1
4 1822
Looks like you want to create two distinct applications. My personal
preference would be likely to put each one in its own folder and use a
virtual folder inside the main web application to map /admin to the location
for the admin application (also defined as a web application).

See :
http://support.microsoft.com/kb/301392

--
Patrice


"nospam" <no@spam.orga écrit dans le message de news:
N68Ni.30774$jC5.27661@trnddc04...
Hello everyone -

Newbie here with another dumb question :-)

I want to have several apps under 1 domain - basically the domain root for
general users and then an "admin" folder with a database utility

www.generalusers.com
www.generalusers.com/admin

So the world will go to www.generalusers.com (Default.aspx) and see the
website and maybe fill out a form which is stored in a db.

The admin dba will go to www.generalusers.com/admin/admin.aspx and do
his/her stuff.

But if I set this up ( in 2 different VS 2005 solutions), when I publish
the admin app it erases the generalusers folder. During publish there is
a dialog box that comes up that asks is it ok to erase. If I say 'no'
then the publish fails.

How do I set this up?

There also seems to be a 'precompileapp.config' file which is written to
the domain root which I think will interfere with the generalusers app.

How do I stop the admin publishing from deleting everything in the root
folder?

Many thanks in advance.

Regards,
bruce



Oct 4 '07 #2
Thanks for the reply Patrice.

Yes I do have 2 apps. I don't have access to IIS. I do my development using
VS 2005 and their local pseudo IIS server.

I have 2 VS solutions which need to be published to the same domain.
I could combine the two ( and sort out all of the connection string possible
namespace collisions).
I was looking for the ability to maintain 2 VS solutions that point to the
same domain - for example
www.main.com for the world
www.main.com/admin/admin.aspx only for DBA

It doesn't look like the publish functionality supports this intuitively. I
dk.

"Patrice" <http://www.chez.com/scribe/wrote in message
news:ub**************@TK2MSFTNGP04.phx.gbl...
Looks like you want to create two distinct applications. My personal
preference would be likely to put each one in its own folder and use a
virtual folder inside the main web application to map /admin to the
location for the admin application (also defined as a web application).

See :
http://support.microsoft.com/kb/301392

--
Patrice


"nospam" <no@spam.orga écrit dans le message de news:
N68Ni.30774$jC5.27661@trnddc04...
>Hello everyone -

Newbie here with another dumb question :-)

I want to have several apps under 1 domain - basically the domain root
for general users and then an "admin" folder with a database utility

www.generalusers.com
www.generalusers.com/admin

So the world will go to www.generalusers.com (Default.aspx) and see the
website and maybe fill out a form which is stored in a db.

The admin dba will go to www.generalusers.com/admin/admin.aspx and do
his/her stuff.

But if I set this up ( in 2 different VS 2005 solutions), when I publish
the admin app it erases the generalusers folder. During publish there is
a dialog box that comes up that asks is it ok to erase. If I say 'no'
then the publish fails.

How do I set this up?

There also seems to be a 'precompileapp.config' file which is written to
the domain root which I think will interfere with the generalusers app.

How do I stop the admin publishing from deleting everything in the root
folder?

Many thanks in advance.

Regards,
bruce




Oct 4 '07 #3
My personal preferences would be :
- to use a virtual dir so that each application is in its own physical
directory (and not one as a subfolder in the main one)
- to combine both
- to deploy them NOT using the publish functionality (you could likely use
FTP).

As a side note if you don"t have access to IIS how could you anyway define
the /admin directory as being an IIS application ?

Good luck.

--
Patrice
"nospam" <no@spam.orga écrit dans le message de news:
TK8Ni.11489$ht5.3885@trnddc02...
Thanks for the reply Patrice.

Yes I do have 2 apps. I don't have access to IIS. I do my development
using VS 2005 and their local pseudo IIS server.

I have 2 VS solutions which need to be published to the same domain.
I could combine the two ( and sort out all of the connection string
possible namespace collisions).
I was looking for the ability to maintain 2 VS solutions that point to the
same domain - for example
www.main.com for the world
www.main.com/admin/admin.aspx only for DBA

It doesn't look like the publish functionality supports this intuitively.
I dk.

"Patrice" <http://www.chez.com/scribe/wrote in message
news:ub**************@TK2MSFTNGP04.phx.gbl...
>Looks like you want to create two distinct applications. My personal
preference would be likely to put each one in its own folder and use a
virtual folder inside the main web application to map /admin to the
location for the admin application (also defined as a web application).

See :
http://support.microsoft.com/kb/301392

--
Patrice


"nospam" <no@spam.orga écrit dans le message de news:
N68Ni.30774$jC5.27661@trnddc04...
>>Hello everyone -

Newbie here with another dumb question :-)

I want to have several apps under 1 domain - basically the domain root
for general users and then an "admin" folder with a database utility

www.generalusers.com
www.generalusers.com/admin

So the world will go to www.generalusers.com (Default.aspx) and see the
website and maybe fill out a form which is stored in a db.

The admin dba will go to www.generalusers.com/admin/admin.aspx and do
his/her stuff.

But if I set this up ( in 2 different VS 2005 solutions), when I publish
the admin app it erases the generalusers folder. During publish there
is a dialog box that comes up that asks is it ok to erase. If I say
'no' then the publish fails.

How do I set this up?

There also seems to be a 'precompileapp.config' file which is written to
the domain root which I think will interfere with the generalusers app.

How do I stop the admin publishing from deleting everything in the root
folder?

Many thanks in advance.

Regards,
bruce





Oct 4 '07 #4
Patrice,
Thanks for your reply.
I have bitten the bullet and merged the 2 VS solutions into 1.
I guess I am an old crusty C++ programmer and developed the 2 individual
solutions from habit.

In regards to IIS, I use Visual Studio to display my applications in a
browser.
When I do this a process starts up locally named "Visual Studio Development
Server".
I guess that is acting as IIS.

Regards,
bruce

"Patrice" <http://www.chez.com/scribe/wrote in message
news:eN****************@TK2MSFTNGP03.phx.gbl...
My personal preferences would be :
- to use a virtual dir so that each application is in its own physical
directory (and not one as a subfolder in the main one)
- to combine both
- to deploy them NOT using the publish functionality (you could likely use
FTP).

As a side note if you don"t have access to IIS how could you anyway define
the /admin directory as being an IIS application ?

Good luck.

--
Patrice
"nospam" <no@spam.orga écrit dans le message de news:
TK8Ni.11489$ht5.3885@trnddc02...
>Thanks for the reply Patrice.

Yes I do have 2 apps. I don't have access to IIS. I do my development
using VS 2005 and their local pseudo IIS server.

I have 2 VS solutions which need to be published to the same domain.
I could combine the two ( and sort out all of the connection string
possible namespace collisions).
I was looking for the ability to maintain 2 VS solutions that point to
the same domain - for example
www.main.com for the world
www.main.com/admin/admin.aspx only for DBA

It doesn't look like the publish functionality supports this intuitively.
I dk.

"Patrice" <http://www.chez.com/scribe/wrote in message
news:ub**************@TK2MSFTNGP04.phx.gbl...
>>Looks like you want to create two distinct applications. My personal
preference would be likely to put each one in its own folder and use a
virtual folder inside the main web application to map /admin to the
location for the admin application (also defined as a web application).

See :
http://support.microsoft.com/kb/301392

--
Patrice


"nospam" <no@spam.orga écrit dans le message de news:
N68Ni.30774$jC5.27661@trnddc04...
Hello everyone -

Newbie here with another dumb question :-)

I want to have several apps under 1 domain - basically the domain root
for general users and then an "admin" folder with a database utility

www.generalusers.com
www.generalusers.com/admin

So the world will go to www.generalusers.com (Default.aspx) and see the
website and maybe fill out a form which is stored in a db.

The admin dba will go to www.generalusers.com/admin/admin.aspx and do
his/her stuff.

But if I set this up ( in 2 different VS 2005 solutions), when I
publish the admin app it erases the generalusers folder. During
publish there is a dialog box that comes up that asks is it ok to
erase. If I say 'no' then the publish fails.

How do I set this up?

There also seems to be a 'precompileapp.config' file which is written
to the domain root which I think will interfere with the generalusers
app.

How do I stop the admin publishing from deleting everything in the root
folder?

Many thanks in advance.

Regards,
bruce





Oct 5 '07 #5

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

Similar topics

1
by: nomad7 | last post by:
Hi, This my problem, we are migrating our intranet from IIS5 to IIS6 an have decided to split various sections of the intranet to seperat domain hosts, e.g. we had: www.intra.domain.com BUT...
1
by: d.schulz81 | last post by:
Holas, I want to do the following: If one entry in multiple select "domain" is selected, i want to change the content in dropdown "typ" dynamically according to the selected domain. If more...
0
by: Fred Palmer | last post by:
Hi all, Can anyone point out some best practices for handling cookies with multiple domains aliases? The problem is that I've got a site with multiple domain aliases and I want them to all...
3
by: DJT | last post by:
I have 2 applications that are configured to work with ASP.NET (ie. app1.domain.com and app2.domain.com). App1 has been working (with infrequent aspnet_wp recycling) for quite awhile. Recently,...
2
by: John Holmes | last post by:
I've got a test webserver setup on our intranet on the same domain that I and other developers are on. We create and edit our web projects from that location. If one person is running their project...
4
by: Jeff | last post by:
We have multiple ASP.Net web apps in development. As a standard we are looking to go with SQL Server to hold state information. Can we have the multiple apps all point to a single State DB? Or...
22
by: Brett Romero | last post by:
If my UI app uses three DLLs and two of those DLLs reference something named utilities.dll, does the UI app load utilities.dll twice or does the compiler recognize what is going on and load...
8
by: GaryDean | last post by:
I have a client with a need for multiple app authentication. The apps are all asp.net apps but may be on different servers. The user just wants a single logon and them be free to use five or six...
1
by: domnicx | last post by:
Hi, I am using the httpweblistener class to build a web server kinda functionality. I have to send multiple set-cookie headers in a single response when queried for a particular request and i...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...

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.