1 min read
Binding a Dictionary to Razor Forms
Complicated data structures like Dictionaries can be difficult to two-way bind in a Razor page. Here's a quick sample showing you exactly how to do it
Read article
A developer's notebook
Programming notes and guides on C#, .NET, Azure, and the Microsoft stack. Solutions to come back to when the same problem turns up again.
Browse the articles// Leave a note for future you.
var notebook = new Notebook();
notebook.Add("What worked");
notebook.Add("What didn't");
notebook.Save();▌
1 min read
Complicated data structures like Dictionaries can be difficult to two-way bind in a Razor page. Here's a quick sample showing you exactly how to do it
Read article
2 min read
An enhanced Razor helper tag to display a Gravatar images or your optional locally uploaded headshot.
Read article
2 min read
Learn how to support AJAX during exception handling in your .NET Core Razor and MVC pages. Optionally return a Json result instead of redirecting.
Read article
4 min read
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.
Read article
1 min read
I’ve been writing code for 35+ years. Sitting on this domain name for 15 of them. Time to give back. Time to start blogging. This blog site will be all about solving specific coding challenges that I bump...
Read article