Monthly Archives

August 2014

Multi-Value Visibility Binding with Kendo UI MVVM

By | News | 2 Comments

Custom bindings with Kendo UI are just so useful! They remind me of value converters in XAML, which may be why I like them so much. Write a piece of code once, and suddenly you can use the same piece of markup to bind easily and consistently to the same types of values. If you haven’t seen it, Adam wrote a great piece on custom visibility bindings over a year ago. Today I want to do something else with visibility bindings – bind to a non-boolean property so I can have multiple values. In this case, I’m going to bind the property…

Read More

Winds of Change for Nokia Developers

By | .NET, Blogs, C#, Mobile, Multi-Device, News, Xamarin | One Comment

For the last 16 months I’ve had the privilege of serving as a Nokia Developer Champion. I’ve spoken at numerous events, conferences, and handed out a ton of swag. In return, I’ve gotten early access to the latest Nokia SDK’s and hardware. I’ve also gotten to work with some great Nokia and Microsoft people. We regretfully received word this week that Microsoft is ending the Nokia Champion and Nokia Ambassador programs on September 1. I would like to thank Randall Arnold , Greg Stoll , and Rich Dunbar  for helping me with my Nokia Champion duties. Although the swag and…

Read More

Falafel is Hiring a Testing Consultant

By | careers, Testing | No Comments

Falafel is looking to grow our ALM and Testing division! Are you someone who: Loves helping organizations deliver great value to their users/customers? Is passionate about learning–and even more passionate about sharing what you’ve learned? Has worked in the testing domain for a number of years? (That would mean you’ve done something other than the same exact job for several years…) Understands that testers don’t “assure quality”, but help organizations make informed decisions? Knows the difference between “checking” and “testing”, even if you’d rather do actual testing instead of debating subtleties of the differences? Has written automated test scripts with…

Read More

You can use LINQ’s ‘let’ keyword to tune the emitted SQL

By | .NET, C# | 10 Comments

Here’s an interesting little factoid I just stumbled across during ordinary development. I wanted to see if projecting a row into an object with a nested object would impact the generated SQL. Here’s the original query:

And here’s what I wanted to test to see if the resulting SQL would be any different:

And it wasn’t. Here’s the output SQL for both LINQ queries above. (Anyone else bothered by the term “LINQ query?” Because if you expand the acronym, you’re saying “Language Integrated Query query.”)

So now I know that I can group together related columns in an…

Read More

Cyan Developer Preview Update for Windows Phone 8.1 Enables SensorCore

By | .NET, C#, Microsoft, Mobile, News | 3 Comments

­I was happy to receive the latest Windows Phone 8.1 update on my 1520. This update brings it up to OS version: 8.10.14157.200 The SensorCore SDK gives you access to a step counter, activity information, and capabilities to record your location data in a very low power mode. I’ve know for some time that the SensorCore hardware was present in my 1520 but that it was not enabled. I had to make due with a preview version of a Nokia 635 to play with the SensorCore API. With the latest cyan update, I’ve finally got access to the SensorCore hardware on my…

Read More

LINQ: Using Groups to Get Distinct Results

By | News | One Comment

Do you ever write a piece of code, and then find yourself later having to look up how to solve the same problem? That’s what keeps happening to me with some of my LINQ queries lately. I keep wanting to use Distinct() to remove duplicates from my list, only to find that Distinct just won’t do what I want. For simple types, sure, it’s perfect. But if my objects are any more complex than just IDs, I need a little more control. What if I want to eliminate duplicates in my results set based on the distinct values of just…

Read More

Getting Started with Git and GitHub

By | Microsoft | 3 Comments

Who is not talking about Git or GitHub? In one of our recent user group meetings, someone asked how many Pull Requests have you done so far in any of open source projects on GitHub. I realized many developers in the room were puzzled with the phrase Pull Request. In this post I will explain some basic Git terminology and explore basic Git commands which will help you get started with Git. In a later post I plan to show you how you can work with Git-based Source Control and Visual Studio 2013. Let us start with understanding basic terminologies:…

Read More

Server Paging, Sorting, and Filtering with Kendo DataSourceRequest

By | ASP.NET, C#, Kendo UI, MVC, Telerik, Web | 13 Comments

As you would expect, the Kendo UI Grid and DataSource work extremely well together and give you paging, sorting, and filtering right out of the box.  By default, the DataSource will do all of this on the client which is fine for small sets of data, but it becomes a huge performance issue when you are dealing with thousands of records.  In this case, we need to move this work to the server. I typically do not endorse using the Kendo MVC Extensions for large applications (you get more flexibility and a cleaner architecture when you write your own Javascript),…

Read More

A Dream 21 Years In The Making

By | News | 9 Comments

21 years ago, I had the honor of being employed by one of the greatest companies in the world at the time “Borland International” in Scotts Valley, CA.  A place where I made countless lasting friendships and learned most of what made me who I am today.  Besides the wonderful people and the smartest people in the software industry that I got to enjoy every day during my decade at Borland, the building that Phillipe Kahn built for us was amazing and the most beautiful office building on the west coast.  He spared no expense in creating what I consider a…

Read More

Live in-person training: Cross Platform Mobile Programming with Xamarin and C#​

By | News | No Comments

This is a one-time opportunity to work directly with master developer Jesse Liberty. The perfect fit for those getting started with Xamarin, We are so excited to have Jesse Liberty at our Hudson Ohio office September 17th and 18th, where he will be teaching Xamarin and C#! No Xamarin experience needed, but we do assume you are comfortable with C# basics. Buy your seat now for $749   During this course you will learn how to set up your Xamarin development environment, and how to create meaningful and useful Xamarin applications using best practices from the very start. Topics covered…

Read More

How to Customize Sitefinity Search Templates

By | Sitefinity | No Comments

If you ever tried customizing Sitefinity search templates, you quickly realize there isn’t a way to do it through the search widget. Almost all other widgets have an option to update the template or update the path to a custom layout file. In this post, we will gain full control by using pure HTML to create our search widget and JavaScript to wire it all together.

Read More

Nested Templates with Kendo UI

By | JavaScript, Kendo UI, Web | 2 Comments

Kendo UI templates provide a great amount of flexibility for styling content but also running Javascript code directly within the template.  You can use a template for pretty much anything since kendo.template() will transform the data and return the rendered HTML, but one of the more common uses is for an item template within an items collection, such as a ListView or Grid. You can use templates either declaratively in HTML for elements that support them, like this:

Or using kendo.template() either within your Javascript code, or in something like a grid column template:

When using kendo.template(), the easiest…

Read More

Exploring Image Filters in Xamarin iOS

By | .NET, C#, iOS, Mobile, Xamarin | One Comment

Xamarin iOS and CoreImage When writing for Xamarin iOS you can leverage the CoreImage framework to perform a wide array of image manipulation techniques. These techniques range from manipulating the image hue or colors to more advanced requirements such as facial detection. Xamarin boasts 50 photo filters available as a part of their iOS CoreImage implementation. These filters vary from image skewing and warping to those you’re probably familiar with through apps such as Instagram. The code: Let’s take a look at using these image filters inside of a Xamarin iOS application. Each of the filters is exposed in Xamarin iOS as…

Read More

Kendo Exception During MVC Model Binding of DataSourceRequest

By | News | One Comment

I just spent some time tracking this one down and wanted to document it here in the hopes that it will help others out. This is about an exception than can occur while performing server-side filtering with Kendo UI for MVC. I got it to happen by configuring a Kendo Mobile ListView to perform server-side filtering with a DataSource whose type is ‘aspnetmvc-ajax’. The exception occurs before execution enters the controller action. Here is the top relevant part of the stack trace:

After a bit of experimentation, I found the problem was being caused by the default for ListView.filterable.operator,…

Read More
Xamarin Forms ListView

Creating a basic list in Xamarin Forms

By | .NET, Android, C#, iOS, Mobile, Xamarin | 2 Comments

Lists are all over the mobile app scene – and for good reason too. They’re a great way to display groups of almost any type of data. Creating a list inside your Xamarin Forms project is an easy cross-platform solution to data organization. We’ll start off with a fresh Xamarin Forms PCL project. Inside your PCL you will find App.cs. By default this contains a Page object called “MainPage” which returns a basic label. This is where we will work with our simple list.

The code sample above is the construction of a simple ListView. There are a few…

Read More
Android Xamarin Studio Incompatible API Level

Configuring Android Emulators in Xamarin Studio

By | .NET, Android, C#, Mobile, Xamarin | 4 Comments

The Problem After installing Xamarin Studio and compiling one of the demo apps you might have noticed that when you try to run it on Android you are faced with an issue. The Android SDK doesn’t seem to automatically install the x86 or ARM system images for the latest stable release. When selecting an emulator you are likely faced with the following image that shows the available emulators as “Incompatible API Level”. If you dig deeper by selecting “Manage Android Devices” you will notice that you can create new emulators fairly easily but the CPU/ABI will not be available for…

Read More

Kendo UI Mobile with MVVM and RequireJS

By | Kendo UI | One Comment

A potent mix for creating elegant mobile applications is Kendo UI Mobile with MVVM and RequireJS. Included is an online sandbox environment with code snippets that will highlight the concepts needed to create more advanced Kendo UI Mobile applications. This has been created using jsFiddle and acts as a starter template to update or fork as needed.

Read More