Author Archives:

Conventional HTML in ASP.NET MVC: Building larger primitives

Other posts in this series: A primer Building tags Adopting Fubu conventions Baseline behavior Replacing form helpers Data-bound elements Validators We’ve taken our individual form elements quite far now, adopting a variety of conventions in our output to remove the … Continue reading 

Posted in ASP.NET MVC | 8 Comments

Conventional HTML in ASP.NET MVC: Validators

Other posts in this series: A primer Building tags Adopting Fubu conventions Baseline behavior Replacing form helpers Data-bound elements We’re marching towards our goal of creating conventional components, similar to React classes or Angular directives, but there’s one last piece … Continue reading 

Posted in ASP.NET MVC | 2 Comments

Conventional HTML in ASP.NET MVC: Data-bound elements

Other posts in this series: A primer Building tags Adopting Fubu conventions Baseline behavior Replacing form helpers We’re now at the point where our form elements replace the existing templates in MVC, extend to the HTML5 form elements, but there’s … Continue reading 

Posted in ASP.NET MVC | 4 Comments

Conventional HTML in ASP.NET MVC: Replacing form helpers

Other posts in this series: A primer Building tags Adopting Fubu conventions Baseline behavior Last time, we ended at the point where we had a baseline behavior for text inputs, labels and outputs. We don’t want to stop there, however. … Continue reading 

Posted in ASP.NET MVC | 6 Comments

Conventional HTML in ASP.NET MVC: Baseline behavior

Other posts in this series: A primer Building tags Adopting Fubu conventions Now that we’ve got the pieces in place for building input/display/label conventions, it’s time to circle back and figure out what exactly we want our default behaviors to … Continue reading 

Posted in ASP.NET MVC | 4 Comments

Conventional HTML in ASP.NET MVC: Adopting Fubu conventions

Other posts in this series: A primer Building tags Now that we’ve established a base for programmatically building out HTML, we can start layering on top more intelligent model-centric conventions for both displaying and editing data. Eventually, I want to … Continue reading 

Posted in ASP.NET MVC | 5 Comments

Survey of two large MVC projects

A large-ish MVC project in which I led the architecture is hitting a milestone of 12 months in development (though released to production for some months now). It’s a similar project to the one where AutoMapper came from, but this … Continue reading 

Posted in ASP.NET MVC | 25 Comments

Missing EF Feature Workarounds: Filters

Filters are one of those ORM features that when you need it, you REALLY need it. NHibernate has had this feature for quite a long time, but it still doesn’t exist in EF. What are filters? In NHibernate, a filter … Continue reading 

Posted in Entity Framework, NHibernate | 14 Comments

A better domain events pattern

Domain events are one of the final patterns needed to create a fully encapsulated domain model – one that fully enforces a consistency boundary and invariants. The need for domain events comes from a desire to inject services into domain … Continue reading 

Posted in Domain-Driven Design, Entity Framework | 73 Comments

Missing EF Feature Workarounds: Encapsulated collections

The list of missing EF features is quite long, but several of the items in the list do have workarounds. For encapsulated domain models that enforce their own consistency boundary, encapsulating a collection is quite important to ensure your domain … Continue reading 

Posted in Entity Framework | 31 Comments