views:

80

answers:

2

What solutions are there to avoid writing repetitive code? For example code generators, etc.

More specifically for translating objects between the several tiers of my application (from one service to another, from the service to the client (ObservableCollections etc)).

Of course more generic solutions are also welcome.

+2  A: 

VS includes a number of tools.

Including:

  • Class designer
  • LINQ to SQL
  • Entity framework.

But in your case you might want to look at what can be dome with T4 templates.

Richard
A: 

Here's a shameless plug for my own tool, Gauntlet. It differs from T4 primarily in that it works inside or outside of Visual Studio (ie. from a plain old MSBuild run).

HTH, Kent

Kent Boogaart