The Blazor Puzzle 71 - Track Dirty Fields Without Changing Your Models! @DeveloperExpress
The Blazor Puzzle 71 - Track Dirty Fields Without Changing Your Models!  @DeveloperExpress
Uploaded March 2025 | Updated September 2026, 2 weeks ago
In this spring-themed Episode 71 of The Blazor Puzzle, Carl Franklin (AppvNext) and Jeff Fritz (Microsoft) dive into a common developer challenge: how do you track dirty fields in a large Blazor app without modifying your models?

πŸ’‘ Instead of rewriting every getter and setter across 50+ models, they show you a clever UI-only solution using event handlers and a simple dictionary to detect changes. Plus, they explore real-world use cases like autosave, user auditing, and canceling navigation on unsaved changes.

πŸ”Ή Topics Covered:
βœ”οΈ Dirty flag detection in Blazor without modifying models
βœ”οΈ How to track property changes using @oninput
βœ”οΈ Saving modified fields with a dictionary
βœ”οΈ Preventing navigation with unsaved changes
βœ”οΈ Making a custom Blazor input component for reusability
βœ”οΈ Why Blazor makes this way easier than JavaScript

πŸ’¬ Have a Blazor coding puzzle of your own? Send it to blazorpuzzle@appvnext.com β€” you might even get a mug!

πŸ”— Resources & Code:
Check out the full GitHub repository with test code and solutions here:

πŸ“Œ Want to level up your Blazor testing skills? Subscribe & join the puzzle! 🧩

Get Started Today – Free 30 Day Trial
dxpr.es/NUGET
dxpr.es/FREE-TRIAL

Pricing and Online Demos
dxpr.es/BUY
dxpr.es/DEMOS

We Are Here to Help
dxpr.es/SUPPORT

Follow DevExpress on Social Media
dxpr.es/FACEBOOK
dxpr.es/TWITTER
dxpr.es/BLOGS

Review Customer Testimonials
dxpr.es/TESTIMONIALS
dxpr.es/MARKETPLACE

#DevExpress, #devexpress_blazor #blazor #microsoft #carlfranklin #Jefffritz #Blazor #Blazor #Playwright #AutomationTesting #CSharp #DotNet #DirtyFlag #ASPNetCore #BlazorPuzzle #AIinDev
The Blazor Puzzle 71 - Track Dirty Fields Without Changing Your Models!CodeRush Feature of the Week: Voice SetupThe Blazor Puzzle 80 - The Hidden JavaScript Bug That Breaks Your Blazor AppLive Sessions with Amanda and Don : Migrating from WebForms to BlazorThe Blazor Puzzle 89 - Lighten the LoadDevExtreme React with Don and Gregory: DX Cloud Part 4The Blazor Puzzle 21 -  Minifying and Bundling CSS & JavaScript πŸš€πŸŽ―Copilot Goes Local (ep.27)The Blazor Puzzle 92 - A Little Interactivity PleaseThe Blazor Puzzle 64 -  Fixing Blazors Hidden Bug: JavaScript Event Handling Mistake ExplainedDevExtreme React with Don and Gregory: DX Cloud Part 5The Blazor Puzzle 76 - How to Manage Multiple Config Environments in Blazor
DevExpress |

The Blazor Puzzle 71 - Track Dirty Fields Without Changing Your Models!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER