Questions tagged [projects-and-solutions]

53 questions
113
votes
12 answers

Best practices for sharing tiny snippets of code across projects

I always try to follow the DRY principle strictly at work; every time I've repeated code out of laziness it bites back later when I need to maintain that code in two places. But often I write small methods (maybe 10 - 15 lines of code) that need to…
George Powell
  • 1,386
  • 2
  • 11
  • 11
53
votes
2 answers

How should C++ Unit Test code be organized for maximum Unit Test efficiency?

This question is not about Unit Testing Frameworks. This question is not about writing Unit Tests. This question is about where to put the UT code written and how/when/where to compile and run it. In Working Effectively with Legacy Code, Michael…
Martin Ba
  • 7,578
  • 7
  • 34
  • 56
29
votes
5 answers

Multi-tenancy - single database vs multiple database

We have a number of clients, whose systems share some functionality, but also have quite a degree of diversity. The number of clients is growing - always a healthy thing! - and the diversity between their businesses is also increasing. At present…
24
votes
4 answers

Why should I use MSBuild instead of Visual Studio Solution files?

We're using TeamCity for continuous integration and it's building our releases via the solution file (.sln). I've used Makefiles in the past for various systems but never msbuild (which I've heard is sorta like Makefiles + XML mashup). I've seen…
DeepSpace101
  • 1,394
  • 5
  • 14
  • 26
19
votes
7 answers

Team member questioning moving from VBA to C#

Background Last year, I was asked to create a tool to be used for business planning for around 10 users. This was done on behalf of another IT team who "sub-contracted" the work to me, and due to the project deadlines being a little unplanned on…
i_saw_drones
  • 309
  • 1
  • 2
  • 7
18
votes
3 answers

How can I target both Windows 10 UWP and Windows Phone 8.1 in the same app?

Background From a developer's viewpoint, the main selling point of Windows 10 is its new Universal* Windows Platform (UWP). * Where "Universal" really means "universal to all devices that run Windows 10", and not "universal to devices that run not…
16
votes
2 answers

How to structure multiple overlapping solutions / projects in .Net?

I recently started out working for a new client with an old legacy codebase in which there are multiple .net solutions, each typically hosts some projects unique to that solution but then "borrows" / "links in" (add existing project) some other…
12
votes
1 answer

Best way: restructure an existing Team Foundation Server (TFS) solution

In my department we are developing several smaller AddOns for some unified communication server. For versioning and distributed development we use a Team Foundation Server 2012. But: there is only one large TFS solution for all of our applications…
11
votes
5 answers

What are the deliverables to give to the client for a web application ?

I have completed a web application which is basically developed in PHP and is just another regular web application. Usually when I deliver the final production release I just handover the code documentation and the architecture information to the…
9
votes
5 answers

How to make a great functional specification

I am going to start a little side project very soon, but this time i want to do not just the little UML domain model and case diagrams i often do before programming, i thought about making a full functional specification. Is there anybody that has…
8
votes
2 answers

When to add new project to solution?

I'm tidying up my company's Version Control Guidelines. One of my tasks is to determine how solutions should be organized in a very broad sense. I have somewhat come to my own conclusion that one broad requirement to document is that, for the most…
Suamere
  • 1,098
  • 1
  • 11
  • 22
8
votes
2 answers

Where should we put External Libraries in our SVN?

We have the following SVN structure. Projects: Our work Clients: Projects for clients, needs to be different Shared: Shared libraries we created Docs: Documents explaining how software development flows within the company (has nothing to do with my…
Odys
  • 559
  • 4
  • 11
7
votes
1 answer

Creating a shared library that might be used with desktop applications and web projects

I have been involved in a number of MVC.NET and c# desktop projects in our company over the last year or so while also managing to kept my nose poked into other projects (in a read-only learning capacity of course). From this I've noticed that…
dreza
  • 3,466
  • 4
  • 32
  • 39
6
votes
3 answers

Naming the project containing only interfaces

I've extracted interfaces from my repository classes, like ICustomerRepository, IProductRepository and so on. The project which contains the repositories is named X.DataAccessLayer. Should I call the project with the interfaces…
5
votes
1 answer

How to best organize multiple WebProjects that use similar business logic

We have the following setup Current Solution: Business Logic (Class Library) Data Layer (Class Library containing EF,Web Services wrappers etc) WebProject1 BUT we now want to write another Web Project (Web Project2) which would be almost…
Jeremy
  • 271
  • 2
  • 10
1
2 3 4