Malisa Ncube - .NET Delights

.NET Development ideas and things
posts - 41 , comments - 86 , trackbacks - 0

My Links


I LOVE DataObject.NET

Get this blog as a slideshow!
Powered by


Tag Cloud


Post Categories


There are 30 entries for the tag .NET
DataObjects.Net releases a community version and some goodies
I have been following the events at and excited by the release of DataObjects.Net community license and new features in version 4.5.4. I have always had a sweet spot on DataObjects.Net, mainly because of the clean architecture and features that the product has. Now my mind is getting blown away by features that I never thought may be possible in an ORM. Over the past few months the DataObjects.Net community started working on plugins that would extend the functionality of DataObjects.Net. ......

Posted On Tuesday, August 21, 2012 2:54 AM | Comments (0) |

Alex Groß’s visit to Uganda
In November Alex Groß ( was in Uganda for holidays and we hijacked him to speak to us on some .NET geek stuff. In the image above you see Allan Rwakatungu, Jude Opima, Myself and Alex Groß. More pictures These are some of the topics that were discussed. Test Driven Development. Alex shared a great amount detail and a step by step tour of how you can work with unit tests and went on to show MSpec as a BDD tool. ......

Posted On Monday, December 19, 2011 9:38 PM | Comments (0) |

Microsoft OpenDoor Event–Nairobi
This was a very interesting event, I had never spoken in an event with so many developers in one place. It was cool! I had two talks, one on HTML5 and IE9 where I demonstrated the HTML5 and CSS3 coverage in IE9 and performance improvements, the second on ASP.NET MVC Best Practices where I talked about a fraction of things that you need to be aware of and possibly use when you are developing an MVC application. The HTML5 and IE9 talk was more of a showcase and focused on new features that will continue ......

Posted On Wednesday, December 7, 2011 7:00 AM | Comments (0) |

Simple Linq PIVOT to one row
My friend in Zimbabwe sent me an email a day ago with the following contents suppose i have a table called week_days with only 3 fields i.e. SEQUENCE DAY SALES as follows: SEQUENCE DAY SALES 1 Sun 23 2 Mon 18 3 Tue 30 4 Wed 15 5 Thu 20 6 Fri 08 7 Sat 0 i need a query that converts DAY column to a header row and sort by SEQUENCE as follows: DAY Sun Mon Tue Wed Thu Fri Sat SALES 23 18 30 15 20 08 0 Pliz Help!!!!!!!! I was like’ this looks like a candidate for pivot, but it requires that the result ......

Posted On Monday, December 5, 2011 4:35 AM | Comments (0) |

50% off on DataObjects.NET
I have been closely following the updates on and been impressed with the new features that keep getting added into DataObjects.NET. A few days ago, I saw the 50% sale blog post here and thought it would be very interesting for anyone that wishes to start using DataObjects.NET but feared could not afford the price. DataObjects.NET ORM is very feature rich, well designed and will certainly save you countless development hours by making you think about the domain and code rather ......

Posted On Monday, December 5, 2011 12:41 AM | Comments (0) |

EMR - TB Module Deployment
Today, We deployed the “David Blaine” version of the TB Module for our EMR solution here at IDI ( This was mainly for bug fixes and usability improvements based on the feedback that we received from users in the past few weeks. Some of the improvements were related to performance. We had to fine-tune some of our Linq statements in some places to enable better queries to be generated by our ORM. We also added some lookup dialogs that present certain information that would be ......

Posted On Friday, September 9, 2011 6:15 AM | Comments (1) |

DataObjects.Net Beta2 SalesPoint Sample in MySql
After Dmitri posted DataObjects.Net beta2 last night, I couldn’t wait but test the security framework included. If you have been watching you may know that I worked on the provider for MySQL for DataObjects.NET. I was curious to see how the security framework will feel on MySQL. Well to my ‘extreme’ happiness, after I translated the SalesPoint database into MySQL and testing the sample it worked very beautifully. I only had to change the URL in the App.Config file. I have attached the SQL script ......

Posted On Tuesday, June 14, 2011 7:21 AM | Comments (0) |

Uganda .Net Usergroup–May 2011
In the month of May we met again for the .NET Usergroup, and I presented some introductory material into software design and architecture. The talk was aimed at looking into new ways of software design and managing of complex software components by using domain driven approach. I talked about best practices, coding patterns and DDD, TDD and DataObjects.NET ( I advocated for best practices presented by the best practices team ......

Posted On Wednesday, June 8, 2011 12:30 AM | Comments (0) |

Highlight Report
Its been a while since I blogged. Its been hard balancing blogging time, work and many other activities. Most my days and even evenings have been cluttered with a number of tasks ranging from mundial to critical. There is some which have been most interesting include very nice lessons I took from from some of the people I respect in the industry. I will try and highlight some of the things I did in below. 1) The DataObjects.NET contribution programme. From February this year I quickly responded to ......

Posted On Thursday, May 19, 2011 10:11 AM | Comments (1) |

The Uganda .NET Usergroup meeting for January 2011 - a look back.
We had a very interesting meeting on Friday 28th last week. We had 10 attendees and two speakers. The first topic presented was Cloud Computing, presented by Allan Rwakatungu @arwakatungu who works with MTN Uganda. He gave a very brilliant outline of how Cloud computing and service oriented applications had begun changing the platform for operating business and the costs it saves because of scalability and elasticity. He went on to demonstrate the steps you would take if you are beginning a new Windows ......

Posted On Sunday, January 30, 2011 9:13 PM | Comments (0) |

My thoughts on Kindle 3
I recently purchased the Kindle 3 and very excited to have this device that lets me read documents without tiring my eyes from the backlight. I can even let it read for me in a fairly natural way “when you get used to it”. I have also played some music using this device and perfectly understand that it was not designed to be some form of music player like iPod or Zune, but does give a good sound either off it speakers or through earphones. Things i like I was tired a few days ago and set the speakers ......

Posted On Friday, September 24, 2010 6:01 AM | Comments (1) |

Uganda .NET Usergroup April meeting
Our April meeting was presented by Wilson Kutegeka on the topic of Building the Data Access a layer. In his presentation he showed a tool which he has developed to generate the entities, stores procedures that would be used to reduce having to retype the same boilerplate code for each entity. He uses visual basic samples to demonstrate access to the data from the database and inherits his classes from an abstract class which contains common properties including connection strings, save and delete ......

Posted On Tuesday, May 25, 2010 1:09 AM | Comments (0) |

Introducing .NET 4.0 with Visual Studio 2010 by Alex Mackey - Book review
Alex ( does a very good job in covering the new features of .NET 4.0 and Visual Studio 2010. His focus is on the developers that have experience in development using previous versions of Visual Studio, more specifically Visual Studio 2008. The following are my views towards his book. 1. Scope / Coverage Even as the book is labeled as introduction, it is covers a broad spectrum of technologies, features and references that are focused into helping a developer quickly decide ......

Posted On Monday, April 19, 2010 9:15 PM | Comments (0) |

Uganda .NET Usergroup meeting (February 2010)
We had a very interesting .NET meeting in which i gave a short presentation on the new features of .NET 4.0 and Visual Studio 2010. The main presentation came from Jake Markhus @jmarkhus who talked about NHibernate ( The membership for the group is growing each time we meet and its very encouraging. Some employers found candidates within our group for hiring, and this has resulted in a mutual benefit between the employers and job-seekers – really cool stuff. Jake above giving ......

Posted On Thursday, March 25, 2010 1:00 AM | Comments (3) |

Demystifying LINQ Aggregates
This post aims to dissect the power that exists in the Aggregate LINQ operator. I have realized that most programmers use it sparingly and have decided to put a couple of examples to clarify how you can use the Aggregate operator to perform a few tricks. The screenshot below relates to the small examples that follow. The aggregate operator is interesting in that it enables accumulation of items to form some result. This comes in handy when we need to create new data items from others. In my examples ......

Posted On Wednesday, December 9, 2009 10:51 PM | Comments (3) |

Uganda .NET Usergroup meeting
We have scheduled for a .NET Usergroup meeting next week on the 30th October 2009. I arranged with our training department and they have agreed to ensure that we have the room, support in resources including a laptop, projector and anything else which may be necessary. Happy days! They have also guaranteed that we can have the room each month on the last Friday. I had been in communication with Craig Murphy, who took up my tweet and made it his task to see how we can get helped in making this possible ......

Posted On Thursday, October 22, 2009 2:40 AM | Comments (7) |

Something to smile about after the project implementation
Some of the feedback from the users. ICEA stands for Integrated Clinic Enterprise Application, the EMR system which we have just implemented. I thank the users for being patient with us during requirements gathering, and for not laughing at some of our stupid questions. Technorati Tags: EMR ......

Posted On Monday, July 6, 2009 6:24 PM | Comments (0) |

The so called EMR software (Integrated Clinic Enterprise Application – ICEA.NET)
This post is just to show some of the screenshots of the EMR software that we developed and deployed in the past few weeks in our clinic. Some of the features include: - Patient Registration - Return visit entry and scheduling - Entry for Patient history, Vital signs, ART History, Online Prescriptions, Online lab orders, Counseling, Workflow - Role base security with windows based authentication - Office 2007 Themes (Don’t know whether to call this a feature) Thanks to Component Factory The lab requisitions ......

Posted On Friday, June 12, 2009 3:31 AM | Comments (9) |

Managed Extensibility Framework 101 (b)
1. Introduction This posting is a continuation from the previous post on Managed Extensibility Framework (MEF). If you are a new to MEF you will need to visit the MEF blog at Codeplex or Glenn’s Blog here. You will need to download the framework so you can also find out how it leverages the power of extensibility into your applications. In the previous post I showed how you can quickly create a MEF application and use the attributes to import and export different parts, and use the container to compose ......

Posted On Tuesday, June 9, 2009 7:16 PM | Comments (6) |

Managed Extensibility Framework 101 - (a)
This is the first posting on MEF, in which I will be explaining some things that I discovered while playing around with MEF. I should say that all the postings on my blog, including this subject do not represent my employer or any other organization, they are merely my mumblings based on my work that I do and whatever in find interesting and would like to share. Use it at your own risk, but it works on my machine. To start with I would like you to read about the architecture of the MEF framework ......

Posted On Tuesday, May 26, 2009 5:13 PM | Comments (5) |

Catching unhandled exceptions and sending them to BugTracker.NET
1. Introduction Have you ever been in a situation where the users are unable to explain how an error was displayed on their computer and moreover describe the details of the error message? Well… I wonder why I asked when I already knew the answer you’ll say. A few weeks ago, the some users started testing the system; I realized our method of tracking bugs was not nearly good. We had an excel spreadsheet which had bug details and how we can reproduce the bug. We had problems with that each tester ......

Posted On Tuesday, May 26, 2009 12:43 PM | Comments (11) |

Using lambda or LINQ for pivot tables
In should say that the first time I looked lambda and linq, making pivot tables was not the main thing I thought about. After helping a few people including one at the msdn ( social site, I realized that I also needed to use the lambda in my own EMR project. The problem was to have the lab data of a patient transformed into a pivot table and some of the data summarized by averaging or counting. I had the data in the table in the following format. PatientID TestNo TestName TestVar ......

Posted On Tuesday, April 21, 2009 8:55 PM | Comments (9) |

Ready for Windows Could Computing
I have been allocated an account in Windows Azure Developer Portal for CTP - and very excited. Now i'm looking into the corridors of Windows Azures and downloading the SDKs. Am looking at these sites Deploying a Servce on Windows Azure Windows Azure SDK Microsoft SQL Data Services SDK Using ......

Posted On Thursday, February 5, 2009 6:44 PM | Comments (0) |

Further attributes - method based validation and data conversion for business objects
1. Introduction This is a follow-up to the "An attribute based approach to business object validation" article in which i introduced the use attributes and reflection to validate business objects. I also promised to write another article on data converters and method based validators, and here it is. 2. Background In this article i will use an example to show how you can validate your business object using a method based attribute and how you can convert data assigned to properties when it is saved ......

Posted On Monday, January 5, 2009 5:05 AM | Comments (2) |

An attribute based approach to business object validation
1. Introduction This article shows how you can use attributes to validate your business objects. You may have had to write tones of code to validate your business objects without taking advantage of attributes. The value of attributes comes when you need to apply the same rules on a number of properties and the only thing you have to do is to decorate your property accordingly. For other articles on attribute based validation please check the Visual Studio Magazine and Ennis Ray Lynch, Jr. 2. Background ......

Posted On Monday, December 22, 2008 12:51 AM | Comments (1) |

DataObjects.NET 4.0 brings new licensing model and features
I looked at the DataObjects.NET ( website like i always do, and noticed that they have change their licensing model and their product is actually cheaper and very well broken down into internal, personal, small business and enterprise. After going through the presentations for v3.9, i should say i fell in love with the idea of not having to think about the database side of thing, but to rather concentrate of the business layer and the business rules and interface of the application. ......

Posted On Monday, October 27, 2008 5:32 AM | Comments (2) |

Blogging from Cape Town
I'm having an interesting experience here in Cape Town and enjoying the VS2008, C# 2008, .NET3.5 ADO.NET 3.5 and WinForms. We are digging deep into the DataClasses and the Entity Framework. I already have suggestions for Microsoft and will publish them as soon as i get some time. I will also now begin to blog in the direction of C# more and more as that is my life now. I'm extremely excited about the way thing are going and can't wait to sit and combine all the concepts that we are doing and pushing ......

Posted On Tuesday, September 23, 2008 2:48 AM | Comments (0) |

DataObjects.NET 4.0 ORM Released
I have been monitoring the site for a while, waiting to see the new release of DataObjects.NET because i have been looking for a very good ORM for .NET, something that would be better than ADO.NET Entity Framework and better than Developer Express XPO and better than CSLA by Rockford Lhotka. One of the main problems i found by using stored procedures (used by Lhotka) as part of the architecture is that they are very limited in the number of parameters they can take. Especially in ......

Posted On Wednesday, September 3, 2008 7:47 PM | Comments (5) |

Technology Talk
I have been tasked to give a presentation on technology tomorrow, to an audience which has not been exposed to software development and i'm wondering what i should talk about. My area is software engineering and technology as a subject is very wide, i'm limited to computer technology. Maybe i should talk about new computer devices, or probably some new things the C#2008 with .NET 3.5, or maybe some things i expect to use in the VS2008SP1? Oh... Its so difficult because my mind is mainly filled with ......

Posted On Monday, June 23, 2008 10:09 PM | Comments (3) |

Welcome to my Blog
Hi there! I would like to welcome you to my blog and to encourage you to visit this blog frequently as i will be posting very exciting stuff in software development. I am a Software Engineer at Infectious Diseases Institute and primarily use .NET technologies. My skills are focused on taking a project from inception to deployment. I have over 10 years experience as a developer / systems analysts and developer/database specialists trainer and have written applications using various programming languages ......

Posted On Thursday, January 10, 2008 11:43 AM | Comments (0) |

Powered by: