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: The code for both Parts 1 & 2 can be found on Github: Why is this necessary? Running developement and »

ASP.NET Core and Webpack - Part 1

In this 2-part series, I'm going to demonstrate a non-SPA ASP.NET Core and Webpack integration. We'll be using Webpack to bundle/minifiy JavaScript code that will supplement the C# "server-rendered" pages in an application. Part 1 - will focus on setting up Webpack with ASP.NET Core and getting the bundles to the browser. Part 2 - will comprise of polishing our solution. Allowing for debug bundling at Development time and Minified bundling for »

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 - »

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 »