Archives
-
Querying Entity Framework Code First Inheritance
This is a short post to complement my previous one on Entity Framework Code First Inheritance: how to query for a specific class. The options are:
-
Visual Studio 2012 and .NET 4.5 Expert Development Cookbook Review
-
Entity Framework Code First Inheritance
Another post for self reference, this time, how to map inheritance strategies with Entity Framework Code First.
-
Entity Framework Code First Relations
This post is more for self-reference than anything else. Basically, I tend to forget some options for mapping relations with Entity Framework Code First, so I wrote this. If in doing so it helps someone, even better!
-
Unity – Part 3: Aspect Oriented Programming
-
Unity – Part 2: Dependency Injection
Second part of my series on Unity. For an introduction, read the first post.
-
Unity - Part 1: Introduction
Updated: ContainerControlled instead of ExternallyControlled in the bullet list of lifetime managers. Thanks, Ross Smith!
-
NHibernate Pitfalls: Collections of Elements and Inverse
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.
-
Extended ASP.NET Button Control
I once had the need to have a button control that would change its look depending on a theme, for example, it would render either as regular button, an image or a link. Of course, the only way I had to achieve this was by manually swapping the Button control for a ImageButton or a LinkButton, which wasn’t really a solution, so I started to think of a control that could do the trick… and here it is!
-
ASP.NET Web Forms Extensibility: Handlers
In the .NET world, all HTTP requests, whether they be for web services (XML, WCF, Web API), pages (Web Forms and MVC), etc, are processed by a handler. Basically, a handler is a particular implementation of the IHttpHandler interface, and requests are routed to a particular handler class by one of four ways:
-
NHibernate Pitfalls: DateTime Type Loses Milliseconds
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.
-
NHibernate Pitfalls: Take and Where Order in LINQ Queries
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.
-
Custom LINQ Extensions for NHibernate
With extensibility virtually everywhere, NHibernate is nice to work with! Consider, for example, a need to call a database-specific function in a LINQ query – a typical request.