MVC patterns with WPF + NHibernate + IoC
-
24-09-2019 - |
Question
I'm looking for patterns and principles for using with WPF and NHibernate in model-view-controller style.
Solution
Here's a pretty good sample application plus write-up for using WPF and NHibernate together. The article is sufficiently long without also delving into MVC & IOC. It covers the hardest bit, which is managing NHibernate sessions in long lived contexts.
OTHER TIPS
Have a look at Paul Stovell's Magellan MVC container - I don't think it tries to be an ORM, so you'd need to hook NHibernate up, yourself...
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow