04 March 2008

Redirecting the copy of output assemblies for individual solutions

I search the net for a while for this problem:
We using tfs build to perform a daily build.
The following tasks are performed in the build:

  1. Run all tests

  2. Update assembly info




The solution contains the following elements:

  • Web services

  • Client application

  • three windows services




So the solution contains 5 applications. What I was looking for is a way to use the tfsbuild to perform a build and as output to spit the binaries to seperated directories. That helps a lot with deployment.

The core of the problem is that i want to have a single build type in tfs with multiple solutions and multiple output directories. A feature that tfsbuild not support.

And finally I found a post that solves this problem.
Manish Agarwal write a post: Redirecting the copy of output assemblies for individual solutions to specified subfolders at drop site in Team Build.

I implemented it in my build and it solves my problem...

29 January 2008

Object Mothers

When you are writing unit tests for a system, you need often a lot of test data. The creation of the data takes place in the test fixture. If I want to test the handling of a order then I need to create a customer, products, categories, shipping and so on. That is test data only for a order. But you want also test customer. And Product. For those classes you also need test data. Why don't reuse the test data of order. Well this paper about object mothers is very interesting. And we use it in your project.
And this book about unit testing, xunit patterns is a recommendation.

21 January 2008

Patterns And Software factories.

Software factories and patterns. Dayly I get confrontated with them.
We developing a application according to the Web service software factory.



But now I found The EFx Architectural-Guidance Software Factory


 
That is also a very interesting factory. And as a client we desided not to use Smart Client Software Factory because of code maintenance and learning curve. But still it is very interesting...


And all those facories uses a lot of patterns.

20 January 2008

Silicon valley

Well, where is Silicon valley? Yes I know near San Fransico. But this picture is nice.

And what about this...
Grotere kaart weergeven

15 January 2008

some articles about silverlight and WPF


 Where do i find the time to look at silverlight and wpf.
I want to play with it not only read about it. Look at these articles about silverlight.
examples about wpf can be found here.

10 January 2008

.Net and Oracle

The policy at Corus is that as a database, use Oracle. So to connect to the database with .net we don't use the .NET Framework Data Provider for Oracle but the Oracle Data Provider for .Net, ODP.NET. Because there is a lot of maintenance going on, the question I get is, ODP.Net does it contain a Oracle client? This article gives answers to a lot of the questions.

09 January 2008

Specification pattern

The last couple of days I'm learning a lot about the specification pattern. These links can helped me to understand and implement the pattern.


  • The specification pattern by Martin fowler.
  • An example of the specification pattern by Jeff Perrin.
  • An implementation of the specification pattern by Tim McCarthy.
  • Validation In The Domain Layer - Take One and Validation In The Domain Layer - Take Twoby Jean-Paul S. Boodhoo.

    This is our solution so far.
  • 04 January 2008

    Connecting .net to mainframe

    In the MSDN magazine of December 2007 i read this article Connect to mainframe apps With BizTalk Adapters and .NET. Well in my current project, we are developing an application that communicate with mainframe. While reading the article I was thinking at the solution that is common here. The way the communication here is to communicate through Websphere MQ using XML messages.

    03 January 2008

    Connect to mainframe with .net

    In the MSDN magazine of December 2007 i read this article Connect to mainframe apps With BizTalk Adapters and .NET. Well in my current project, we are developing an application that communicate with mainframe. While reading the article I was thinking at the solution that is common here. The way the communication here is to communicate through Websphere MQ using XML messages.

    02 January 2008

    Articles read today

    These articles, blog posts and web sites where visited by me today to perform my work, satisfy my interest and so on.



    In my current project we use the enterprise library of Microsoft. And also we use dependency injection of Castle. So this post of tom hollander about entlib and dependency injection is interesting.

    Another post I was reading was about RSS Simple Sharing Extensions (SSE) of Ray Ozzie. This is the post. And reading it i went to www.FeedSync.org for further reading.

    While reading the msdn magazine I came across this tool: Add live help to your asp.net web site. That is a nice feature to add to your website.

    And another tool I'm using now for my project is Liquid XML of