473,804 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Developing lots of top level webs - whats the best method?

I'm new to ASP.NET, but 5+ years experienced with conventional ASP. We
currently use "non-isolated" development using Frontpage Extensions for lots
of websites (100+).

To move to ASP.NET, I've read the numerous documents on .NET Team
development at
http://msdn.microsoft.com/library/de...l/tdlg_ch3.asp,
and think that Isolated development is the best solution for us (using VSS
for source control).

However, using Isolated development, if my understanding is correct, each
web application would be created at http://localhost/webapplication1,
http://localhost/webapplication2 etc.

This leads to a problem as each web application needs to be a top level web
so that from "webapplication 2" there is no way of accessing
"webapplication 1" files and vice-versa. Also from any page within
"webapplication 1" we want to access things like images from the root, e.g.
"/images" and not use the "../../../images" etc convention.

Is there any way of doing this using the Isolated model, or do we have to
use semi-isolated? Any experiences of anyone would be appreciated.
Nov 18 '05 #1
1 1244
"Martin Zachs" <ma**@in.freese rve.co.uk> wrote in message
news:Ol******** ******@tk2msftn gp13.phx.gbl...
I'm new to ASP.NET, but 5+ years experienced with conventional ASP. We
currently use "non-isolated" development using Frontpage Extensions for lots of websites (100+).

To move to ASP.NET, I've read the numerous documents on .NET Team
development at
http://msdn.microsoft.com/library/de...l/tdlg_ch3.asp, and think that Isolated development is the best solution for us (using VSS
for source control).

However, using Isolated development, if my understanding is correct, each
web application would be created at http://localhost/webapplication1,
http://localhost/webapplication2 etc.

This leads to a problem as each web application needs to be a top level web so that from "webapplication 2" there is no way of accessing
"webapplication 1" files and vice-versa. Also from any page within
"webapplication 1" we want to access things like images from the root, e.g.
"/images" and not use the "../../../images" etc convention.

Is there any way of doing this using the Isolated model, or do we have to
use semi-isolated? Any experiences of anyone would be appreciated.


You can do it fine with isolated mode.

Although you may develop the web site at http://localhost/webapplication1,
you can still deploy it to http://webapplication1.domain.com/.

Be careful of URLs. Relative URLs will work fine no matter where the site is
deployed, but absolute URLs will obviously fail in one location or the
other. A third kind of URL can be used with any server-side controls. The
URL "~/images/spacer.gif" would refer to
"http://localhost/webapplication1/images/spacer.gif" on a developer
workstation, but to "http://webapplication1 .domain.com/images/spacer.gif" on
the production site.
--
John Saunders
johnwsaundersii i at hotmail
Nov 18 '05 #2

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

Similar topics

1
1239
by: mark | r | last post by:
whats the difference between PostgreSQL and MySql does my NT server have to have any thing special running to allow me to set up one of these (like MsAccess?) whats the best learning resource for xSQL and NT? thanks mark
53
2143
by: vighnesh | last post by:
Hello Everyone I am about to develop a project like Registry Mechanic using either VB.NET or C#.NET. But I dont know is it worth while in using these languages ? I mean is there necessary support provided in .NET to accomplish this task? If Provided please suggest me the approach. Regards
53
2233
by: vighnesh | last post by:
Hello Everyone I am about to develop a project like Registry Mechanic using either VB.NET or C#.NET. But I dont know is it worth while in using these languages ? I mean is there necessary support provided in .NET to accomplish this task? If Provided please suggest me the approach. Regards
23
2002
by: Louly | last post by:
Hi everybody, I'm a 22 yrs old girl. I've been developing a Database for 6 months no using Access. A week ago I had this feeling that I'm wasting my time in Access. I don't think it's wise to keep on working with Access. Instead I think I should consider learning and being a certified Oracle proffessional or something. What do you guys think? Thanks for your help. Miriam
0
9710
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
9589
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
10593
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
10340
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
10085
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
7626
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
6858
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
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3830
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.