Set the location of the configuration file

January 7, 2007

When an application or library configuration file is not located in the expected folder (the client’s folder) this is one way how to force CLR to look into the specific configuration file


//set location
string baseDirectory = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
AppDomain.CurrentDomain.SetData("APP_CONFIG_FILE", baseDirectory + @"\MyAssemly.dll.config");
//AppDomain.CurrentDomain.SetupInformation.ConfigurationFile = baseDirectory + @"\MyAssemly.dll.config";


Being agile is simply just being professional

January 7, 2007

This is what The Agile Manifesto says:

“We are uncovering better ways of developing software by doing it and helping others do it. Through this work we have come to value:
• Individuals and interactions over processes and tools
• Working software over comprehensive documentation
• Customer collaboration over contract negotiation
• Responding to change over following a plan
That is, while there is value in the items on the right, we value the items on the left more.”

I had adopted software development practice that can described with like this motto:

Read the rest of this entry »


Continuous Integration on your desktop

January 7, 2007

The continuous integration concept is great stuff that gives you everyday peace of mind when doing software development- you always know what added value you have in your code.

Read the rest of this entry »