Sunday, March 18, 2007

7 Habits of Highly Effective ...

The famous book 7 Habits of Highly Effective People by Stephen Covey has inspired many other people to author similar articles, I have collected some articles hope that I will have time to read them later.


7 Habits of Highly Effective Programmers

5 Habits of Highly Effective Software Developers

7 Habits of Highly Effective Technology Leaders

7 Habits of Highly Effective Web Apps

7 Habits of Highly Effective DBAs

6 Habits of Highly Effective CIOs

7 Habits of Highly Effective Information Security Leaders

7 Habits of Highly Effective Bloggers

11 Habits of Highly Effective Geeks

The Seven Habits of Highly Effective BizTalkers

7 Habits For Highly Effective Mind Power

Seven habits of highly effective writers

Seven qualities of highly effective technology trainers

Tuesday, March 13, 2007

Troubleshooting Draco.NET

Draco.NET is a Windows service application designed to facilitate continuous integration. Draco.NET monitors your source code repository, automatically rebuilds your project when changes are detected and then emails you the build result along with a list of changes since the last build.

While using Draco, you would need to know what is going on, what is worng and you will face issues that you need to figure out if the service is running correctly or not ... if this is the case with you; then this post is for you ...

Check Draco log

Draco is a windows service, and has no user interface by default, but Draco logs all the activities in its log file draco.log.

If you are not a fan of log files and want to see what is going on in real time, then keep reading.

Use DebugView to see the status in Draco in realtime

Download DebugView and run it on the Draco machine, then add the Default listener to Draco.exe.config

Then enjoy the monitoring J

Adjust the Periods of polling and waiting

Draco will poll VSS to check for modifications, if it find any; waits another period called the quite period to give the chance for some one checking-in files to finish. Practically the default periods may not be perfect, it worth increasing them.

Draco failed to start … what is wrong

If Draco service failed to start and then you may or may not get a message box like this

Check the EventViewer for an event log that belongs to Draco, the complete error message is there for you to figure out what is wronge.


That’s it for now, if I learned more I will share it soon.

Tuesday, March 06, 2007

Migrate to .net 2.0

[In Progress]

I know that I should be talking about migration to .net 3.0, but as I havn't do this ... let us help folks whom still in 0.1 and 1.1 to get to 2.0

Migration to .net 2.0 form my point of view is not only to hjave your solutions/projects compile well on the VS2005 and the new framework, it is really to migrate to new features and benfites of 2.0 which I will take about in this post.


New Features (that you should kill your self for not doing them)

  1. Generics
    belive me, I have cut down lots and lots of code from a large VS2003/.net 1.1 application ( about 10 projects in 5 solutions) after migrating all my Type Safe collections to Generics collections and Generics methods
  2. MSBuild
    MSBuild is native in .net 2.0, you don't need NAnt ... MSBuild can deal with VS2005 projets and solutions directly and lots of features which worth another post
  3. Test Classes
    Now; VS2005 will help you test your code;either in Test first approach or code first approach ... do you have NUnit tests? ok;convert them using this tool
  4. Desktop Applications
    1. ToolStrips please
      Go to the office 2003 look and feel quickly with ToolStrips and MenuStrips, if you have been using ToolBars for a long time and fear of breaking your code, then follow this step by step guide to [Replace] toolbars with toolstrips
  5. Web Application
    1. Convert your VS2003 web projects to VS2005 using this tutorial ()
    2. Consider the ObjectDataSource