How To


Functional Programming, the .NET Way

The functional programming paradigm, which has been around for decades, has never gone out of style. In this two-part series, we look at Microsoft's implementation, Visual F#.

ServiceStack and Razor Forms

ServiceStack moves to a complete Web application framework with support for Razor forms.

Create Simple, Reliable Asynchronous Apps with BlockingCollection

Dividing your application up into simple processes will make it easier to maintain and extend. Using BlockingCollection to communicate between those processes will let you make those processes run asynchronously.

Building UWP Apps Using Xamarin.Forms

One of the hardest challenges of mobile development is how to minimize the cost of building the same application for multiple platforms. Nick shows how to use Xamarin.Forms to develop a cross-platform application that also targets the Universal Windows Platform.

Fundamentals of T-Test Using R

Linear regression was easy, right? Now, let's check out t-test analysis using R.

Simplify Your Applications with Asynchronous Processes

With the right tools, creating an asynchronous application can give you not only a more responsive application that makes better use of your multi-core computer, it can also make your application simpler. Really, asynchronous applications should be your default choice.

Exploiting TypeScript Arrays

TypeScript doesn't have the rich set of native collection classes that you're used to in the .NET Framework -- instead, it has just arrays and tuples. Fortunately, you can do quite a lot with them.

Handling Lists of Selectable Items in ASP.NET MVC

You want to give the user the ability to select one (or more) items from a table. It's not as easy in ASP.NET MVC as you might like... but it's not awful, either.

Linear Regression with R

Now that you've got a good sense of how to "speak" R, let's use it with linear regression to make distinctive predictions.

8 Rich Text Editors for Interactive Web Content

Web pages aren't read-only anymore. These rich text editors let users post content of all kinds, edit content and even write collaboratively within the browser.

Supporting Multiple String Formats from Your Class

Developers (including you) benefit when you provide a string representation of your class. By implementing IFormattable, you can take control of this representation and provide some flexibility. Besides, if you don't provide one, the Microsoft .NET Framework will provide a useless one for you.

Xamarin 4 Improvements: Worth Upgrading?

Like a mobile force, Xamarin 4 awakens. So upgrade now, especially if you're a Visual Studio developer and building apps for iOS.

Building Universal Windows Apps for Universal Performance

With the Universal Windows Platform, developers can target a wide variety of devices with a single application, but it comes with performance ramifications. We look at ways to make those apps more efficient and highly performant.

What's New with .NET Framework 4.6, Part 1: API Updates

For this first in a series, Eric Vogel checks out the new IReadOnlyCollection<T> Stack<T> and Queue<T> implementations in .NET Framework 4.6.

Exploiting Generics in TypeScript

Generic classes and functions are one way to create flexible, reusable classes and functions. But before you start creating your own generic functions, you should be clear on when they’re your best choice.

Performance Profiling Your Xamarin Apps

Learn to measure the performance of your apps and ensure a great UX.

Processing a File or Folder When It Changes in Your Desktop Apps or Windows Service

When you need to know when a file or folder appears, disappears or is renamed -- in fact, if almost anything at all happens in the file system -- you can have Windows notify your application so that you can take action.

Introduction to R for .NET Developers

C# developers who want to wring more meaningful info from large sets of data should get cozy with the statistical computing language known as R. Let's get familiar with R in this new series.

Opening a Dialog Box in an ASP.NET MVC Page

There are lots of benefits to gathering information by opening a dialog box instead of sending your user to another page. Fortunately, jQuery and ASP.NET MVC make it easy to do (and you don't have to worry about offending pop-up blockers).

Events and the Xamarin MessagingCenter

Application code needs to raise events and respond to them. The MessagingCenter makes this whole process much simpler than standard .NET events.

Leveraging Interfaces Instead of Inheritance

If you need to have objects look alike but don't have any code to share, you don't need inheritance -- you need an interface. Here's an example of how interfaces provide a more flexible way to deal with similar-but-different classes.

Overloading TypeScript Functions

TypeScript has some "interesting" limitations when it comes to overloading functions. But it also offers you some options when you need more flexibility in declaring functions, including both optional parameters and infinite parameter lists.

Cortana, How Do I Add You To My Windows Apps?

With the Universal Windows Platform, you can now build apps that truly interact with the new digital assistant for Windows. In this article, Nick Randolph walks through using Cortana to launch and interact with your application.

The Easiest Way to Share Code: NuGet

You want to use a DLL in multiple projects (it's even possible that other developers at your company might find your DLL helpful). The easiest way to distribute and deploy that DLL, or any other combination of files, is with NuGet. Really.

What's in iOS 9 for C# Developers?

A high-level look at some of the more interesting features of the newest Apple mobile OS that can trip up C# developers making apps for it.

Subscribe on YouTube