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.



Neural Network How-To: Code an Evolutionary Optimization Solution

Evolutionary optimization can be used to train a neural network. A virtual chromosome holds the neural network's weights and bias values, and the error term is the average of all errors between the network's computed outputs and the training data target outputs. Learn how to code the solution.

ASP.NET MVC Extensibility with MEF

How to use MEF to add validation rule components to an ASP.NET MVC Web application.

Regular Expressions, Part 3: Business Intelligence Uses

You can do a lot more with regular expressions than you think. In this tutorial, you'll use it to convert a movie list into a CSV file for use in Excel.

Using Portable Class Libraries in iOS and Android Apps

Portable Class Libraries create a single DLL that can be used across platforms, making code sharing easier. Learn how to use them by building a weather app with a portable core.

Learning to Use Genetic Algorithms and Evolutionary Optimization

Evolutionary optimization (EO) is a type of genetic algorithm that can help minimize the error between computed output values and training data target output values. Use this demo program to learn to the method.

Creating Custom ASP.NET MVC Filters

ASP.NET MVC filters can be defined once and used in multiple places. Because ASP.NET MVC also provides the ability to create custom filters, it's good practice to learn how to make them and use them in your own projects.

How To Standardize Data for Neural Networks

Understanding data encoding and normalization is an absolutely essential skill when working with neural networks. James McCaffrey walks you through what you need to know to get started.

Tracking Your Windows Phone App Analytics with VSO's Application Insights

Nick Randolph walks through adding analytics to your Windows Phone application using Application Insights for Visual Studio Online.

Neural Network Training Using Particle Swarm Optimization

Although mathematically elegant, back-propagation isn't perfect. Instead consider using particle swarm optimization (PSO) to train your neural network; here's how.

Take Advantage of iOS 7's New Features

Apple's latest mobile operating system is chock full of developer goodies. Learn about some of the best ones, and how to build them with C# and Xamarin.

K-Means Data Clustering Using C#

Learn how to cluster your numeric data using the k-means algorithm in this step-by-step guide.

The Template Method Pattern in the .NET Framework

Learn how to process CSV files using the Template Method Pattern in a sample C# application.

Retrieving, Storing and Displaying Data in Windows Phone Apps

Nick Randolph connects a Windows Phone application to the cloud to save and retrieve data, then uses a local SQLite database to cache data for offline use.

Virtual Reality in the .NET Framework, Part 2

Last time, Eric Vogel provided an overview of the Oculus Rift VR headset. In Part 2, he starts building a game with it.

How To Use SignalR in iOS and Android Apps

SignalR is well-known by .NET developers as a way to handle communications. Find out what it can do in your iOS and Android apps, too.

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.