Published 9 years ago
Over the past weeks I received a number of requests to explain how I typically set up my Visual Studio projects so they are easy to manage across a team that uses Team Foundation Server (TFS). I received another request from a client just this week and instead of helping him over the phone or paying him a visit and do it for him, I decided to write a quick document with instructions which eventually resulted in this article.
In this article you'll see how to create a multi-project solution in Visual Studio. I'll show you how you can use this structure to set up an ASP.NET MVC 3 application with a separate class library project for business logic and one or more unit test projects. However, you can use the exact same principles for other types of Visual Studio projects such as Web Forms, Win Forms, WCF and more. Over the past years, I found that this set up brings me the following benefits:
- It has a clear structure, making it easy to figure out where to find or store something
- It can be retrieved from TFS without any hassle
- It allows for easy branching
- It resolves most reference issues to third party assemblies
This is just my take at setting it up. If you find anything wrong, or have better alternatives to accomplish the same thing: feel free to speak up using the Comments section at the end of this article.
Without further ado, let's get started.Read on ...
Published 10 years ago
Ever since Microsoft released ASP.NET in 2002, web developers have been able to use a powerful platform to build a wide range of web applications and services. But this power comes at a price. Getting started with ASP.NET takes quite some time and effort. Before you can run your first Hello World page, you need to download and install a lot of software, taking up quite a bit of time and bandwidth. You need Visual Web Developer (Express), you need SQL Server (Express or any other version) and you may need IIS if you want to test out more realistic scenarios, some of which require special privileges for the account you use on your machine. Once you have all the tools, the real work begins. My latest book, Beginning ASP.NET 4 in C# and VB needed 803 pages to take you from a developer newbie to a competent ASP.NET web developer.
In other words, you're facing quite some hurdles when you want to start developing web applications on the Microsoft platform, especially if you're a hobbyist web developer.
To make the Microsoft stack more appealing to beginning web developers, Microsoft is introducing WebMatrix.Read on ...