Sitecore SDK for Xamarin

Sitecore is a high-end CMS. Putting data from its databases onto a phone is suddenly very easy.  Sitecore and Xamarin recently announced the Sitecore SDK for Xamarin. This post will run through an application that handles an implicit relationship to retrieve data.

The primary relationship we’ll look at comes from two tables.  One has the GUIDs of all the currently available jobs, the other ties those guids to the name of each job.  Note that the GUIDs are in one long string.

By experimentation we learn that the job objects we’ll get from the database have a number of fields we won’t need, and three we will.  We thus create our model class as follows

Continued here

Posted in Essentials | Leave a comment

Yet Another Podcast #136 K. Scott Allen

Scott Allen is extremely well regarded in the industry, for hisK. Scott Allen programming skill, his teaching skills and for being a kind and nice man.






Listen | Yet Another Podcast






Posted in Essentials | Leave a comment

Damn it! Can’t you make your code less complex?


I am so tired of complex code that can’t be read without having to trace definitions within definitions withshutterstock_132360455in references, within Interface definitions within indirection….  until I have no flippin’ idea what is going on.

This is even worse when perpetrated in sample code.  Can someone please tell sample code writers that the rule is “make it as simple as possible and demonstrate only one thing; and that one thing is not how clever you are.”




Posted in Essentials | 1 Comment

Song of the Day: Press the Buzzer

DarWilliamsPress the Buzzer is based on the infamous Milgram Experiment.  This brilliant song captures the entire essence of the experiment and the fall out from it, without ever losing its compelling folk rock rhythm.

Like nearly all her music, this one is highly recommended.

I’m feeling sorry for this guy that I press to shock
He gets the answers wrong, I have to up the watts

And he begged me to stop, but they told me to go
I press the buzzer, I press the buzzer…


Posted in Essentials | Leave a comment

Xamarin.Forms: Incremental Search

I recently posted about obtaining data for purposes of creating demonstration programs.  IncrementalSearchFinal

That actually was written in service to today’s post, which will use that data to create a list of “people” and then allow you to search incrementally, as shown in the illustration; I typed “Jaco” and any name that contained Jaco was brought up.

This post shows two meaningful techniques: it reviews grouping and it demonstrates incremental searches.

Continued here

Posted in Xamarin | Tagged , | Leave a comment

This Post Has No Value

AngerI set out to write a post on Incremental Searching in Xamarin applications (which I will do next) but along the way I realized i need a goodly amount of data to search.

This is a  problem that arises fairly often, so I wrote a quick and dirty solution which is not terribly generalizable but was fun nonetheless.


Posted in Essentials | Leave a comment

IoT – Opportunity Knocks

This marks the first in a series of postings on the Internet of Things (IoT).  Come with me as I learn more about these emerging technologies which promise to revolutionize everything we do.

First, the obligatory introduction for those of you who have been living in a cave…


IoT is the use of web/network based everyday appliances and other, well, things. IoT represents vending machines that keep their own inventory, toasters that alert you when the toast is done, fire alarms that wake you while calling the fire fighters, and so much more.

Knockertunity Ops

IoT presents a significant opportunity for developers; a technology space that is growing rapidly, and in many directions at once.  While the market may not yet support a substantial investment, this is a sector you want to track closely.


Posted in IoT | Leave a comment

Dialing a number using DependencyService in Xamarin.Forms

OldPhone.stockAs you can probably tell from my previous posts, I love Xamarin.Forms; principally because of XAML and DataBinding.  It is just easier to create a cross-platform (iOS, Android and Windows Phone) with Xamarin.Forms than any other way.

Sometimes however, you do need to reach down to the native code to accomplish something that just isn’t wrapped in Xamarin.Forms.  One good example is dialing the phone. Let’s build an application that does just that.

Continued here


Posted in Xamarin | Tagged , | 1 Comment

Yet Another Podcast – Reboot!

Yet Another Podcast (YAP) had quite a run in its first iteration.  We had (among many others), onair_istock_thumb.jpgScott Guthrie, Miguel de Icazza, Scott Hanselman, Charles Petzold, John Papa, Laurent Bugnion… the list is too long.


The last show, however, was last year, show #135 with Miguel de Icazza.  It is time to restart, inviting industry leaders in the Xamarin and .NET world to come back and bring us up to date.  So…  our first new show will be May 13, and we’ll try for at least two shows per month.

I’m working on setting up a mailing list so that you can (optionally) be informed when a new show is available.  At a minimum, we’ll be available through iTunes and Stitcher as well as this site.

More soon….


Posted in Essentials | Leave a comment

The $20,000 Xamarin Programmer

If Xamarin programing is going to be how you make your living,  then I highly recommend this list of hardware and software.

iOS, OSX, Android, Windows Phone, Windows


ParallelsIf you are going to develop on both Mac and Windows, it is painful to switch back and forth between machines.

Ideally, you’ll run Windows on a Mac, using Parallels or something similar. Parallels is the right thing, but you need hardware that will fully support dual operating systems.


MacProBut even a fully tricked out MacBookPro is not quite powerful enough to make this entirely painless.  When compiling in Windows, I find that the Mac slows to a crawl.

The solution is to get serious and buy a MacPro (desktop) with enough memory (32GB) and enough Cores (6) to never experience a slow down.  You’ll also want to get a lot of storage, I recommend at least a Terrabyte of Flash storage.  This configuration will set you back just over $5,000.


Continued here



Posted in Essentials, Opinion, Product Reviews, Xamarin | Tagged , | 2 Comments

Macbook Pro Retina 16GB/512GB For Sale

15.4-inch MacBook Pro 2.3GHz Quad-core Intel i7 with Retina Display

16GB of memory and 512GB Flash drive. mac4sale

It is one year old, in excellent condition and has 2 years left on AppleCare.

Cost me $3200, asking $1600.

Email to or  339-201-6010



[Reason for sale, acquisition of another MacBook Pro, A Macbook Air and a MacPro. I gotta’ sell this or my wife will kill me. Save a life, call me.]

Posted in Essentials | 2 Comments

Xamarin.Forms: Segmented Control

iOS has a very useful segmented control.   It is, essentially, a set of radio buttons that look more like an array of normal buttons…



It would be great to have this on iOS and Android, and by the way I’d like it to work in Xamarin.Forms.  So I set out to write it, and I did so the way I do, which is to first see if someone else has already done it(!)  Sure enough, my buddy Venkata pointed me at Chris Pellett’s project on GitHub.  It does, at least to a first approximation, exactly what I want.


Read more

Posted in Xamarin | Leave a comment