May 2019

Volume 34 Number 5

May 2019 Code Downloads

Data Points - EF Core in a Docker Containerized App, Part 2

In the second in a series on using EF Core and Docker together to build a containerized app and add a data persistence mechanism, Julie Lerman looks at production-worthy solutions for targeting SQL Server when publishing an API inside of a Docker image.

Test Run - Weighted k-NN Classification Using C#

James McCaffrey shows how to implement the k-nearest neighbors classification technique, one of the simplest of machine learning algorithms where the predicted class of a new item is determined by examining the distance of the item to data points with known class values.

XAML - Custom XAML Controls

Don’t Repeat Yourself (DRY) isn’t just for classes and code. UIs repeat throughout XAML applications. User controls and custom controls in Windows Presentation Foundation (WPF) and Universal Windows Platform (UWP) allow developers to extend the standard UI, providing consistent XAML visuals and codebehind logic through varying strategies of encapsulation.