How To


Creating Useful Naming Conventions: Technical Considerations

Naming conventions are obviously a good thing, right? Not necessarily -- and only if you understand the problem they solve.

Virtual Reality in the .NET Framework, Part 1

Eric Vogel covers the Oculus Rift VR headset and how to put it too good use in your .NET apps in Part 1 of this series.

UI Practicalities: Determining the User's Intent

After having a UI design invalidated during usability testing, Peter has to find a way to figure out what the user wants the application to do.

Test-Driven Development with Content Negotiation in the Web API

There's no doubt that the ASP.NET Web API is a wonderful thing. But developing services that support content negotiation in a testable way requires a little setup.

Understanding and Using K-Fold Cross-Validation for Neural Networks

James McCaffrey walks you through whys and hows of using k-fold cross-validation to gauge the quality of your neural network values.

Checking Collections and Working with Objects in Visual Studio Test

Peter looks for help in building an extension method that will let him compare two objects in a Visual Studio Test. In return, he introduces the CollectionAssert class.

Deep Focus on Your Code with CodeLens

Visual Studio 2013's new CodeLens feature provides a wide variety of information to the developer, all while never leaving the code editing window.

How to Use .NET Objects to Tie an Application to a Database

Use custom-built .NET 4.0 classes to connect an application to a SQL Server 2012 database.

An API for Simple HTTP Requests

Yes, sometimes you need sophisticated libraries that handle HTTP requests asynchronously, but in other situations that can be overkill. An old Internet Explorer API may have a solution.

The Adapter Pattern in the .NET Framework

The Adapter Pattern allows incompatible interfaces to communicate. Learn how it works by building an application that calculates prime numbers.

Asynchronous Operations with Xamarin

Your guide to all aspects of how Xamarin has implemented .NET 4.5/C# 5's support for asynch operations in Xamarin.iOS and Xamarin.Android.

Top 7 Reasons To Love CoffeeScript

Learn why more and more C# developers are turning to CoffeeScript to build their JavaScript-based Web applications.

Windows Phone Dev 101: A Get-Started Guide for Pros

From project templates to themes to testing to authentication and much more, Nick Randolph looks at some of the tools, technologies and techniques you'll need if you want to become a professional Windows Phone developer.

Create Windows Services Easily with Topshelf

Creating a Windows Service is trivial using Topshelf, a freely-available library that converts a console application to a Windows Service. In this article, you'll create a simple notification app and integrate Topshelf.

Calling Web Services with TypeScript

Peter starts integrating a TypeScript client-side object with a server-side Web API service. Along the way, he looks at method overloading (not good), making JSON calls (good), testing asynchronous methods in Visual Studio (mostly good) and being a "TypeScript programmer."

Web API 2 Routing Attributes, Part 2

Create a Windows Store app that consumes a Web API service.

Team Foundation Server Team Rooms

Think of a Team Room as a collaborative chat workspace that records everything that happens on your team. In addition to being a real-time chat room, it also integrates with TFS to display data and interactions.

Going Beyond Usernames and Roles with Claims-Based Security in .NET 4.5

Claims-based security lets you manage your site's authorization process using any criteria that makes sense to you. And the Microsoft .NET Framework 4.5 provides some performance support for you once you start using claims-based security.

Essential Knockout.js, Part 2: Best Practices and More

The first installment discussed what Knockout.js is, why and how it evolved, and how it fits into Web development. This month, the discussion dives into best practices for Knockout, extending it and creating custom bindings.

Are You Faking? Dynamically Generate Test Data at Run Time

Quickly populate your applications with fake names, addresses, phone numbers and much more with freely available libraries.

Building and Testing a Web API Service

As part of building a client-side application in a test-driven way and using TypeScript, Peter creates a Web API service and writes a test that proves he can access it from JavaScript code -- though there are some "wrinkles" in making this work. Along the way, he has an insight about TypeScript versus other, first-class .NET languages.

Resource Management in the Windows API

The use of constructor/destructor pairs for resource management is the most important feature that distinguishes C++ from its predecessor.

Web API 2 Routing Attributes, Part 1

Eric Vogel covers how to use the new Web API 2 routing attributes to create a Web service in Part 1 of this series.

Neural Network Training Using Back-Propagation

James McCaffrey explains the common neural network training technique known as the back-propagation algorithm.

Creating a UI in Xamarin.iOS

Wally McClure guides you through using the XCode design surface integration with Xamarin Studio, and programmatically creating controls.

Subscribe on YouTube