Are there any guidelines for source control?

  • Thread starter Thread starter Mike Kruchten
  • Start date Start date
M

Mike Kruchten

Is there a whitepaper with recommendations for source control setup for a
web site? What I've found so far for the VS.Net documentation recommends
putting as much as possible into a single solution. This would imply putting
the entire web site under one solution, but this sounds rather unwieldly.

Would it make more sense to put each web app into a separate solution? Is
this just trial and error to see what works best?

Mike
 
This issue is FUBAR all right.
Apparently it is resolved by using Visual Studio.NET 2005 aka Whidbey.


--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 
So the entire web site would be in one solution? Is it possible to deploy a
single project (web app) within a solution, or does the whole solution have
to be deployed at once?

Mike Kruchten
 
deployment can be by project.
re-deployment, ie updates, can be just the site.dll or the one .aspx file
(or whatever you updated). As long as versioning isn't an issue for you it
works slick.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
 
Yeah, I've seen that document, it's one of the ones I've found confusing. I
didn't think it was very clear, for example if you have several unrelated
web apps. Why would you want to put them in a single solution? Wouldn't you
want to version each separately, or can you still do that with a single
solution?

And what is the structure within the SCC system in relation to
solutions/projects? We don't use SourceSafe here, we use Starteam. I'd like
to get this right the first time, not after much trial and error.

Mike Kruchten
 
Mike Kruchten said:
Yeah, I've seen that document, it's one of the ones I've found confusing. I
didn't think it was very clear, for example if you have several unrelated
web apps. Why would you want to put them in a single solution? Wouldn't you
want to version each separately, or can you still do that with a single
solution?

If they're unrelated, then don't put them in the same solution. I didn't get
that from the document. We modeled our development environment largely from
that document, and always had unrelated web sites in separate solutions. For
example, I develop a "beta" site. The site's web project, and the database
project for the database it uses, and a web setup project to install it are
all in a single solution.
And what is the structure within the SCC system in relation to
solutions/projects? We don't use SourceSafe here, we use Starteam. I'd like
to get this right the first time, not after much trial and error.

I also stopped using Source(un)Safe, and now use SourceGear Vault. But the
project structure is the same. In the above case, the solution is as
$/Projects/Web Sites/BetaSoln, with the three projects below that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top