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