Posts

Showing posts from 2014

Projects and Involvement : Update

Name of Project Details CMI Utilities Cognizant Technology Solutions CMI Utilities are small utilities developed for the CMI Production Support Team. -           Batch Job Monitoring Tool -           Error Analysis and Job Status Report Generator -           ORC Server Information Extractor -           Control Sheets File Generator. Role: Developer/ Production Support Technologies:     Microsoft C#.Net, .Net Framework 4.5, Microsoft Setup and Deployment Package,     SQL Server 2008. Shell Lube Bay Rewards GreatMinds Collaboration IT Solutions Inc. An Android mobile application used by Shell customers for earning and claiming rewards. Role: Project  Lead Technologies:  ...

Learning Android Development with Android Studio.

Started doing android development using Android Studio so far I'm now comfortable using android studio IDE, able to use the shorcut keys but still trying to get the hang of using VIM emulator (they say its good), I've gain understanding of what an activity, fragment, service provider is, as well as the controls such such as layout, spinner and others. Here is my Stack: Android Studio Gradle Butterknife Retrofit. So far, I've completed one project on my own and the other one as a joint project with an expert android dev.

XML to ExpandoObject using Recursion in C#

Here's how to convert XML to an ExpandoObject using recursion. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 public static dynamic ToExpando ( this XDocument document) { return CreateExpando (document.Root); } private static dynamic CreateExpando (XElement element) { var result = new ExpandoObject() as IDictionary< string , object >; if (element.Elements().Any(x => x.HasElements)) { var list = new List<ExpandoObject>(); result.Add(element.Name.ToString(), list); foreach ( var childElement in element.Elements()) { list.Add(CreateExpando(childElement)); } } else { foreach ( var leafElement in element.Elements()) { result.Add(leafElement.Name.ToString(), leafElement.Value); } } return result; } Happy Coding!