September 2016

Volume 31 Number 9

September 2016 Code Downloads

ASP.NET Core - Feature Slices for ASP.NET Core MVC

The new Feature Slices functionality gives developers a way to organize their ASP.NET Core MVC projects by Feature, rather than by Models, Views, and Controllers.

C++ - Unicode Encoding Conversions with STL Strings and Win32 APIs

Giovanni Dicanio presents C++ techniques for converting Unicode text between UTF-8 and UTF-16, using the Win32 APIs MultiByteToWideChar and WideCharToMultiByte. These Win32 C-interface APIs are wrapped in modern C++ code, using STL string classes to store Unicode text, and exceptions to signal error conditions.

Essential .NET - Command-Line Processing with .NET Core 1.0

Mark Michaelis details how to configure the CommandLineApplication, and discusses how to trigger command-line parsing and what happens immediately after the parse invocation.

Modern Apps - Build a City-Wide Wi-Fi Scanner with UWP and Azure

In his July column, Frank La Vigne showed how to build an IoT device to capture Wi-Fi signals. This month, he shows how to connect it to the cloud to realize its full potential.

Reactive Framework - Build Asynchronous AJAX-Enabled Web Pages with Reactive Extensions

Leveraging Reactive Extensions and the RxJS-DOM plug-in gives you a flexible, high-level way of integrating client-side DOM events and AJAX requests in a loosely coupled way that enables you to make significant changes to your application without having to restructure all of your code.
VB version

Test Run - The Secretary Problem

In machine learning, it's often necessary to come up with an approach for stopping training in a way to optimize the probability of selecting the best prediction model, and solutions to best choice problems can help. To illustrate, James McCaffrey shows how to tackle the Secretary Problem.
VB version

Unity - Building Virtual Reality Applications

Virtual reality is all the rage in gaming today. As the availability of VR devices grows for consumers, the need for VR apps will grow in demand. This article introduces the basics to building a VR application in Unity covering the basics of working with connected services, building a UI considering dimensionality and interaction, organizing code components for troubleshooting and debugging. At the end of the article, the reader will be able to build simple UI, data management and debugging for VR applications.