Code

The following articles come with code downloads. To get the code downloads, click on the article titles, then click on the Code Download button.



Data Clustering Using Entropy Minimization

Entropy Minimization is a new clustering algorithm that works with both categorical and numeric data, and scales well to extremely large data sets.

Building Android Apps with MVVM and Data Binding

The Model-View-ViewModel (MVVM) pattern is for more than just Microsoft .NET Framework projects. Find out how to apply it to Android development through its open source counterpart, MvvmCross.

Building a Chat Web App With Signal R, Part 2

Eric Vogel covers how to create a real-time Web data entry form with ASP.NET MVC, KnockOutJS and SignalR.

C++ Generics: Meta-Programming and Variadic Templates

A meta-program is "executed" as the result of template instantiation (therefore, before compiled code is produced). Meta-program results are then compiled and merged into object code, including any back-end optimization.

Building Web Apps with SignalR, Part 1

In the first installment of app-building with SignalR, learn how to build a real-time chat application.

.NET Framework 4.5 Multi-Threaded Globalization

Eric Vogel shows you how to use the CultureInfo API in .NET Framework 4.5 to simplify localization in a multi-threaded application.

How-to: Create an Android Support Package

Google has a set of libraries that allow older versions of Android to get support for newer APIs. Mono for Android provides full support.

4 New T-SQL Functions

The latest version of SQL Server expands its capabilities. Here are four new things developers can do with it.

Using MEF in a Windows Store App

Eric Vogel covers how to use the Managed Extensibility Framework (MEF) to extend a Windows Store application.

Android 4 and Fragments

Learn how to use the Fragments API in Mono for Android to create an application UI for multiple screens, such as a handset and tablet.

Generating .NET POCO Classes for SQL Query Results

A free tool to reduce coding for developers who like to surface T-SQL database recordsets in a simple collection of customized POCO objects.

.NET 4.5 TypeInfo Reflection

The .NET 4.5 Framework includes some changes to the typical reflection use cases. Most importantly, the Type object has been split into two separate classes: Type and TypeInfo. Find out how and when to use each.

Full-Text Search in SQL 2012 with Custom Proximity

Custom proximity search, a new feature in SQL Server 2012 Full-Text Search, is facilitated using the NEAR operator.

Azure Mobile Services, Part 3

In Part 3 of this series, Eric Vogel covers how to implement user-level authorization and push notifications using an Azure Mobile Service.

Priority Queues with C#

A priority queue assigns a priority to each element. Knowing how to build them is important in solving many coding problems.