Archives
-
NHibernate Pitfalls: Lazy Properties in Non-Lazy Entities
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.
-
NHibernate Pitfalls: Bags and Join
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.
-
NHibernate Pitfalls: Many to Many and Inverse
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.
-
NHibernate Pitfalls: Specifying Event Listeners in XML Configuration
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.
-
Loading Entities from the First Level Cache
You can use the following code to load all entities of a given type from the first level cache (the entities that were loaded from the current session):
-
NHibernate Pitfalls: Collection Restrictions
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.
-
NHibernate Pitfalls: The SaveOrUpdate Event
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.
-
Service Locator – Dependency Resolver Bridge
-
Adding Modules Dynamically to ASP.NET
As you may already know, ASP.NET 4.0 brought along with it a new mechanism to execute methods before the application start event (the Application_Start method): the PreApplicationStartMethodAttribute. This attribute, when applied to an assembly, indicates a method which is to be run before the application starts. If your web application references any assembly which has this attribute, it will run the method it declares, throwing an exception it if is not found.