views:

23

answers:

2

Hi guys,

There is a requirement for a WPF client and Windows Service for an existing S#arp Architecture project and I was wondering what ISessionStorage to use? I have used SimpleSessionStorage in some of my integration tests already and the Northwind sample test project also use the same in MappingIntegrationTests. I have also heard that the Contrib project is going to have support for Winforms and WindowsService but I haven't found any ISessionStorage implementation in that specific to Winforms/WPF/WindowService. So I am assuming SimpleSessionStorage should work for both WPF/Winform and Windows Service?

Awaiting Nabeel

+2  A: 

Nabeel, If you are going to use the UnitOfWork or Transaction attribute from the S#arpArchitecture.Contrib project, then you would need to use the ThreadSessionStorage that is in the contrib. If not, then you would use the SimpleSessionStorage

Alec

Alec Whittington