Blog

Sep 2025

Executing Scripts in ASP.NET Core MVC with Blazor Enhanced Navigation

Author Lee Timmins Date 30th Sep 25 Comments Comments

In my previous post, we looked at enabling Blazor-enhanced navigation in an ASP.NET Core MVC app. One challenge you’ll quickly run into is executing page-specific scripts after navigation updates.

One solution is to use a custom web component to manage script lifecycle events. This approach is explained in the official docs, but here I’ll walk you through how to apply it in an MVC project.

Read More...



Debugging IIS Express Sites on Mobile Devices with Visual Studio

Author Lee Timmins Date 11th Sep 25 Comments Comments

By default, IIS Express only works on localhost. To allow access from other devices on your LAN: open the applicationhost.config file in .vs\config\, find your site’s section, and add bindings using your computer’s LAN IP (from ipconfig). This makes IIS Express listen on both localhost and your LAN IP so the site can be reached across your network.

Read More...