ASP.NET Core and Webpack - Part 2

In the second and final part of this short series, I'll setup Webpack "production" (cache-busting) builds and add script tags (from Webpack created file names - with hashes) dynamically from C# in ASP.NET Core. You can find Part 1 here: http://www.ryansouthgate.com/2017/08/29/asp-net-core-and-webpack-part-1/ The code for both Parts 1 & 2 can be found on Github: https://github.com/ry8806/ASPNETCore_Webpack Why is this necessary? Running developement and »

ASP.NET Core MVC - Common Components/(Partial)Views across applications

By the end of this post you'll have an understanding of how to share common View Components and (Partial)Views across different Web Applications in ASP.NET Core MVC. I'm in the process of building a website, I'm lazy and don't like writing things twice/maintaining two slightly different copies of code/components. I recently found the need to share components across two different web applications (they're really 2 parts of the same goal - »

Entity Framework Core - Custom Migrations

In this post I'm going to cover the steps needed when setting up Entity Framework Core Custom Migrations. Custom Migrations are not always needed in an application. Entity Framework Core will get most people/businesses quite far with their standard "out-of-the-box" functionality. However there are times where EntityFramework does not support a specific scenario, as I came to find out recently. Example code for this post can be found here: https://github.com/ry8806/Blog-EFCore-CustomMigration »

Angular 2 and ASP.NET Core MVC

By the end of this post you will be able to integrate Angular 2 into an ASP.NET Core MVC Application (MVC page using both Razor and Angular 2) Both Angular 2 and .NET Core have been RTM for a little while now. So I've been keen to get them working together. There are plenty of examples online of how to create a .NET Core Web API and have an Angular 2 SPA talk to »