Solved

How to best setup an ASP.NET 4.0 project/solution for use by multiple developers

Posted on 2011-09-19
4
376 Views
Last Modified: 2013-11-27
Hello experts,
What's the best way to setup a development environment for more than one ASP.NET developer. We don't have source control, which is itself an issue, but that issue aside, how should I set this up?

Initially I setup a 'web site' with all the asp.net code in there, which pointed directly to the test web server, and when I was the only one developing it worked fine.

Now I think I need to setup a 'web project' because we will have 2-3 developers and I've noticed that when using a 'web site' the .sln and .suo files got saved on my local machine.

We also have a lot of old ASP classic files. Can those be interspersed within the asp.net code using the same folders? Occasionally we have ASP files redirect to ASP.NET files and vice versa.

Thanks for your advice.
0
Comment
Question by:dpicco
  • 2
4 Comments
 
LVL 14

Expert Comment

by:nishant joshi
ID: 36561934
remote desktop connection
0
 
LVL 7

Expert Comment

by:NauticalNonsense
ID: 36562749
I'm using a "web site" with Tortoise SVN. If you're not opposed, there are companies out there that do SVN hosting (Unfuddle.com is the one I use).

Are you working locally or trying to code directly against the server?

I would highly recommend that you get a quick and cheap SVN / Source Control in place, develop locally, and check in and deploy when your code is solid. Always get latest and the source control will allow you to merge files if you're working in the same area. I use TFS at work work, and that's good too but hella overkill for my needs.

The time invested now in getting source control in place will save you 10, 100-fold in the long run. It's not complicated, you can do it yourself if you want, for free, and will save a ton of headache. Seriously. I spend most of my time working by myself on three to four different computers, and SVN has saved me countless times, and I'm just one guy and I usually know what I'm working on!
0
 
LVL 3

Author Comment

by:dpicco
ID: 36562800
NauticalNonsense,

Thanks for your comments. I'll work on the source control next.
We're working directly against a test server right now. I know it's not the best setup.
You're right. I need source control just when I work alone. Definitely need it when more than one developer is involved.

Thanks again.
0
 
LVL 7

Accepted Solution

by:
NauticalNonsense earned 500 total points
ID: 36562895
Yeah, working direct to server is definitely easy, but prone to error.

I use Web Sites mostly (have been meaning to convert to web application projects, but time is so limited, I'd rather write code), and use the Web Deployment Projects for ASP.NET. I build locally, and push that up to the development server. I don't really have to worry about project files and includes with Web Sites because it loads all of that on start, whereas I believe the Web Application Project you'll get into conflicts with other people when you add a file, they add a file, and the project / solution file is out of whack. So be careful there.

Right now I'm on a team of 30 devs building a large wpf app, and we occasionally have project file clashes when people add files. It gets sticky, and we're TFS!

Check to see if the "Web Site" will work just fine with several people in at the same time adding files. If I'm not mistaken, you're actually better off with Web Site because it builds on the fly. The Web Project you have to compile, and if you have 3 people adding new stuff, your SLN may get freaky.

That's my understanding anyway, but a little googling should answer quickly :)
I haven't done much direct dev against a box, it's a lot easier to build everything locally and run it, it's faster, and you don't have to worry about those other jerks screwin' up your code (until checkin time) :D
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question