Edit forms with multiple dropdowns usually trigger one API call per dropdown. Two problems follow — the form stays blank until all calls resolve, and load time scales with dropdown count. This note covers how to fix both: embed current selections in the entity response, aggregate option lists into one scoped endpoint. Two requests total, regardless of dropdown count.
Apr 21 2026Software Design
- How edit forms should load dropdown data
- Handling Enum Values as Strings in C# API Models
A practical pattern for working with enums in API request models - storing as strings while keeping type-safe enum logic throughout your codebase.
Oct 19 2025 - Standardize Data at Write Time, Not Read Time
Why I normalize data from multiple sources when saving to the database, not when displaying it. Using IoT temperature monitoring as a practical example.
Oct 18 2025 - Property Getters vs Get Methods: When to Use Which
A detailed guide on choosing between property getters and get methods in object-oriented programming, with practical examples and best practices for API design.
Oct 14 2025 - The Static-Instance Singleton Pattern in Flutter
Static methods for state changes, instance properties for reads. A singleton API pattern for Flutter.
Oct 12 2025 - What makes code hard to change
Why code becomes hard to change: cohesion failures, coupling failures, leaked decisions, and other structural causes of unmaintainable software.
Apr 24 2025 - Your system is an ETL pipeline
Understanding how most software systems inherently function as ETL pipelines and how to leverage this perspective for better system design.
Apr 23 2025 - Wrapping Google Sheets as a backend instead of migrating away from it
A practical approach to using Google Sheets as a lightweight backend solution, preserving existing business logic while avoiding unnecessary rebuilding of systems.
Apr 22 2025 - A loop that does five things is five problems
How to simplify complex data processing loops by refactoring them into clear, maintainable transformation pipelines using functional programming concepts.
Apr 20 2025 - Use enums over booleans for status fields
Why and how to use enumerated types instead of boolean flags for status fields, improving code maintainability and preventing future refactoring headaches.
Oct 30 2024 - How to Extend Select2 with Adapters
A guide to extending Select2's functionality using its adapter and decorator patterns, with practical examples for customizing appearance and behavior.
Oct 24 2017 - Refactoring a Feature Envy Code
A practical guide to identifying and fixing Feature Envy code smell in C#, with step-by-step examples of moving behavior to where the data lives.
Jul 24 2017 - ASP.NET MVC5 Feature Folders Structure
How to organize ASP.NET MVC5 projects using feature folders for better maintainability and separation of concerns, with practical examples and implementation details.
May 27 2016 - How to Refactor Business Rules Using the Specification Pattern
A practical guide to implementing the Specification pattern for cleaner and more maintainable business rule validation in your code.
Sep 29 2015