Episode

Migrating static content from ASP.NET to ASP.NET Core [14 of 18] Migrating from ASP.NET to ASP.NET Core

with Mike Rousos

In this video, Mike continues migrating an ASP.NET app to ASP.NET Core by migrating static content (images, CSS, and JavaScript) from the ASP.NET app to the new ASP.NET Core app. See how to use LigerShark.WebOptimizer to easily migrate System.Web.Optimization-delivered bundles to ASP.NET Core.

Chapters

  • 00:00 - Intro
  • 00:25 - Analyzing static content to be migrated
  • 02:45 - Moving static files to the ASP.NET Core application
  • 04:20 - Setting up static files served via controller
  • 07:35 - Migrating Server.MapPath to IHostEnvironment
  • 11:05 - Options for updating bundled resources
  • 13:45 - Using WebOptimizer for bundled resources
  • 16:52 - Moving CSS and JS to ASP.NET Core project
  • 18:00 - Updating ASP.NET Core views
  • 19:40 - Running the updated app
  • 20:45 - Reviewing what we've done and next steps

Connect

.NET
ASP.NET
ASP.NET Core
ASP.NET