s#arp-architecture
Which layer should construct a View Model?
I\'m using the S#arp Architecture. I can\'t remember where I read it, but I understand that view models should be stored at the service layer, and your views should submit the view model to the servic[详细]
2022-12-28 12:58 分类:问答Load vs Get in Nhibernate
The master page in my web application does authentication and loads up the user entity using a Get. After this whenever the user object is n开发者_如何学运维eeded by the usercontrols or any other cl[详细]
2022-12-25 09:15 分类:问答Nhibernate transactions:Avoiding Nhibernate dependency in the service layer
One of practices advocated by Nhibernate experts is to do all actions in inside a transaction. In a typical 3 tier web architecture, Nhibernate depedency is limited the data layer.[详细]
2022-12-25 07:27 分类:问答SharpArch.Core.PreconditionException: For better clarity and reliability, Entities with an assigned Id must call Save or Update
When I do a save of an entity with assigned id I get a SharpArch.Core.PreconditionException: For better clarity and reliability,[详细]
2022-12-24 00:53 分类:问答WCF/S#arpArch: underlying ISession is closed after the first call within a request
I know the use of WCF in SA is deprecated because it will move to SA Contrib. But until it has, I guess I have to use the support in SA.[详细]
2022-12-22 08:28 分类:问答Problem Implementing StructureMap in VB.Net Conversion of SharpArchitecture
I work in a VB.Net environment and have recently been tasked with creating an MVC environment to use as a base to work from. I decided to convert the latest SharpArchitecture release (Q3 2009) into VB[详细]
2022-12-21 15:23 分类:问答NHibernate 2nd level cache provider for NHibernate 2.1.1.4000
I am using s#arp which is built against NHibernate 2.1.1.4000, However I would like to use NHibernate.Caches.SysCache as my second level cache. However the Nhibernate contrib caches are built against[详细]
2022-12-20 15:18 分类:问答IValidator could not be located with the ServiceLocator
I get the following error when using sharparchitecture and try to call IValidatable.IsValid on a Domain Object.[详细]
2022-12-19 08:37 分类:问答Nservicebus and S#arp Architecture
I am trying to integrate S#arp Architecture with NServicebus but I am getting some errors. Anyone already used both projects together? Any examples about that?[详细]
2022-12-19 08:16 分类:问答Is S#arp applicable in classic ASP.NET or even WinForms?
I know S#arp architecture 开发者_开发技巧is built for ASP.NET MVC. But I\'m wondering if it can be used in classic ASP.NET (WebForms) or even desktop applications like WinForms or WPF.[详细]
2022-12-19 04:58 分类:问答