Blog | DevSquared

DevSquared Blog

From Zero to Vue with ASP.NET Core Razor Pages in Ten Minutes

Why Vue and Razor Pages As someone coming from the ASP.Net backend world, I’ve slowly been learning to work with front end frameworks. Our front end framework of choice is Vue, and I think it’s very well structured, especially for beginners. We’ve done SPAs (Single Page Applications) using Vue for the front-end, and ASP.Net Core … Continued

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. https://en.oxforddictionaries.com/definition/idempotent 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