The Fairway Technologies Blog

blog
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 8, 2019 | Fairway Technologies

Top 4 Business Tech Trends to Watch For in 2019

With everyone blogging about tech trends out there, we noticed that there weren't many talking about trends specific to business and business applications. We have worked with enterprises for over 16 years to solve the real-world challenges that real businesses face. After a very busy 2018 working with all sorts of business across industries, here are the top four business technology trends we noticed. Here's to a happy, healthy, successful 2019 for all!

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 19, 2018 | Ben Griswold

The CTO's Quick Guide to Test-Driven Development

You have known about Test-driven Development (TDD) for years. You’re aware that modern application frameworks were designed with testability as a primary concern, and unit testing and continuous integration have become an industry standard. You have a hunch that TDD will benefit your teams, yet you haven’t embraced the practice! You are out of excuses and you may even feel behind the curve. No worries—let’s get you going with TDD.

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.

December 5, 2018 | Dan Malagari

Business Intelligence: You Need a Date Dimension (Power BI)

I challenge you. I challenge you to think of a report that doesn’t rely on a date somewhere in it.  Thought of one? If you did, is the information in the report actually valuable without some type of date range boundary? Even in academia and clinical research, where groundbreaking reports are published and stand up to scrutiny for decades, researchers still clearly call out the dates in which the data was collected. They do this because they know the results of their experiments were valid for the date and time they were collected, but could still change at any time. Remember: it was a scientifically held belief that the Earth was the center of the universe for a long time.

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 21, 2018 | Noah Heldman

Stp Abrvtng!

When I started out as a wee programmer back in the 1980s, “Hungarian Notation” was all the rage. Invented by Charles Simonyi (a Hungarian guy!), it espoused a naming convention for variables that included the intent (or kind, or type) for that variable. Unfortunately, the semantic meaning of type is overloaded, and many developers assumed it meant “data type.” So, you had variables that were clearly string variables called strFirstName or clearly integer variables called intCount. In a type-safe compiled language, this is redundant, but many Microsoft devs, myself included, blindly followed the pattern because we learned it, and it made sense on the surface.

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.

New Call-to-action

Sign Up For Our Monthly Newsletter

New Call-to-action