Malisa Ncube - .NET Delightshttp://geekswithblogs.net/malisancube/Default.aspx
.NET Development ideas and thingsen-USMalisa L. Ncubemalisa.ncube@gmail.comSubtext Version 0.0.0.0Malisa Ncube - .NET Delightshttp://geekswithblogs.net/images/RSS2Image.gifhttp://geekswithblogs.net/malisancube/Default.aspx
7760Moving to malisancube.comhttp://geekswithblogs.net/malisancube/archive/2014/07/08/moving-to-malisancube.com.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2014/07/08/moving-to-malisancube.com.aspx'>http://geekswithblogs.net/malisancube/archive/2014/07/08/moving-to-malisancube.com.aspx</a></p><p>It has been really nice blogging here. Very exciting times and articles from brilliant people.</p> <p>I have now decided to consolidate my blogging efforts or one area - <a href="http://malisancube.com">http://malisancube.com</a></p> <p>Thanks a lot to the patrons of this blogging platform for your work and keeping it alive. I will continue to subscribe to the feeds and will continue to learn from this knowledgebase.</p> <p>Cheers!</p> <p> </p> <p> </p> <div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:53ce6017-3063-47c3-813c-0abd021bdacc" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px">Technorati Tags: <a href="http://technorati.com/tags/malisancube.com" rel="tag">malisancube.com</a>,<a href="http://technorati.com/tags/blog" rel="tag">blog</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/157382.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2014/07/08/moving-to-malisancube.com.aspxTue, 08 Jul 2014 16:34:15 GMThttp://geekswithblogs.net/malisancube/comments/157382.aspxhttp://geekswithblogs.net/malisancube/archive/2014/07/08/moving-to-malisancube.com.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/157382.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/157382.aspxDinosaurs and Spaceships: Using self hosted WebAPI 2 with legacy applicationsASP.NETC#http://geekswithblogs.net/malisancube/archive/2013/10/03/dinosaurs-and-spaceships-using-self-hosted-webapi-2-with-legacy.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2013/10/03/dinosaurs-and-spaceships-using-self-hosted-webapi-2-with-legacy.aspx'>http://geekswithblogs.net/malisancube/archive/2013/10/03/dinosaurs-and-spaceships-using-self-hosted-webapi-2-with-legacy.aspx</a></p><p> </p> <p>I have blogged about how you can use WebAPI 2 hosted on OWIN with legacy applications. Visit the link below for more information.</p> <p><a title="http://blogs.msdn.com/b/africaapps/archive/2013/10/03/dinosaurs-and-spaceships-using-self-hosted-webapi-2-with-legacy-applications.aspx" href="http://blogs.msdn.com/b/africaapps/archive/2013/10/03/dinosaurs-and-spaceships-using-self-hosted-webapi-2-with-legacy-applications.aspx">http://blogs.msdn.com/b/africaapps/archive/2013/10/03/dinosaurs-and-spaceships-using-self-hosted-webapi-2-with-legacy-applications.aspx</a></p> <p> </p> <div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:790b259f-c25a-4390-89d1-1efc1f6ef17e" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px">Technorati Tags: <a href="http://technorati.com/tags/WebAPI" rel="tag">WebAPI</a>,<a href="http://technorati.com/tags/AfricaApps" rel="tag">AfricaApps</a>,<a href="http://technorati.com/tags/OWIN" rel="tag">OWIN</a>,<a href="http://technorati.com/tags/JSON" rel="tag">JSON</a>,<a href="http://technorati.com/tags/WinForms" rel="tag">WinForms</a>,<a href="http://technorati.com/tags/C%23" rel="tag">C#</a>,<a href="http://technorati.com/tags/VB.NET" rel="tag">VB.NET</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/154232.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2013/10/03/dinosaurs-and-spaceships-using-self-hosted-webapi-2-with-legacy.aspxThu, 03 Oct 2013 21:50:00 GMThttp://geekswithblogs.net/malisancube/comments/154232.aspxhttp://geekswithblogs.net/malisancube/archive/2013/10/03/dinosaurs-and-spaceships-using-self-hosted-webapi-2-with-legacy.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/154232.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/154232.aspxWindows Azure&ndash;multi-platform command line interface into the cloudWindows Azurehttp://geekswithblogs.net/malisancube/archive/2013/05/27/windows-azurendashmulti-platform-command-line-interface-into-the-cloud-again.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2013/05/27/windows-azurendashmulti-platform-command-line-interface-into-the-cloud-again.aspx'>http://geekswithblogs.net/malisancube/archive/2013/05/27/windows-azurendashmulti-platform-command-line-interface-into-the-cloud-again.aspx</a></p><p>I have blogged about Cross platform Windows Azure command line tooling. This is free open source tooling available for developers wishing to use commands to either automate or simplify their build processes. You can see my post here <a title="http://blogs.msdn.com/b/africaapps/archive/2013/05/27/windows-azure-multi-platform-command-line-interface-into-the-cloud.aspx" href="http://blogs.msdn.com/b/africaapps/archive/2013/05/27/windows-azure-multi-platform-command-line-interface-into-the-cloud.aspx">http://blogs.msdn.com/b/africaapps/archive/2013/05/27/windows-azure-multi-platform-command-line-interface-into-the-cloud.aspx</a></p> <p>This is an introductory post aimed at getting started. Hopefully a more meaty post will follow. <img class="wlEmoticon wlEmoticon-smile" style="border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none" alt="Smile" src="https://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/2fded3baa032_13B6F/wlEmoticon-smile_2.png" /></p> <div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:49e8c385-9d50-4306-a50c-0270455a4d01" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px">Technorati Tags: <a href="http://technorati.com/tags/Windows+Azure" rel="tag">Windows Azure</a>,<a href="http://technorati.com/tags/node.js" rel="tag">node.js</a>,<a href="http://technorati.com/tags/CLI" rel="tag">CLI</a>,<a href="http://technorati.com/tags/open+source" rel="tag">open source</a>,<a href="http://technorati.com/tags/iOS" rel="tag">iOS</a>,<a href="http://technorati.com/tags/Linux" rel="tag">Linux</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/152996.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2013/05/27/windows-azurendashmulti-platform-command-line-interface-into-the-cloud-again.aspxMon, 27 May 2013 19:35:48 GMThttp://geekswithblogs.net/malisancube/comments/152996.aspxhttp://geekswithblogs.net/malisancube/archive/2013/05/27/windows-azurendashmulti-platform-command-line-interface-into-the-cloud-again.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/152996.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/152996.aspxUsing Windows Azure Mobile services to develop Android Applications&ndash;Nigeria DevCampWindows Azurehttp://geekswithblogs.net/malisancube/archive/2013/05/14/using-windows-azure-mobile-services-to-develop-android-applicationsndashnigeria-devcamp.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2013/05/14/using-windows-azure-mobile-services-to-develop-android-applicationsndashnigeria-devcamp.aspx'>http://geekswithblogs.net/malisancube/archive/2013/05/14/using-windows-azure-mobile-services-to-develop-android-applicationsndashnigeria-devcamp.aspx</a></p><p>I have blogged about the Dev camp event we had in Nigeria, where I did a session on using Windows Azure Mobile Services on Android Applications. I run through a recipe, in which I created a shopping list application which was shared between Windows 8, Windows Phone 8 and Android. My task was that of developing an Android application from scratch which would make use of some of the coolest features in WAMS. i.e. Facebook authentication and storage.</p> <p>The result is a cross platform solution which takes advantage of the unified authentication features of WAMS and share the same data.</p> <p>Check it out here <a href="http://blogs.msdn.com/b/africaapps/archive/2013/05/14/using-windows-azure-mobile-services-to-develop-android-applications-nigeria-devcamp.aspx">http://blogs.msdn.com/b/africaapps/archive/2013/05/14/using-windows-azure-mobile-services-to-develop-android-applications-nigeria-devcamp.aspx</a></p> <p><a href="https://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/200a890e82c6_E519/image_15.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/200a890e82c6_E519/image_thumb_6.png" width="325" height="376" /></a></p> <div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:c0989466-ac29-4743-aa99-9cb5f1e6ddf2" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px">Technorati Tags: <a href="http://technorati.com/tags/Windows+Azure+Mobile+Services" rel="tag">Windows Azure Mobile Services</a>,<a href="http://technorati.com/tags/Android" rel="tag">Android</a>,<a href="http://technorati.com/tags/Nigeria+DevCamp" rel="tag">Nigeria DevCamp</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/152926.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2013/05/14/using-windows-azure-mobile-services-to-develop-android-applicationsndashnigeria-devcamp.aspxTue, 14 May 2013 22:25:51 GMThttp://geekswithblogs.net/malisancube/comments/152926.aspxhttp://geekswithblogs.net/malisancube/archive/2013/05/14/using-windows-azure-mobile-services-to-develop-android-applicationsndashnigeria-devcamp.aspx#feedback9http://geekswithblogs.net/malisancube/comments/commentRss/152926.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/152926.aspxDataObjects.Net releases a community version and some goodieshttp://geekswithblogs.net/malisancube/archive/2012/08/21/dataobjects.net-releases-a-community-version-and-some-goodies.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2012/08/21/dataobjects.net-releases-a-community-version-and-some-goodies.aspx'>http://geekswithblogs.net/malisancube/archive/2012/08/21/dataobjects.net-releases-a-community-version-and-some-goodies.aspx</a></p><div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"><iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/malisancube/archive/2012/08/21/dataobjects.net-releases-a-community-version-and-some-goodies.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div><p>I have been following the events at X-tensive.com 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. </p> <p>Over the past few months the DataObjects.Net community started working on plugins that would extend the functionality of DataObjects.Net. These plugins are really optional and come in handy when you need to provide some functionality which normally would not exist in an ORM or would make an ORM heavy. DataObjects.Net is highly extensible. i.e. You can create your own plugins which can do all sorts of things, from Domain to Session related tasks. There is already some plugins that you can take for a spin on the Codeplex site (doextensions.codeplex.com) if you want to see the code and dive into the internals. The available plugins include </p> <ul> <li><a href="http://doextensions.codeplex.com/wikipage?title=BulkOperations&amp;referringTitle=Home">BulkOperations</a> - To enable bulk operations, like the SET, UPDATE on your entities. </li> <li><a href="http://doextensions.codeplex.com/wikipage?title=Localization&amp;referringTitle=Home">Localization</a> </li> <li><a href="http://doextensions.codeplex.com/wikipage?title=Reprocessing&amp;referringTitle=Home">Reprocessing</a> </li> <li><a href="http://doextensions.codeplex.com/wikipage?title=Security&amp;referringTitle=Home">Security</a> </li> <li><a href="http://doextensions.codeplex.com/wikipage?title=Web&amp;referringTitle=Home">Web</a> - Gives you a nice IHttpModule which would enable you to work nicely with your Sessions on web applications. </li> </ul> <p>These are also available as nuget packages. You have to agree with me that, that’s a killer. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/Dat.Net-releases-a-community-version-and_F59B/wlEmoticon-smile_2.png" /> </p> <p>After the new customer portal was launched last week, the X-tensive team has also been updating the samples which are also accessible on the Codeplex site(<a href="http://dosamples.codeplex.com/">http://dosamples.codeplex.com/</a>) and harmonising the login mechanism to make it simple to login by using yahoo, google or OpenId accounts.</p> <p>DataObjects.Net is available on Nuget as a package and also downloadable from the <a href="http://dataobjects.net">http://dataobjects.net</a></p> <p>Let’s get involved. Write Samples, Documentation and blog.</p> <p> </p> <p> </p><div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:04d3d78a-43d6-4047-b5cf-e7296fdf5de5" class="wlWriterSmartContent">Technorati Tags: <a href="http://technorati.com/tags/dataobjects.net" rel="tag">dataobjects.net</a>,<a href="http://technorati.com/tags/ORM" rel="tag">ORM</a>,<a href="http://technorati.com/tags/.NET" rel="tag">.NET</a>,<a href="http://technorati.com/tags/SQL" rel="tag">SQL</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/150497.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2012/08/21/dataobjects.net-releases-a-community-version-and-some-goodies.aspxTue, 21 Aug 2012 14:54:23 GMThttp://geekswithblogs.net/malisancube/comments/150497.aspxhttp://geekswithblogs.net/malisancube/archive/2012/08/21/dataobjects.net-releases-a-community-version-and-some-goodies.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/150497.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/150497.aspxAlex Gro&szlig;&rsquo;s visit to Ugandahttp://geekswithblogs.net/malisancube/archive/2011/12/19/alex-groszligrsquos-visit-to-uganda.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2011/12/19/alex-groszligrsquos-visit-to-uganda.aspx'>http://geekswithblogs.net/malisancube/archive/2011/12/19/alex-groszligrsquos-visit-to-uganda.aspx</a></p><div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"><iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/malisancube/archive/2011/12/19/alex-groszligrsquos-visit-to-uganda.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div><p>In November Alex Groß (<a title="http://therightstuff.de/" href="http://therightstuff.de/">http://therightstuff.de/</a>) was in Uganda for holidays and we hijacked him to speak to us on some .NET geek stuff. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/a139d3dccdad_99E9/wlEmoticon-smile_2.png" /> </p> <p><a href="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/a139d3dccdad_99E9/2011_11_20_40D_IMG_4590_2.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2011_11_20_40D_IMG_4590" border="0" alt="2011_11_20_40D_IMG_4590" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/a139d3dccdad_99E9/2011_11_20_40D_IMG_4590_thumb.jpg" width="492" height="329" /></a></p> <p>In the image above you see <a href="https://twitter.com/#!/arwakatungu" target="_blank">Allan Rwakatungu</a>, <a href="https://twitter.com/#!/dolphinedge" target="_blank">Jude Opima</a>, <a href="https://twitter.com/#!/malisancube" target="_blank">Myself</a> and <a href="https://twitter.com/#!/agross" target="_blank">Alex Groß</a>. More pictures <a title="http://www.flickr.com/photos/malisancube/sets/72157628494938909/" href="http://www.flickr.com/photos/malisancube/sets/72157628494938909/">http://www.flickr.com/photos/malisancube/sets/72157628494938909/</a></p> <p>These are some of the topics that were discussed.</p> <ol> <li><strong>Test Driven Development</strong>. 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.</li> <li>The concepts behind <strong>Continuous Integration (CI), Continuous deployment</strong> and using tools such as <a href="http://www.jetbrains.com/teamcity/" target="_blank">TeamCity</a>. He demonstrated one of his project <a href="https://github.com/agross/duplicatefinder" target="_blank">DuplicateFileFinder</a> which is in .NET but uses some ruby build and deployment scripts. I really liked his application and the way it was organised. You can fork it from here <a title="https://github.com/agross/duplicatefinder" href="https://github.com/agross/duplicatefinder">https://github.com/agross/duplicatefinder</a>. </li> <li>There was some <strong>other .NET development topics</strong> we talked about ranging from <a href="http://dataobjects.net/" target="_blank">Object Relational Mapping</a> (ORMs), <a href="http://martinfowler.com/bliki/CQRS.html" target="_blank">CQRS</a> and BDD among others.</li> </ol> <p>[<a href="http://t.co/fZZto9VM" target="_blank"><strong><font color="#ff0000">Download</font></strong></a>] the PowerPoint presentation about his talk on BDD and MSpec.</p> <p>Alex is very passionate about .NET user groups, follow him on @<a href="https://twitter.com/#!/agross" target="_blank">agross</a></p> <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:bdd51566-435b-484f-b3d8-d0c8604357b6" class="wlWriterSmartContent">Technorati Tags: <a href="http://technorati.com/tags/.NET" rel="tag">.NET</a>,<a href="http://technorati.com/tags/Uganda+.NET+Community" rel="tag">Uganda .NET Community</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/148093.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2011/12/19/alex-groszligrsquos-visit-to-uganda.aspxTue, 20 Dec 2011 09:38:34 GMThttp://geekswithblogs.net/malisancube/comments/148093.aspxhttp://geekswithblogs.net/malisancube/archive/2011/12/19/alex-groszligrsquos-visit-to-uganda.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/148093.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/148093.aspxMicrosoft OpenDoor Event&ndash;Nairobihttp://geekswithblogs.net/malisancube/archive/2011/12/07/microsoft-opendoor-eventndashnairobi.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2011/12/07/microsoft-opendoor-eventndashnairobi.aspx'>http://geekswithblogs.net/malisancube/archive/2011/12/07/microsoft-opendoor-eventndashnairobi.aspx</a></p><div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"><iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/malisancube/archive/2011/12/07/microsoft-opendoor-eventndashnairobi.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div><p>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.</p> <p>The HTML5 and IE9 talk was more of a showcase and focused on new features that will continue to change the way we view the web and the way we design web applications. This included the new mark-up that comes with HTML5, hardware accelerated graphics, SVG, Canvas and many more.</p> <p>On ASP.NET MVC, I also talked about the new features that have been showcased for ASP.NET vNext, preventing Cross Script Attacks and deployment preparation (minification).</p> <p>Some of the pictures can be found on <a title="http://www.flickr.com/photos/malisancube/" href="http://www.flickr.com/photos/malisancube/">http://www.flickr.com/photos/malisancube/</a> </p> <p><a href="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/Microsoft-OpenDoor-EventNairobi_1334A/WP_000109_2.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="WP_000109" border="0" alt="WP_000109" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/Microsoft-OpenDoor-EventNairobi_1334A/WP_000109_thumb.jpg" width="460" height="347" /></a></p> <p> </p> <p><a href="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/Microsoft-OpenDoor-EventNairobi_1334A/WP_000103_2.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="WP_000103" border="0" alt="WP_000103" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/Microsoft-OpenDoor-EventNairobi_1334A/WP_000103_thumb.jpg" width="459" height="345" /></a></p> <p>ASP.NET MVC Best Practices [<a href="https://skydrive.live.com/#cid=DAC24AABCBBEE919&amp;id=DAC24AABCBBEE919!203" target="_blank"><strong><font color="#ff0000">Download</font></strong></a>]</p> <p>Links</p> <p><strong>HTML &amp; IE9</strong></p> <p><a title="http://ie.microsoft.com/testdrive/" href="http://ie.microsoft.com/testdrive/">http://ie.microsoft.com/testdrive/</a></p> <p><a title="http://www.beautyoftheweb.com/" href="http://www.beautyoftheweb.com/">http://www.beautyoftheweb.com/</a></p> <p><a title="http://html5labs.interoperabilitybridges.com/" href="http://html5labs.interoperabilitybridges.com/">http://html5labs.interoperabilitybridges.com/</a></p> <p><strong>ASP.NET MVC</strong></p> <p><a href="http://www.asp.net/mvc">http://www.asp.net/mvc</a></p> <p>http://www.asp.net/vnext/whats-new</p> <p><a title="http://haacked.com/archive/2009/06/25/json-hijacking.aspx" href="http://haacked.com/archive/2009/06/25/json-hijacking.aspx">http://haacked.com/archive/2009/06/25/json-hijacking.aspx</a></p> <p><a href="http://blog.stevensanderson.com">http://blog.stevensanderson.com</a> </p> <p><a href="http://hanselman.com">http://hanselman.com</a></p> <p><a href="http://orchardproject.net">http://orchardproject.net</a></p> <p><a title="http://msdn.microsoft.com/en-us/practices/bb190332" href="http://msdn.microsoft.com/en-us/practices/bb190332">http://msdn.microsoft.com/en-us/practices/bb190332</a></p> <p><a title="http://stackoverflow.com/questions/tagged/asp.net-mvc-3" href="http://stackoverflow.com/questions/tagged/asp.net-mvc-3">http://stackoverflow.com/questions/tagged/asp.net-mvc-3</a></p> <p>http://plugins.jquery.com/project/KeyTips</p> <p> </p> <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:3cc23114-903c-4905-be2c-1a4393f958dd" class="wlWriterSmartContent">Technorati Tags: <a href="http://technorati.com/tags/.NET" rel="tag">.NET</a>,<a href="http://technorati.com/tags/KenyaOpenDoor" rel="tag">KenyaOpenDoor</a>,<a href="http://technorati.com/tags/Community" rel="tag">Community</a>,<a href="http://technorati.com/tags/HTML5" rel="tag">HTML5</a>,<a href="http://technorati.com/tags/ASP.NET+MVC" rel="tag">ASP.NET MVC</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/147971.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2011/12/07/microsoft-opendoor-eventndashnairobi.aspxWed, 07 Dec 2011 19:00:07 GMThttp://geekswithblogs.net/malisancube/comments/147971.aspxhttp://geekswithblogs.net/malisancube/archive/2011/12/07/microsoft-opendoor-eventndashnairobi.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/147971.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/147971.aspxSimple Linq PIVOT to one rowhttp://geekswithblogs.net/malisancube/archive/2011/12/05/simple-linq-pivot-to-one-row.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2011/12/05/simple-linq-pivot-to-one-row.aspx'>http://geekswithblogs.net/malisancube/archive/2011/12/05/simple-linq-pivot-to-one-row.aspx</a></p><div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"><iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/malisancube/archive/2011/12/05/simple-linq-pivot-to-one-row.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div><p>My friend in Zimbabwe sent me an email a day ago with the following contents</p> <blockquote> <pre>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!!!!!!!!</pre>
</blockquote>
<pre> </pre>
<pre> </pre>
<div align="left">
<pre><font face="Verdana">I was like’ this looks like a candidate for pivot, but it requires that the result be put in exactly on row. I cheated and sent him back this code. He was happy.</font></pre>
</div>
<div align="left">
<pre><font face="Verdana"></font> </pre>
</div>
<pre> </pre>
<pre> </pre>
<div class="csharpcode">
<pre class="alt"><span class="kwrd">using</span> System;</pre>
<pre><span class="kwrd">using</span> System.Collections.Generic;</pre>
<pre class="alt"><span class="kwrd">using</span> System.Linq;</pre>
<pre><span class="kwrd">using</span> System.Text;</pre>
<pre class="alt"> </pre>
<pre><span class="kwrd">namespace</span> ConsoleApplication5</pre>
<pre class="alt">{</pre>
<pre> <span class="kwrd">class</span> Program</pre>
<pre class="alt"> {</pre>
<pre> <span class="kwrd">static</span> <span class="kwrd">void</span> Main(<span class="kwrd">string</span>[] args)</pre>
<pre class="alt"> {</pre>
<pre> var week_days = <span class="kwrd">new</span> List&lt;Sales&gt;();</pre>
<pre class="alt"> week_days.Add(<span class="kwrd">new</span> Sales {Sequence = 1, Day = <span class="str">"Sun"</span>, Amount = 23});</pre>
<pre> week_days.Add( <span class="kwrd">new</span> Sales {Sequence = 2, Day = <span class="str">"Mon"</span>, Amount = 18});</pre>
<pre class="alt"> week_days.Add( <span class="kwrd">new</span> Sales {Sequence = 3, Day = <span class="str">"Tue"</span>, Amount = 30});</pre>
<pre> week_days.Add( <span class="kwrd">new</span> Sales {Sequence = 4, Day = <span class="str">"Wed"</span>, Amount = 15}); </pre>
<pre class="alt"> week_days.Add( <span class="kwrd">new</span> Sales {Sequence = 5, Day = <span class="str">"Thu"</span>, Amount = 20});</pre>
<pre> week_days.Add( <span class="kwrd">new</span> Sales {Sequence = 6, Day = <span class="str">"Fri"</span>, Amount = 08});</pre>
<pre class="alt"> week_days.Add( <span class="kwrd">new</span> Sales {Sequence = 7, Day = <span class="str">"Sat"</span>, Amount = 0});</pre>
<pre> </pre>
<pre class="alt"> <span class="rem">//Before transpose</span></pre>
<pre> <span class="kwrd">foreach</span>(var day <span class="kwrd">in</span> week_days)</pre>
<pre class="alt"> Console.WriteLine(<span class="str">"{0} {1} {2}"</span>, day.Sequence, day.Day, day.Amount);</pre>
<pre> </pre>
<pre class="alt"> </pre>
<pre> var tr = from row <span class="kwrd">in</span> week_days</pre>
<pre class="alt"> group row by <span class="str">"SALES"</span> into g</pre>
<pre> <span class="kwrd">where</span> g.FirstOrDefault() != <span class="kwrd">null</span></pre>
<pre class="alt"> select <span class="kwrd">new</span></pre>
<pre> {</pre>
<pre class="alt"> DAY = g.Key,</pre>
<pre> Sun = g.Where(sales =&gt; sales.Day == <span class="str">"Sun"</span>).Sum(sales =&gt; sales.Amount),</pre>
<pre class="alt"> Mon = g.Where(sales =&gt; sales.Day == <span class="str">"Mon"</span>).Sum(sales =&gt; sales.Amount),</pre>
<pre> Tue = g.Where(sales =&gt; sales.Day == <span class="str">"Tue"</span>).Sum(sales =&gt; sales.Amount),</pre>
<pre class="alt"> Wed = g.Where(sales =&gt; sales.Day == <span class="str">"Wed"</span>).Sum(sales =&gt; sales.Amount),</pre>
<pre> Thu = g.Where(sales =&gt; sales.Day == <span class="str">"Thu"</span>).Sum(sales =&gt; sales.Amount),</pre>
<pre class="alt"> Fri = g.Where(sales =&gt; sales.Day == <span class="str">"Fri"</span>).Sum(sales =&gt; sales.Amount),</pre>
<pre> Sat = g.Where(sales =&gt; sales.Day == <span class="str">"Sat"</span>).Sum(sales =&gt; sales.Amount)</pre>
<pre class="alt"> };</pre>
<pre> </pre>
<pre class="alt"> </pre>
<pre> </pre>
<pre class="alt"> <span class="kwrd">foreach</span>(var day <span class="kwrd">in</span> tr)</pre>
<pre> Console.Write(<span class="str">"{0} {1} {2} {3} {4} {5} {6}"</span>, day.Sun, day.Mon, day.Tue, day.Wed, day.Thu, day.Fri, day.Sat);</pre>
<pre class="alt"> </pre>
<pre> Console.ReadLine();</pre>
<pre class="alt"> }</pre>
<pre> }</pre>
<pre class="alt"> </pre>
<pre> </pre>
<pre class="alt"> <span class="kwrd">public</span> <span class="kwrd">class</span> Sales</pre>
<pre> {</pre>
<pre class="alt"> <span class="kwrd">public</span> <span class="kwrd">int</span> Sequence {get; set;}</pre>
<pre> <span class="kwrd">public</span> <span class="kwrd">string</span> Day { get; set;}</pre>
<pre class="alt"> <span class="kwrd">public</span> <span class="kwrd">double</span> Amount {get; set;}</pre>
<pre> }</pre>
<pre class="alt">}</pre>
</div>
<style type="text/css"><![CDATA[
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, "Courier New", courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }]]></style>
<pre> </pre>
<pre> </pre>
<pre><font face="Verdana">I should mention that I tried this code on my favourite ORM DataObjects.NET and I was not disappointed. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/0e073510c548_1107B/wlEmoticon-winkingsmile_2.png" /></font></pre>
<pre> </pre>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a58144f2-5f9f-4eeb-8637-c6b62ddadf1c" class="wlWriterSmartContent">Technorati Tags: <a href="http://technorati.com/tags/.NET" rel="tag">.NET</a>,<a href="http://technorati.com/tags/Linq" rel="tag">Linq</a>,<a href="http://technorati.com/tags/PIVOT" rel="tag">PIVOT</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/147943.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2011/12/05/simple-linq-pivot-to-one-row.aspxMon, 05 Dec 2011 16:35:09 GMThttp://geekswithblogs.net/malisancube/comments/147943.aspxhttp://geekswithblogs.net/malisancube/archive/2011/12/05/simple-linq-pivot-to-one-row.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/147943.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/147943.aspx50% off on DataObjects.NEThttp://geekswithblogs.net/malisancube/archive/2011/12/05/50-off-on-dataobjects.net.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2011/12/05/50-off-on-dataobjects.net.aspx'>http://geekswithblogs.net/malisancube/archive/2011/12/05/50-off-on-dataobjects.net.aspx</a></p><div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"><iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/malisancube/archive/2011/12/05/50-off-on-dataobjects.net.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div><p>I have been closely following the updates on <a href="http://x-tensive.com/">http://x-tensive.com/</a> 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 <a href="http://blog.dataobjects.net/2011/12/big-winter-sale.html?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+DataObjects+%28DataObjects.Net+Blog%29" target="_blank"><strong>here</strong></a> and thought it would be very interesting for anyone that wishes to start using DataObjects.NET but <strike>feared</strike> could not afford the price.</p> <p>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 than SQL. For your information the new fact aggregation and comparing site <a href="http://9facts.com">http://9facts.com</a> uses DataObjects.NET behind the scenes. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/ab70f6a4a220_D09F/wlEmoticon-smile_2.png" /> For me, that is a testament that shows versatility of a product. The X-tensive guys decided on dogfooding their own product and it has worked very nicely. </p> <p>Links</p> <p><a href="http://dataobjects.net">http://dataobjects.net</a> </p> <p><a title="http://blog.dataobjects.net/2011/12/big-winter-sale.html" href="http://blog.dataobjects.net/2011/12/big-winter-sale.html">http://blog.dataobjects.net/2011/12/big-winter-sale.html</a></p> <p><a href="http://blog.dataobjects.net/2011/11/upcoming-major-update.html]">http://blog.dataobjects.net/2011/11/upcoming-major-update.html</a></p> <p><a title="http://9facts.com/About" href="http://9facts.com/About">http://9facts.com/About</a></p> <p><a title="http://blog.x-tensive.com/2011/11/weve-launched-9factscom.html" href="http://blog.x-tensive.com/2011/11/weve-launched-9factscom.html">http://blog.x-tensive.com/2011/11/weve-launched-9factscom.html</a></p> <p> </p> <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:7c63c74e-6aec-44ff-96cf-4b43a562644d" class="wlWriterSmartContent">Technorati Tags: <a href="http://technorati.com/tags/ORM" rel="tag">ORM</a>,<a href="http://technorati.com/tags/DataObjects.NET" rel="tag">DataObjects.NET</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/147941.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2011/12/05/50-off-on-dataobjects.net.aspxMon, 05 Dec 2011 12:41:05 GMThttp://geekswithblogs.net/malisancube/comments/147941.aspxhttp://geekswithblogs.net/malisancube/archive/2011/12/05/50-off-on-dataobjects.net.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/147941.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/147941.aspxEMR - TB Module Deploymenthttp://geekswithblogs.net/malisancube/archive/2011/09/09/emr---tb-module-deployment.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2011/09/09/emr---tb-module-deployment.aspx'>http://geekswithblogs.net/malisancube/archive/2011/09/09/emr---tb-module-deployment.aspx</a></p><div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"><iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/malisancube/archive/2011/09/09/emr---tb-module-deployment.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div><p>Today, We deployed the “David Blaine” version of the TB Module for our EMR solution here at IDI (<a href="http://idi.mak.ac.ug">http://idi.mak.ac.ug</a>). 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 required to make instant decisions. e.g. showing weight trends to determine loss of weight.</p> <p>We got some of the feedback in less than 30 minutes of usage. A reason to smile. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/EMR_115AE/wlEmoticon-smile_2.png" /></p> <p>This TB module is represented by additional assemblies that are dynamically loaded by <a href="http://geekswithblogs.net/malisancube/archive/2009/06/12/the-so-called-emr-software-integrated-clinic-enterprise-application-ndash.aspx" target="_blank">ICEA</a> (EMR). If these assemblies exist in a certain folder dedicated for plugins and a manifest file indicates that it must be loaded, then the user will see a seamless integration of features related to it. User rights and security propagates into the loaded module, hence the user that is not explicitly given authorisation to the module will be denied access. We were worried early in the project about reflection and performance but later we found ways to cache some most frequently used views and lazy load images and other data. The system uses a model + view + presenter approach, and we had to made some modifications to the <a href="http://www.componentfactory.com/" target="_blank">Krypton Toolkit</a> to enable the views to come with their own Ribbon parts. i.e. each view comes with its own RibbonTabs, RibbonGroupButton, AppMenu items and anything you want fused with the main shell. This keeps the controls in context with the data at hand. We also added a mechanism within the framework which keeps the current patient context despite the view you are currently viewing. This enables us to change between views in different modules and still keep on the selected patient in context.</p> <p> </p> <p><a href="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/EMR_115AE/image18.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/EMR_115AE/image18_thumb.png" width="600" height="396" /></a></p> <p> </p> <p>The TB Module is made up of a number of forms within the application. </p> <ol> <li><strong>TBsuspect</strong>. This is used to enter details of the patient who would have presented symptoms which suggest that they may have TB. This would enable the TB doctor to perform a physical examination and order for investigations (in the lab – online) that need to be carried out. These may be sputum smear, culture and sensitivity, chest x-ray, abdominal ultrasound, lymph node aspirate, pleural fluid, lymph node biopsy or anything else. </li> <li><strong>TBInvestigation</strong>. This will keep the results from the lab or radiology. It will enable the TB doctor to confirm the existence of TB, and if it exists then the Diagnosis form is filed in. </li> <li><strong>TBDiagnosis</strong>. This is a very interesting form in that as the user fills it in, notifications and hints are displayed based on the rule based engine. </li> <li><strong>TBFollowup</strong>. This is used for a person that is undergoing treatment and filled in on each follow-up visit and it will depend very much on the visit phase (2 weeks, End of Intensive, End of extended Intensive Phase, 5 months continuation phase, End of treatment, End of Extended Treatment). The rule based engine gives hints based on the examination and entries. e.g. When a patient has Skin Rash (side Effect), the doctor should verify whether its major using WHO (World Health Organisation) and NTLP (National TB and Leprosy Programme) standards and consult with TB Coordinator. If its mild then treat with anti-histamines e.t.c. </li> <li><strong>TBOutcome</strong>. This was a challenge to develop because its linkages with all the other forms. The outcome is the termination of the episode which may have started from the patient being a TB suspect or transferred in at diagnosis phase. This is filled in when a patient completes, defaults, is transferred out, or is diseased. </li> </ol> <p> </p> <p><a href="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/EMR_115AE/image21.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/EMR_115AE/image21_thumb.png" width="385" height="332" /></a></p> <p>We had a major challenge in that there had been an Access database which was used to enter information written on forms. The design was not what you’d want (not by us) and to make things worse, there were many fields which were not validated (esp dates) and it was hell to transfer the data into ICEA. The access system allowed duplicates and there was no relationship made between the forms I talked about. Forging relationships where there existed duplicates was a major challenge. I’m happy to say that we found a way to create relationships that did not exist through the TB module.</p> <p><img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/EMR_115AE/wlEmoticon-smile_2.png" /></p> <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:03a7b9be-1b16-48c0-9675-d8946c669a2a" class="wlWriterSmartContent">Technorati Tags: <a href="http://technorati.com/tags/EMR" rel="tag">EMR</a>,<a href="http://technorati.com/tags/.NET" rel="tag">.NET</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/146816.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2011/09/09/emr---tb-module-deployment.aspxFri, 09 Sep 2011 18:15:22 GMThttp://geekswithblogs.net/malisancube/comments/146816.aspxhttp://geekswithblogs.net/malisancube/archive/2011/09/09/emr---tb-module-deployment.aspx#feedback1http://geekswithblogs.net/malisancube/comments/commentRss/146816.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/146816.aspxDataObjects.Net Beta2 SalesPoint Sample in MySqlhttp://geekswithblogs.net/malisancube/archive/2011/06/14/dataobjects.net-beta2-salespoint-sample-in-mysql.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2011/06/14/dataobjects.net-beta2-salespoint-sample-in-mysql.aspx'>http://geekswithblogs.net/malisancube/archive/2011/06/14/dataobjects.net-beta2-salespoint-sample-in-mysql.aspx</a></p><div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"><iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/malisancube/archive/2011/06/14/dataobjects.net-beta2-salespoint-sample-in-mysql.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div><p>After Dmitri posted <a href="http://blog.dataobjects.net/2011/06/dataobjectsnet-45-beta-2.html" target="_blank">DataObjects.Net beta2</a> 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 <a href="http://dataobjects.net/" target="_blank">DataObjects.NET</a>. 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. </p> <p>I have attached the SQL script that will enable you to test the SalesPoint sample in MySQL.</p> <p><a href="http://cid-dac24aabcbbee919.office.live.com/self.aspx/.Public/salespoint.sql"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="download_image" border="0" alt="download_image" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/SalesPoint-Sample_1378E/download_image_3.jpg" width="240" height="80" /></a></p> <p>There is a couple of things I want to add into the sample, including MEFing it up as a MEF addict. I will keep you posted on it in due course.</p> <img src="http://geekswithblogs.net/malisancube/aggbug/145858.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2011/06/14/dataobjects.net-beta2-salespoint-sample-in-mysql.aspxTue, 14 Jun 2011 19:21:43 GMThttp://geekswithblogs.net/malisancube/comments/145858.aspxhttp://geekswithblogs.net/malisancube/archive/2011/06/14/dataobjects.net-beta2-salespoint-sample-in-mysql.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/145858.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/145858.aspxUganda .Net Usergroup&ndash;May 2011http://geekswithblogs.net/malisancube/archive/2011/06/08/uganda-.net-usergroupndashmay-2011.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2011/06/08/uganda-.net-usergroupndashmay-2011.aspx'>http://geekswithblogs.net/malisancube/archive/2011/06/08/uganda-.net-usergroupndashmay-2011.aspx</a></p><div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"><iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/malisancube/archive/2011/06/08/uganda-.net-usergroupndashmay-2011.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div><p>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 (<a href="http://dataobjects.net">http://dataobjects.net</a>). I advocated for best practices presented by the best practices team <a title="http://msdn.microsoft.com/en-us/practices/bb190332" href="http://msdn.microsoft.com/en-us/practices/bb190332">http://msdn.microsoft.com/en-us/practices/bb190332</a></p> <p> </p> <a href="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/baa8d09aec90_D43B/100_2073.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="100_2073" border="0" alt="100_2073" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/baa8d09aec90_D43B/100_2073_thumb.jpg" width="534" height="344" /></a> <p> </p> <p>Even after a technical problem with the projector we still continued. We clustered together and the heat continued.</p> <p>I have continued with my interest in DataObjects.Net and I took some time to explain the placement of ORMs (In particular DataObjects.Net). I also talked about some of the lessons I have learned which are vital in collaborated software development.</p> <p><a href="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/baa8d09aec90_D43B/100_2061.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="100_2061" border="0" alt="100_2061" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/baa8d09aec90_D43B/100_2061_thumb.jpg" width="304" height="295" /></a></p> <p>You can download the PowerPoint presentation from <a href="http://cid-dac24aabcbbee919.office.live.com/self.aspx/.Public/App%20Architecture.pdf" target="_blank">here</a>. </p> <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9303336b-d5bf-4091-b09a-cc0e3798eceb" class="wlWriterSmartContent">Technorati Tags: <a href="http://technorati.com/tags/DataObjects.NET" rel="tag">DataObjects.NET</a>,<a href="http://technorati.com/tags/.NET+Usergroup" rel="tag">.NET Usergroup</a>,<a href="http://technorati.com/tags/Uganda+.NET+Community" rel="tag">Uganda .NET Community</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/145772.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2011/06/08/uganda-.net-usergroupndashmay-2011.aspxWed, 08 Jun 2011 12:30:37 GMThttp://geekswithblogs.net/malisancube/comments/145772.aspxhttp://geekswithblogs.net/malisancube/archive/2011/06/08/uganda-.net-usergroupndashmay-2011.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/145772.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/145772.aspxHighlight Reporthttp://geekswithblogs.net/malisancube/archive/2011/05/19/highlight-report.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2011/05/19/highlight-report.aspx'>http://geekswithblogs.net/malisancube/archive/2011/05/19/highlight-report.aspx</a></p><div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"><iframe src="http://www.facebook.com/widgets/like.php?href=http://geekswithblogs.net/malisancube/archive/2011/05/19/highlight-report.aspx" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div><br /> <p>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. </p> <br /> <p><b>1) The DataObjects.NET contribution programme.</b> </p> <p>From February this year I quickly responded to the contribution programme to DataObjects.NET which was announced by Dmitri <a href="http://dmitrimaximov.blogspot.com" target="_blank">dmitrimaximov.blogspot.com</a>. I took up the task of developing the provider for MySql for DataObjects.NET and a new section of programming was opened for me. The first was some of the interesting coding patterns,including the translator pattern among others. I had some mental gymnastics trying to distil the content which enables SqlDom to simply spit valid SQL for a particular RDBMS, but it was not without a benefit. I completed the provider and of course Dmtri was true on his word, he sent me a license. There has been a number of development tasks that Dmitri has undertaken with his team <a href="http://x-tensive.com/" target="_blank">x-tensive.com/</a> to ensure that the provider fits very well to the DataObjects.Net infrastructure.</p> After working on the MySql provider I was excited, I have decided to take up some other parts of the ORM and see if I can extend them, not just for me but for other developers who use DataObjects.Net. Well... if you have been reading up to this point you may wonder why I'm so excited about DataObjects.Net. Yes, I was impressed by the LINQ coverage and the usage simplicity. There are many features that make me like it more than any other ORM and I would write a number of posts describing the parts I like. I would suggest you visit <a href="http://dataobjects.net" target="_blank">dataobjects.net</a> for more details on their features. <p> <br /><b>2) PRINCE2</b> </p> <p>Not so much here except the fact that I was doing a short course on Project Management using the PRINCE2 approach. It was quite interesting from the beginning but I quickly realised it was hard from the perspective in which the examiners ask questions. some of the questions are purely to test your English, which I found awkward. In most cases you had to have crammed the course book because you’d be asked to complete a sentence according to the way it appears on the course material. This I found quite weird because it does not promote understanding and deductively, but only exercises the temporary memory which is supposed to keep things in that level of detail, but after the exam you can re-allocate it for other stuff.</p> <br /> <p><b>3) ICEA (Integrated Clinic Enterprise Application)</b> </p> This EMR solution has been evolving. We implemented it in phases and the phase that I have been working on lately has been the TB module. You may wonder why TB (tuberculosis) is such a vital thing in an EMR solution that it warrants a module developed specifically for it. Well.. yes, it does. TB is a very complex disease and is has the highest cause of mortality among HIV/AIDS patients. It needs to be monitored closely and controlled. The use of information systems here should provide help in showing notifications, capture details of patients suspected to have TB, capture investigations and subsequent follow-ups. All this has to be coupled with normal clinic visits and diagnosis, counselling, lab ordering and prescriptions. So.. what you are looking at is a number of modules that are accessible to different individuals in a clinical setting and each one performs tasks relevant to their work, and the workflow and state of data is managed through the visit lifetime. The result is a unified system made up of different modules/plugins, but working in a coupled mechanism and allowing users and patients to have a well-defined workflow that's efficient. I presented this solution once again to the Health Research Forum and was excited that this solution has reduced the error rate which was 80% to 1% and the errors that were found were not significant to the healthcare of patient. I celebrated. <br /> <br /> <p><b>4) Uganda .NET Usergroup</b> </p> <p>I have been busy with the meetings every month. Its been so much fun, I have had developers from different technologies within the Microsoft stack and this has led to a broader view and better design choices among developers. Some of our talks have included Visual Studio 2010 + .NET 4.0, Windows Azure, NHibernate Internals, SOA using .NET, Aspect Oriented development, .NET Development frameworks among others. Last month we could not meet because of the riots and the violence which engulfed our normally calm city.</p> <br /> <p><b>5) Microsoft ImagineCup</b> </p> <p>I chose the students from Makerere who had to go and compete in Kenya. I was very impressed with the vibrant ideas they had and the vision they had. The group had developed a system to help in drug adherence by making use of mobile phones, and that is not all. They also included a reminder system which synchronised the visit messaging to the medical provider and the patient. I was impressed. I noted that there had not been support for students by different stakeholders and that has made it difficult in th past for them to not only know about ImagineCup, but get facilitated to perform the activities that would enable them to win in the competition. I have aired this to the individuals at Microsoft and some Universities and monitoring the progress from a bird's eye view.</p> <br /> <p><b>6) Research and Development</b> </p> <p>I will sort of unify the rest of the items I wave been working on under this title. Some of the things I have been researching and doing prototypes of, range from mobile network applications, Windows cloud applications, Windows AppFabric. I have also been following the AsyncCTP which has been released by Microsoft and think it is going to change our lives and the way users interact with software. I will be blogging about some of these things I have been working on and playing with. I can already see many applications becoming more responsive because of these new innovations. </p> <br /> <p><b>7) Sports.</b> </p> <p>You may not know this. I started playing soccer. Ohh yes its true. I joined <a href="http://www.youtube.com/watch?v=r0Ij4pyzkMA">Farai Mwakutuya</a> and his team and have been playing soccer every Saturday afternoon. The feeling has been good but very hard. I will not say much about about this but tell you that during my first game I was the first to send the ball to the nets. </p> <img src="http://geekswithblogs.net/malisancube/aggbug/145447.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2011/05/19/highlight-report.aspxThu, 19 May 2011 22:11:46 GMThttp://geekswithblogs.net/malisancube/comments/145447.aspxhttp://geekswithblogs.net/malisancube/archive/2011/05/19/highlight-report.aspx#feedback1http://geekswithblogs.net/malisancube/comments/commentRss/145447.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/145447.aspxThe Uganda .NET Usergroup meeting for January 2011 - a look back.http://geekswithblogs.net/malisancube/archive/2011/01/30/the-uganda-.net-usergroup-meeting-for-january-2011.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2011/01/30/the-uganda-.net-usergroup-meeting-for-january-2011.aspx'>http://geekswithblogs.net/malisancube/archive/2011/01/30/the-uganda-.net-usergroup-meeting-for-january-2011.aspx</a></p><p>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 <a href="http://twitter.com/arwakatungu" target="_blank">@arwakatungu</a> 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 Azure project. He explained the history and evolution of the Windows Azure, SQL Azure and cloud services offered by Amazon and google.com. The attendees had many questions to ask (obviously), but they were all answered very well. We once again thank Allan, for taking time to prepare the presentation and demonstrating for us. We recorded a video on the entire presentation and after doing some editing we will publish it. </p> <p>One wish which was echoed by most members was that Microsoft should open the cloud services and development for Africa. Microsoft currently does not even have servers here in Africa and so far, that does not put African developers in the same platform as other developers in other continents. Now is the time considering the improvements in network speeds and joining of the Seacom network and broadband.</p> <p> </p> <p><a href="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/ea9b63112d7a_9AAB/100_2043.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="100_2043" border="0" alt="100_2043" src="http://gwb.blob.core.windows.net/malisancube/Windows-Live-Writer/ea9b63112d7a_9AAB/100_2043_thumb.jpg" width="452" height="339" /></a></p> <p>I presented on Parallelism and Multithreading using .NET 4.0, I also gave some details on the language changes in C# 5.0 and the async keyword and the TaskEx class. I explained the Task, Scheduling of parallel tasks and demonstrated problems that may arise from using parallelism inappropriately. I also demonstrated the performance improvements that may be achieved by taking advantage of multi-core processors.</p> <p>You may download the presentation on Parallelism and Multi-threading from <a href="http://cid-dac24aabcbbee919.office.live.com/self.aspx/.Public/dotNET40%5E_Parallelism%5E_Multi-Threading.pdf" target="_blank">here</a>.</p> <p>The resolution of the meeting was that we should meet more than once a month and begin other activities which should be more fun. e.g. Geek Dinner, Geek Beer or CodeCamp. Based on that we all agreed we shall have a mid-month meeting starting from February.</p> <p>Cheers folks!</p> <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a569dcb2-61e2-429c-a59d-6557563e579d" class="wlWriterEditableSmartContent">del.icio.us Tags: <a href="http://del.icio.us/popular/.net" rel="tag">.net</a>,<a href="http://del.icio.us/popular/usergroup" rel="tag">usergroup</a>,<a href="http://del.icio.us/popular/cloud+computing" rel="tag">cloud computing</a>,<a href="http://del.icio.us/popular/parallelism" rel="tag">parallelism</a>,<a href="http://del.icio.us/popular/multi-threading" rel="tag">multi-threading</a></div> <img src="http://geekswithblogs.net/malisancube/aggbug/143713.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2011/01/30/the-uganda-.net-usergroup-meeting-for-january-2011.aspxMon, 31 Jan 2011 09:13:14 GMThttp://geekswithblogs.net/malisancube/comments/143713.aspxhttp://geekswithblogs.net/malisancube/archive/2011/01/30/the-uganda-.net-usergroup-meeting-for-january-2011.aspx#feedbackhttp://geekswithblogs.net/malisancube/comments/commentRss/143713.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/143713.aspxMy thoughts on Kindle 3http://geekswithblogs.net/malisancube/archive/2010/09/24/my-thoughts-on-kindle-3.aspx
<p>Originally posted on: <a href='http://geekswithblogs.net/malisancube/archive/2010/09/24/my-thoughts-on-kindle-3.aspx'>http://geekswithblogs.net/malisancube/archive/2010/09/24/my-thoughts-on-kindle-3.aspx</a></p><p>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.</p> <p><strong>Things i like</strong></p> <ol> <li>I was tired a few days ago and set the speakers “on” and the Kindle device started reading for me. I normally don't read the types of books that Kindle was reading for me. I quickly start yawning and dosing when i read those types of books, but with kindle reading for me, i lay relaxed on my bed and switched off the lights and Mr Kindle read 9 chapters for me in one evening. I was excited.</li> <li>The service is excellent. I called Amazon and spoke to support after my Kindle suddenly started showing only part of the screen and froze the half rest.</li> <li>The dictionary that can help me as i read when i focus on a word i need explained. the Kindle has an in-built Oxford American English Dictionary that, i think is excellent and well positioned for immediate help.</li> <li>The experimental music playing functionality is cool. I think it plays mp3s only, i don’t know if it plays other formats.</li> <li>The new Collections feature is also excellent. I was having problems finding books because i wanted a folder structure that would let me classify content by subject /author or date.</li> <li>The Amazon store is awesome, i like the easy way i can search for stuff and tryout – well i know many online stores bound to mobile devices have these features but i truly loved the Amazon store.</li> <li>PDF support. This is just necessary.</li> <li>Is so easy to upload files into this device. Connect it to your PC and bam! You have it act like a flash disk, copy paste, cut paste, delete.</li> </ol> <p><strong></strong></p> <p><strong>Things that i wish could be improved</strong></p> <p> </p> <ol> <li>The screens seem very fragile.</li> <li>I wish i could have a more custom dashboard type of interface. Showing books that i’m still reading, New, those on trial, new music/audio files, </li> <li>I wish Kindle could support PowerPoint presentation files.</li> <li>As a developer, i want to see ways of creating small custom apps, that could make my experience better. I know Amazon has availed the SDK for Kindle, but i think we need more documentation / api details. What happens to us .NET developers? I suppose we use mono or other linux tools like that. But where are the guidelines and best practices?</li> <li>The experimental feature for playing mp3, should rather give me some sort of playlist so i can choose what i want to play.</li> <li>Touch, gestures and these new things that most geeks are talking about. I found it quite tough to surf the internet, position my mouse click. With touch even context menus will be easier. Touch a word and get a dictionary explanation for it.</li> <li>I don’t really care much about color screen for now, but when it comes, i want to play video files too.</li> <li>Improve on that browser. I want to save the html locally and open it later where i have no connection and read it.</li> </ol> <img src="http://geekswithblogs.net/malisancube/aggbug/141966.aspx" width="1" height="1" />Malisa L. Ncubehttp://geekswithblogs.net/malisancube/archive/2010/09/24/my-thoughts-on-kindle-3.aspxFri, 24 Sep 2010 18:01:37 GMThttp://geekswithblogs.net/malisancube/comments/141966.aspxhttp://geekswithblogs.net/malisancube/archive/2010/09/24/my-thoughts-on-kindle-3.aspx#feedback1http://geekswithblogs.net/malisancube/comments/commentRss/141966.aspxhttp://geekswithblogs.net/malisancube/services/trackbacks/141966.aspx