Creating a new .NET Core web application, what are your options?


You want to jump on board the .NET Core train and you’re wondering how best to create your first project. Here are three ways to do just that. 1. Use the command line (dotnet new) Start off by downloading the .NET Core SDK for Windows. Note that the tooling is still in preview (preview 2 at the time of writing). …


Learning .NET Core by example


Tutorials are great for getting started but the best way to learn is by looking at real projects and seeing how the technology works in the wild


Should I learn .NET Core?


It’s new, shiny and all the cool kids are using it, but is Core right for you? If you’re just setting out with .NET Core (as most of us are) you’re starting with a lot of the landscape hidden from you. Here’s a rough plan of action to help you get started.


Troubleshoot your ASP.NET Core web app using logging


This is post 7 of 9 in the series “ASP.NET Core from scratch using the command line” You’ve created your new ASP.NET Core web app and are happily building your features. Then something breaks and you’ve no idea what. How can you find out what’s causing the problem? If you’ve created your ASP.NET Core web app from scratch (not using …


Using ASP.NET Core against .NET 4.6


It is possible to build an ASP.NET Core app and target .NET Framework 4.6.x. That way you get to try out the new web framework but still use your existing libraries and the tried and tested framework.


How to easily extend your app using MediatR notifications

This is post 2 of 2 in the series “Getting started with MediatR” Probably the biggest question you face as a developer every single day is “where to put your code“? Should you use repositories or query classes? Should you have one class or two to represent your domain object? Should you write a new class or extend an existing …


How to serve static files for your Single Page Application from .NET Core

This is post 5 of 9 in the series “ASP.NET Core from scratch using the command line” If you want to host your SPA app on .NET Core you’ll need to make sure your application is set up to serve your SPA’s static html and javascript files. First of all make sure you’ve got a .NET Core web application up …


The basics of publishing your .NET Core web app

There are lots of options for hosting your .NET Core application, especially now you can choose linux and take advantage of potentially cheaper hosting.
Whatever you choose, a useful first step is figuring out how to package up your app so you can publish it to your chosen host.