Get a Customized Plan

The Fairway Technologies Blog

Recent Posts

February 13, 2019 | Paul D. Sheriff

Build WPF Screens Using Inheritance and Aggregation

If you have a WPF screen that is made up of two of more "sections," where each section has its own unique functionality, you might want to consider breaking each of those pieces of the screen into individual user controls and individual view model classes. This will help you build, run, and test each component. You can then aggregate the user controls into one control and inherit from one view model to the other to bring them all together. In this blog post, you are going to build upon the sample created in the post entitled "Basics of MVVM in WPF." Read and download that sample application to follow along with this blog post.

February 6, 2019 | Paul D. Sheriff

Basics of MVVM in WPF

In this blog post, you learn how easy it is to use the Model-View-View-Model (MVVM) design pattern in WPF applications. This blog post is a step-by-step illustration of how to build a WPF application to display a list of users. You are going to perform the following steps.

January 30, 2019 | Paul D. Sheriff

Find Orphan Song Titles in iTunes

In the last blog post, you learned to read songs from an exported iTunes XML file. If you have been using iTunes for a long time and have deleted songs, merged songs from other libraries, or moved your library from one computer to another, then you may not know it, but there could be song files on your hard drive that are no longer in your iTunes library. This blog post shows you how to locate those missing files. To follow along with this blog post, read and follow the instructions in the first blog post on reading songs from iTunes.

January 16, 2019 | Paul D. Sheriff

iTunes Player Part 1: Read Songs From iTunes

Have you ever wanted to retrieve the list of songs from your iTunes library? Getting songs from iTunes is not easy. In fact, since Apple stopped supplying their COM component for reading from their iTunes library, about the only way to get song data is to export the library into an XML file, then parse the XML. In this blog post, you are going to learn to parse the XML using the classes contained in the System.Xml.Linq namespace.

January 2, 2019 | Paul D. Sheriff

Uploading Files with MVC - Part 6

In this blog series, you have assumed that everything has gone correctly when uploading files. However, if you attempt to upload a file that is too large, you receive an error from your web server. In this blog post you are going to learn how to get the maximum size of file allowed, display that value on the page, handle an error when the file is too large, and modify the maximum size of file allowed. If you have not done so already, please download the sample from Part 5 so you can follow along with this blog post.

December 26, 2018 | Paul D. Sheriff

Uploading Files with MVC - Part 5

So far in this blog post series on uploading files with MVC, you have learned to style the file upload control, use a view model for data binding, create a thumbnail from an uploaded image, and store files on the server's file system. In this post, you learn to store the uploaded file in an SQL Server table. If you have not done so already, please download the sample from Part 4 so you can follow along with this blog post.

December 12, 2018 | Paul D. Sheriff

A Message Broker for XAML Applications

In any application, you want to keep the coupling between any two or more objects as loose as possible. Coupling happens when one class contains a property that is used in another class or uses another class in one of its methods. If you have this situation, then this is called strong or tight coupling. One popular design pattern to help with keeping objects loosely coupled is called the mediator design pattern. The basics of this pattern are very simple; avoid one object directly talking to another object, and instead use another class to mediate between the two. This class is called a message broker. The purpose of this blog post is show you a simple approach to using a message broker in your XAML applications.

November 28, 2018 | Paul D. Sheriff

An Architecture for WPF Applications

In this blog post, you learn to create a standard architecture for your WPF applications. You learn what common classes you need, what kind of library to put those classes into, and how each of the libraries are referenced from your main application.

November 14, 2018 | Paul D. Sheriff

Uploading Files with MVC - Part 4

So far in this blog post series on uploading files with MVC, you have learned how to style the file upload control, use a view model for data binding, and create a thumbnail from an uploaded image. In this post, you learn to store the uploaded file in a folder on your server.

October 31, 2018 | Paul D. Sheriff

Uploading Files with MVC - Part 3

In the last two blog posts in this series, you learned to style the file upload control and to use a view model to simplify data binding. In this third blog post, you build a class that allows you to take a large image and create a thumbnail image from it (See Figure 1).

New Call-to-action
New Call-to-action