473,734 Members | 2,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting up an Isolated .NET Team Environment

Hi,

I've done a bit of reading on setting up an Isolated .NET environment for
each of my developers. We all run Windows XP Pro, IIS and have local
instances of SQL Server for development.

I have a few problems that I am trying to work around.

1) All our sites are created using virtual paths. If I am to adopt the
isolated model and develop on each developers machine, when you create
projects locally the web application is created in a subfolder to the web
root. This breaks all our images, javascript files and styles sheets links.

Is there any other solution other than to change the way we reference our
files, so we can then run and debug these projects locally? (These aren't
controls, just simple html tags).

2) I am trying to find a solution/structure on how to setup the developers
machine for the purpose of maintaining/developing the many websites we have.
The developer only needs to be able to work on one website at a time. I was
thinking along the lines of that the developer could check out the latest
version of the code to a directory and then run a script which would change
the home directory of http://localhost to be the project they wished to work
on.

thanks in advance
Ralph

Nov 19 '05 #1
2 1359
On the image and other files situation situation: I assume that the images
and Jscript folders are subfolders of your web project? You have to be
careful how you create the path the those objects. For images, if you are
using an HTML image rather than a ASP.Net image, if you see it in VS.Net,
you probably have the path wrong to see it in a running app. It is usually
better to use the ASP.Net image, because it is smart enough to handle the
path situation. (This is particularly helpful if you are using multiple sub
folders and ASP.Net user controls.) On the JScript files, you just have to
be careful how you create the paths. What you may be doing is giving it a
virtual path that during run time actuall ends up back at the localhost root
rather than the root of the site you are working on. You may need to set
breakpoints at the place where you call the code and see what path is
actually being used. This will help you figure out how to set up your
virtual path info.

We have several developers working on several sites and they have no
problem. We use separate sites under the wwwroot (localhost) folder. We
use Visual SourceSafe and team members check in and out with no problem.
They also know to "get latest version".

There is a very good white paper on the Microsoft site:
http://www.microsoft.com/downloads/d...5-6053F32C7ECA

Hope this helps...

--
-----
Joel Zinn
"Ralph" <Ra***@discussi ons.microsoft.c om> wrote in message
news:E4******** *************** ***********@mic rosoft.com...
Hi,

I've done a bit of reading on setting up an Isolated .NET environment for
each of my developers. We all run Windows XP Pro, IIS and have local
instances of SQL Server for development.

I have a few problems that I am trying to work around.

1) All our sites are created using virtual paths. If I am to adopt the
isolated model and develop on each developers machine, when you create
projects locally the web application is created in a subfolder to the web
root. This breaks all our images, javascript files and styles sheets
links.

Is there any other solution other than to change the way we reference our
files, so we can then run and debug these projects locally? (These aren't
controls, just simple html tags).

2) I am trying to find a solution/structure on how to setup the developers
machine for the purpose of maintaining/developing the many websites we
have.
The developer only needs to be able to work on one website at a time. I
was
thinking along the lines of that the developer could check out the latest
version of the code to a directory and then run a script which would
change
the home directory of http://localhost to be the project they wished to
work
on.

thanks in advance
Ralph

Nov 19 '05 #2
Thanks Joel, I guess I was asking how do others handle the problem of using
virtual paths or web applications that have been built expecting that they
are going to be placed into the root? Particulary for things that aren't
server controlled like simple plain old img tags.

Do most people structure their projects so that old school HTML tags are all
relative so as to avoid this problem?

"Joel Zinn" wrote:
On the image and other files situation situation: I assume that the images
and Jscript folders are subfolders of your web project? You have to be
careful how you create the path the those objects. For images, if you are
using an HTML image rather than a ASP.Net image, if you see it in VS.Net,
you probably have the path wrong to see it in a running app. It is usually
better to use the ASP.Net image, because it is smart enough to handle the
path situation. (This is particularly helpful if you are using multiple sub
folders and ASP.Net user controls.) On the JScript files, you just have to
be careful how you create the paths. What you may be doing is giving it a
virtual path that during run time actuall ends up back at the localhost root
rather than the root of the site you are working on. You may need to set
breakpoints at the place where you call the code and see what path is
actually being used. This will help you figure out how to set up your
virtual path info.

We have several developers working on several sites and they have no
problem. We use separate sites under the wwwroot (localhost) folder. We
use Visual SourceSafe and team members check in and out with no problem.
They also know to "get latest version".

There is a very good white paper on the Microsoft site:
http://www.microsoft.com/downloads/d...5-6053F32C7ECA

Hope this helps...

--
-----
Joel Zinn
"Ralph" <Ra***@discussi ons.microsoft.c om> wrote in message
news:E4******** *************** ***********@mic rosoft.com...
Hi,

I've done a bit of reading on setting up an Isolated .NET environment for
each of my developers. We all run Windows XP Pro, IIS and have local
instances of SQL Server for development.

I have a few problems that I am trying to work around.

1) All our sites are created using virtual paths. If I am to adopt the
isolated model and develop on each developers machine, when you create
projects locally the web application is created in a subfolder to the web
root. This breaks all our images, javascript files and styles sheets
links.

Is there any other solution other than to change the way we reference our
files, so we can then run and debug these projects locally? (These aren't
controls, just simple html tags).

2) I am trying to find a solution/structure on how to setup the developers
machine for the purpose of maintaining/developing the many websites we
have.
The developer only needs to be able to work on one website at a time. I
was
thinking along the lines of that the developer could check out the latest
version of the code to a directory and then run a script which would
change
the home directory of http://localhost to be the project they wished to
work
on.

thanks in advance
Ralph


Nov 19 '05 #3

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

Similar topics

0
1269
by: Eric Elliston | last post by:
Hello, I have set up my development environment to work in an isolated mode for our Web Application we are developing. So, each developer checks the files out from the master source safe library to their local machine and they debug with their local IIS. The bad part is, when we are not in this network, we have no way to access the SQL backend (in any decent response time). Is there a way to SYNC the SQL DB schema also when we are...
1
4549
by: decrypted | last post by:
I want my users to be able to specify where thier configuration files are located for a windows service. Since having startup params don't seem to be a real option here I want to use the registery...however...I can't seem to get that working either. My installation file has the following bit of code... Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("System"); key =...
8
1266
by: Wayne Wengert | last post by:
I am trying to build a VB.NET Windows application in which I want to create an XML file from data collected from the user and stored in arrays. I am looking for any pointers to information on how to accomplish this. TIA Wayne
1
1907
by: malcolm | last post by:
Hello, We use several user controls and derived custom controls. Some of which actually hit the database at design time to show data (such as filling a list box, etc...) Our c# client server app uses the .NET Isolated storage libraries for storing connection string and other info about the application. The problem is that the Isolated storage bombs at design time (when you try and view a control that hits the database at design time).
0
1879
by: Namratha Shah \(Nasha\) | last post by:
Hey Group, After a long week end I am back again. Its nice and refreshing after a short vacation so lets get started with .NET once again. Today we will discuss about Isolated Storage. This is one of the topics which I find interesting as I feel that it has a lot of practical usage or applicability. We all know that all applications need some storage space to archive certain
3
1512
by: Wm. Scott Miller | last post by:
We have been looking at how to develop in a team environment where our servers are all Windows Server 2003 (IIS 6.0) and all our development machines are Windows XP (IIS 5.1). We are doing all ASP.NET applications. We have been using a non-isolated development model (all development happens directly on a server) and it has worked fine with only two developers, but we are expanding and it is no longer an option. The model that we are...
1
6502
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting" setting to be "E_ALL", notices are still not getting reported. The perms on my file are 664, with owner root and group root. The php.ini file is located at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem to be having an effect? ...
2
1632
by: Igor Kaplan | last post by:
Hello python gurus. I got quite unusual problem and all my searches to find the answer on my own were not successful. Here is the scenario: I have the python program, let's call it script1.py, this program needs to execute another python script, let's call it script2.py. In script1.py I have the statement: execfile('script2.py') Everything is fine beside one thing. The script2.py is pretty big python
5
9888
by: =?Utf-8?B?bWFzaXg=?= | last post by:
We have an issue with load time in several installations of our application. We've located the information regarding KB 936707 and ensured that the application config file contains the runtime setting of <generatePublisherEvidence enabled="false"/> but the application still takes over 2 minutes to load. When we disconnect the PC from the network (internet) then the application loads in about 5 seconds. We've ensured the .net 2.0...
0
8946
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
9310
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...
1
9236
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9182
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
6735
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
6031
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
4550
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
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2180
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.