Improving the Dev Experience with ASP.NET Core and Angular CLI

In my previous article, I showed how we could easily create an Angular 5 CLI app inside of an ASP.NET Core application. There was one big thing that bugged me about that approach though: our ASP.NET Core application and our Angular CLI application were hosted separately during local development. After spending some time with the…

Read MoreComment

Creating a New ASP.NET Core 2.1 Preview Project with Angular

The Angular project template has been updated in ASP.NET Core 2.1-preview. The new template makes several improvements over the old one. Let’s take a look!

Read MoreComment

Creating a New Project with ASP.NET Core and Angular

You would think that creating an ASP.NET Core application that uses Angular would be easy-peasy. After all, there’s an “Angular” option in the new project wizard for an ASP.NET Core application! Sadly, reality is a cruel mistress, and if you take that approach to creating your next Angular + ASP.NET Core project, you’ll be in…

Read MoreView 4 Comments

Easy Bootstrap Alerts for Your API Results with ASP.NET Core

Continuing on from last time, let’s see how to return a status message from our ASP.NET Core API endpoints, and by convention, display those results in our application as Bootstrap Alerts!

Read MoreComment

A Simple Node App to Generate Random Addresses and Geocode Them – Finishing Touches

Our CLI app works, but it sure would be awesome if it had some additional features. In this post, we’ll add support for command-line options, JSON output, and automatic copy-to-the-clipboard. Let’s dive right in! If you’re just jumping on, you can check out the previous parts here: Part 1, Part 2, Part 3, and Part…

Read MoreComment

A Simple Node App to Generate Random Addresses and Geocode Them – Geocoding Results with the Google Maps API

Our address-generator CLI app is now capable of grabbing a random US address. We just need to geocode that address. In this post, we’ll leverage the Google Map Geocoding API to do exactly that!

Read MoreComment

A Simple Node App to Generate Random Addresses and Geocode Them – Parsing Results with Cheerio

When we last left off, we had our AddressCreator partially working. It makes a request to fakena.me and receives a response. Now we need to actually use that response.

Read MoreComment

Easily Add Bootstrap Alerts to Your ViewResults with ASP.NET Core

Once upon a time, I did a course on building your own application framework with ASP.NET MVC 5. One of the most popular techniques I showed in that course was how to attach a alert message to any ActionResult, so that you could consistently display success, warnings, etc. in your app. The bad news is…

Read MoreView 1 Comment

A Simple Node App to Generate Random Addresses and Geocode Them – Making Web Requests

In part 2 of our series, we’ll look at a website that returns random, real-world addresses, and we’ll see how we can use npm packages to issue requests to this site.

Read MoreComment

A Simple Node App to Generate Random Addresses – Node CLI App Basics

Every app needs random data at some point, but what if that random data also needs to be real? That’s the challenge I ran into when generating test addresses for one of my clients. Since we wanted to plot these addresses on the map, they had to be real, physical places. Oh, and I needed…

Read MoreComment