Solved

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

Posted on 2011-09-19
4
369 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
The viewer will learn how to count occurrences of each item in an array.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now