Like most, I’ve been playing around with the awesome capabilities of AI for developers. Recently we had to develop a small class library that would act as a specialized cache. Since I had a little extra bandwidth, I decided to have a little fun and see if I could get an AI engine to write... » read more
Learn how to support AJAX during exception handling in your .NET Core Razor and MVC pages. Optionally return a Json result instead of redirecting.
Given a EFCore entity object that has a navigation property, and the schema is built for a one-to-many relationship, but you want a navigation property to represent a single record based on a specific filter.