Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Migrating static content from ASP.NET to ASP.NET Core [14/18] Migrating from ASP.NET to ASP.NET Core
32Likes
2,434Views
2023Mar 29
In this video, Mike continues migrating an ASP.NET app to ASP.NET Core by migrating static content (images, css, and js) 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. Series: 1. .NET Migration Overview -    • .NET Migration Overview [1 of 18] Mig...   2. Why Upgrade to .NET? -    • Why Upgrade to .NET? [2 of 18] Migrat...   3. Getting Started with .NET Upgrade Assistant -    • Getting Started with .NET Upgrade Ass...   4. Analyzing a Solution with .NET Upgrade Planner -    • Analyzing a Solution with .NET Upgrad...   5. Upgrade Analysis with .NET Upgrade Assistant -    • Upgrade Analysis with .NET Upgrade As...   6. Upgrading a Project with .NET Upgrade Assistant -    • Upgrading a Project with .NET Upgrade...   7. Intro to the Upgrade Assistant Visual Studio Extension -    • Intro to the Upgrade Assistant Visual...   8. Creating a New Project with the Upgrade Assistant Visual Studio Extension -    • Creating a New Project with the Upgra...   9. Migrating an Endpoint with the Upgrade Assistant Visual Studio Extension -    • Migrating an Endpoint with the Upgrad...   10. Migrating a Class Library with System.Web Dependencies -    • Migrating a Class Library with System...   11. Using System.Web Adapters to Share Session State in ASP.NET Upgrade Scenarios -    • Using System.Web Adapters to Share Se...   12. Using System.Web Adapters to Share Authentication in ASP.NET Upgrade Scenarios -    • Using System.Web Adapters to Share Au...   13. Sharing Authentication Cookies in ASP.NET Upgrade Scenarios -    • Sharing Authentication Cookies in ASP...   14. Migrating static content from ASP.NET to ASP.NET Core -    • Migrating static content from ASP.NET...   15. Deploying an Incrementally Migrated ASP.NET App to Azure App Service -    • Deploying an Incrementally Migrated A...   16. ASP.NET to ASP.NET Core Migration Wrap-Up -    • ASP.NET to ASP.NET Core Migration Wra...   17. Upgrading from WCF to CoreWCF -    • Upgrading from WCF to CoreWCF [17 of ...   18. Deep Dive into System.Web Adapters -    • Deep Dive into System.Web Adapters [1...   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 Follow Mike: Twitter:   / mjrousos   GitHub: https://github.com/mjrousos Links: Get the code - https://github.com/mjrousos/UpgradeSa... Migrating ASP.NET to ASP.NET Core - https://learn.microsoft.com/en-us/asp... .NET Upgrade Planner - https://apisof.net/upgrade-planner .NET Upgrade Assistant (VS Extension) - https://learn.microsoft.com/aspnet/co... .NET Upgrade Assistant (command line) - https://github.com/dotnet/upgrade-ass... System.Web Adapters - https://github.com/dotnet/systemweb-a... 🙋‍♀️🙋‍♂️ Get your questions answered on the Microsoft Q&A for .NET: https://aka.ms/dotnet-qa 🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: https://aka.ms/learndotnet #dotnet #upgradeassistant #aspnetmvc

Follow along using the transcript.

dotnet

325K subscribers