
404 when trying to access images uploaded after the app was built
Why my uploaded images weren't being displayed in my Blazor app, and how I got around the problem, learning something new along the way.
A personal Blazor blog.
Showing posts from January 2025.

Why my uploaded images weren't being displayed in my Blazor app, and how I got around the problem, learning something new along the way.
![Microsoft.EntityFrameworkCore.Model.Validation[10625] The foreign key property 'ShortlistItem.ShortlistId1' was created in shadow state because a conflicting property with the simple name 'ShortlistId' exists in the entity type](/images/25-01-06-shadow2.jpg)
Having struggled with EF Core adding shadow properties for navigation relationships, I finally found out what it's doing and (more importantly) how to fix it.