Blog | Page 2 of 3 | DevSquared

DevSquared Blog

New Pluralsight Course!

I’m always trying to push myself to grow as a person and as a developer. Last year, one way that I chose to do that was to join Pluralsight as a content author. Yesterday, my first course – Integrating Google Maps into Xamarin.Forms Apps went live. I’ve been a teacher at Pittsburg State University for … Continued

Error Handling Content vs API Routes in ASP.Net Core 2.1

When working with ASP.Net Core web projects, I’ve often run into the situation where a site has both content pages and more interactive front end components that work with back-end API routes. In situations like this, it’s most appropriate for the content routes to forward to some kind of friendly error page if an error … Continued

Logging: A Developer’s Secret Weapon

Many years ago when I started my first job as a developer, one of the things that I noticed was that it was always difficult to solve an issue that our end users were having. Often, we’d try to replicate the problem, be unable to, and end up having to call the user and ask … Continued

Developers – Make Everything Idempotent

“Idempotent” – probably one of my favorite words. What does it mean? Oxford Dictionary: Denoting an element of a set which is unchanged in value when multiplied or otherwise operated on by itself. The definition above is a bit cryptic and reflects the origin of the word as it relates to mathematics. For developers, … Continued

Tips for Improving Entity Framework Core Performance with Azure SQL Databases

I’ve worked with Azure SQL databases for years, mostly from some flavor of Microsoft’s Entity Framework. These days, all of our new apps are using Entity Framework Core. Here are two small things that I’ve noticed people tend to forget over the years that can improve your app’s Entity Framework/Azure SQL experience. 1. Enable Connection … Continued

Getting Started with Laravel Development on Windows Subsystem for Linux with VS Code: A Complete Guide

The Windows 10 Anniversary update gave a gift to developers in the form of the Windows Subsystem for Linux, or WSL as it will be referred to throughout this post. Starting with Ubuntu available first, there are now several flavors of Linux that can be installed on Windows 10 through the Windows Store. Previously for … Continued

How To Fix Windows 10 Timeline Not Showing Any Items

The Windows 10 April update offers several new productivity features, the most notable of which is the new timeline. The timeline allows you to view and resume previous activities, both from the computer you are on and from other devices. For heavy users of Visual Studio and MS Office products on multiple devices, this could … Continued

Adding an Action Extension Icon to a Xamarin iOS App

Action extensions are a great way to more deeply integrate your app with iOS. While building these extensions is well documented, getting an icon to show up is not, particularly in the Xamarin iOS arena. Below along the bottom row is an example of some built in extensions that work with Safari: Note that the … Continued

Exploring the UnitConvert API in .Net Core

UnitConvert is an API that we created that makes it easy to convert any plain text measurement to another compatible measurement, get information about the measurement, or compare with another measurement. Why is this useful? Here are a few scenarios where UnitConvert could be used: Translate your app’s speech recognition data/spoken units into a standardized … Continued

Adding Touch ID, Fingerprint, and Windows Hello Authentication to your Xamarin Forms App

Recently, I worked on an application built with Xamarin Forms that needed to force the user to re-authenticate on every use for security reasons. It’s a pain to have to type out your password on a phone every single time you use an app, so the obvious choice was to allow the user to authenticate … Continued