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.



Design Time Data with Windows Phone and Windows 8

Windows Phone tooling is more advanced than that for Windows 8. But savvy developers can use that to their advantage when building Windows Store apps.

Security Considerations and Best Practices for WCF 4 Apps

The Windows Communication Foundation (WCF) framework can be vulnerable to phishing and other attacks. Learn how to protect it with these tactics.

Windows 8 Contracts and Extensions: Search

Don't re-invent the wheel when building your Windows 8 apps. Instead, save coding time by using (and customizing) the Search contract to add this critical piece of functionality.

Async Actions in ASP.NET MVC 4

Learn how to use asynchronous controller actions in ASP.NET MVC 4 by building a simple Contacts Manager app.

Neural Network Data Normalization and Encoding

James McCaffrey explains how to normalize and encode neural network data from a developer's point of view.

Mapping and Location with Mono for Android

Google has replaced MapView with MapFragment for adding mapping and location in Android. Learn what the new API can do, and how to use it.

Generating Distinct, Random Array Indices

James McCaffrey demonstrates the brute-force, Fisher-shuffle and reservoir-sampling techniques.

How to Set Up In-App Purchasing for Your Windows Phone App

In-App purchasing helps you make money after the initial sale. Learn how to use the new API to set it up.

The Chain of Responsibility Pattern in .NET

Chain of Responsibility decouples the sender of a request from the receiver by allowing one or many handler objects to handle the request.

SignalR Revisited

Eric Vogel covers the recent changes to the SignalR persistent connection API.

The Facade Pattern in .NET

Eric Vogel covers shows how to use the Facade pattern to create a simple unified interface for a collection of interfaces in a .NET application.

Give Your Career a Boost with the Developer Capability Matrix

Knowing where you are -- and where you want to go -- are the keys to using the matrix.

Continuous Improvement and the Agile Retrospective

Doing better takes time and is an incremental process.

Neural Network Activation Functions in C#

James McCaffrey explains what neural network activation functions are and why they're necessary, and explores three common activation functions.

Create Object Clones Through the Prototype Pattern in .NET

The Prototype Pattern involves cloning objects. Learn how to create both deep and shallow clones for instances in your program where creating a new object won't work.

Subscribe on YouTube