Your Recent Mentions on GitHub

Your Recent Mentions on GitHub

The other day I saw someone mention me in a pull request for a client’s GitHub repository (probably on my phone). When I had some time to look into the issue, I’d deleted the email notification, and I couldn’t remember which repository it was on (they have a few). So I checked my GitHub profile […]

Configuring ASPNET Core Apps with WebHostBuilder

In ASP.NET Core apps, you typically configure the application in Startup. However, the application itself runs inside of a host, which is configured separately using a WebHostBuilder. Although it’s not the default, recommended case (and thus isn’t shown in the official docs), you can actually configure the application directly from WebHostBuilder and avoid using a […]

Specifying API Routes in ASPNET Core

ASP.NET Core uses attribute routing to determine the behavior of web APIs. Its integrated support for MVC and Web API is one of my favorite features, since working with MVC 5 and Web API 2 was painful due to the similarities but separate implementations of the two stacks. When creating routes for your APIs, a […]

Nuget Package Source Update Important

Nuget Package Source Update Important

Today a client reported an issue with their build server, which was failing to locate version 4.4 of StructureMap. The build worked fine, locally, on more than one machine. After some investigation, we discovered that the build server’s Nuget task was configured to use several sources, including an internal feed the client uses, and this […]

MSDN – Feature Slices for ASPNET Core MVC

MSDN – Feature Slices for ASPNET Core MVC

My September article for MSDN Magazine is available online now. It’s on Feature Slices for ASPNET Core MVC, but also covers how to use the built-in Areas feature to achieve the same goal. Large Web apps require better organization than small ones. With large apps, the default organizational structure used by ASP.NET MVC (and Core […]