August 20, 2011

St. Louis Day of .NET August 5th and 6th, 2011

The 4th annual St. Louis Day of .NET conference was held at the Ameristar Resort and Casino. This event was attended by over 800 people. The event was very well organized. The organizers and the volunteers did an excellent job to ensure that things went smoothly. This was my third year attending this event.

This year was different for me. I had the priveledge to convene an open space. The topic that I had chosen was "Transition from a developer to a manager". As you know, I had recently became a manager. So, this was a topic that I have some experience with. I had over 40 people attending my open space. I was shocked by the turnout. There was a lot of great discussion and I personally learned a lot from those who have attended and shared their experiences.

I am looking forward to next year. Attending great sessions, meeting new friends, seeing old ones, and great conversations are priceless.


June 13, 2011

From developer to manager - the transition

Well folks, I have news.  I have now been a manager for a little over three months.  Prior to that, for about 10 months, I was doing project lead work, dealing with both developers, project managers, and business units.  You may be wondering why.  I am a developer at heart and will always be a developer.  I love technology and learning new ways of doing things.  I am at a point in my life where I need to make a change.  I know that I am not the strongest developer.  There are two career path that I can take.  Architect or manager.  I chose management.

My manager was supportive enough to let me "test" out management.  He created a project lead position in his team and put me on it.  I have about 5 people. I manage their daily tasks as well as other managerial duties.  During the ten months, I had the opportunity to work more closely with other managers, both on my managers level and higher.

One day, about three months ago, I was presented with an opportunity to be the manager of the Application Support team.  The team consists of eight FTEs and two contractors.  Most of these folks are folks that I have been working with the past several years.  These folks support a little over 200 applications ranging from in house built application using Microsoft and Java technologies to vendor applications.  I accepted the opportunity and challenge.  I was enthusiastic about the opportunity and its challenges while at the same time scared.  However, I am one who hardly ever backs down from a challenge.  I may fail but I go down fighting hard.

Being a manager is definitely much different than being a project lead.  There are so many other things that a manager has to do.  Being responsible for ten people and managing their expecatations as well as expectations of others is something I don't believe that I can prepare for, regardless of what books I read and what I do.  There are no training other than on the job.  What has helped me is the support that I get from my family (especially my wife, taking care of my son while I am either at work working or at home working the long hours), and from a lot of folks at work. 

I find myself reading a lot more nowadays.  Not books about MVC, MVVM, or WCF.  No technologies book for me.  It's books like 7 Habits of Highly Effective People, One Minute Manager, and High Five.  I have always considered myself being able to handle all sorts of different people.  And I find myself being challenged everyday.

The first three months has definitely been challenging.  I know that there are many more challenges to come.  I welcome them.  I know there will be days where I want to go back to being a developer.  I hope days like those are few and far between. 

With my new challenges in my professional life, I will be changing what my blogs are about.  It will now include management.  I will keep you all posted.

March 21, 2011

JustCode - A review

Well folks, I have been using JustCode for over 2 months now.  I have to say that I like it better than ReSharper from JetBrains.  JustCode is a product from Telerik.  JustCode is an add-on to Visual Studio (2005 - 2010) and it enhances development productivity.  It provides code analysis, error checking, refactoring, and many more.

Here are some of the features that I like.

  • Bracket completion - automatically adds the closing bracket when you type in the open bracket
  • Prevents bracket doubling - automatically move the cursor outside the bracket
  • Auto complete single and double quotes
  • Javascript code navigation
  • Javascript code refactoring
  • Structural highlighting (this is only available in Visual Studio 2010)

There are a lot of other features that I have not listed here.  I will post more soon.

October 12, 2009

Cannot open .CHM file

I recently had difficulty getting content when opening a .CHM file.  It gives me a Address not found message in the content section.  I was still able to see the table of contents.  To fix this issue, please refer to Article ID: 902225.

I used Method 2 to solve my problem.

October 10, 2009

WatiN, Gallio, and MbUnit ... Web Application Testing

WatiN is a web application testing framework.  It is used to test the UI portion of your web application.  It can be used for validating the functionality of a button, and also to validate your JavaScript ( or jQuery ) code, just to name a couple.  Combining WatiN with Gallio and MbUnit results in a very effective and easy to maintain tests.

When I first started working with WatiN, I had a difficult time finding information and sample code to get started.   And when I combine both Gallio and MbUnit to my test project, it was even harder to get started.  I am writing this in hopes that it will help others get a jump start.

First, you need to download WatiN.  WatiN comes in a ZIP file.  All you need to do is to unzip it to a folder ( for now anyway ).   Gallio and MbUnit comes bundle together and can be found here.  Once download is complete, you will need to install it.  The current version ( at the time of this blog being written ) for WatiN is 2.0.10.928, and for Gallio and MbUnit, it is 3.1.313.

Next, open Visual Studio 2008 and create a new Class Library project.  You may also add a new project to your existing solution.

NOTE: If you have VS 2008 running in Vista / Windows 7, make sure you ran VS 2008 as administrator. Otherwise, you will get errors when you try to debug your tests.  

In my examples, I am going to add a new class library project to an existing solution.  The web site that I am using is a simple web site that contains a single page.  This page contains a text box, a label, and a button.  Here's what the web site looks like.



Now that we have this working, let's create a new class library in this solution.  In this new class library, go ahead and add the following DLLs
1. Gallio.dll
2. MbUnit.dll
3. Watin.Core.dll

The reference folder in your class library should look something like this



Both projects are using .NET framework 2.0.  In WatiNTestClass.cs, your code would look something like this.

using MbUnit.Framework;
using WatiN.Core;

namespace WatiNTestClassLibrary
{
    public class WatiNTestClass
    {
        public static IE ie;

        [SetUp]
        public static void Setup()
       {
              ie = new IE("about:blank");
       }

        [TearDown]
        public static void TearDown()
       {
             ie.Close();
             ie.Dispose();
       }

       [Test]
       public static void WatiNTests()
      {
            ie.GoTo("http://localhost:2728/Default.aspx");
            TextField tf = ie.TextField(Find.ByName("TextBox1"));
            Button b = ie.Button(Find.ByName("Button1"));
            tf.TypeText("Hello world");
            b.Click();
      }
   }
}

Now, you are ready to test.  If you wish to debug, set a breakpoint and click on the half green half yellow circle on the left of your test method ( in this case, it is WatiNTests() ).  You will be presented with a list of four options .... Run, Debug, Profile, and Append to Session.  Select Debug.

You are now on your way to write tests for your web applications.  Happy UI testing.

UPDATE: You can also find additional information by opening WatiN.CHM file.  You can find this file from the ZIP file that you have downloaded from the WatiN site.  Thanks Mr. Brown.