UnitOfWork & StrcutureMap & Desktop Application
Posted
by Afshin Gh
on Stack Overflow
See other posts from Stack Overflow
or by Afshin Gh
Published on 2010-06-08T23:03:38Z
Indexed on
2010/06/08
23:12 UTC
Read the original article
Hit count: 406
When developing Web App and using StrcutureMap i normally use HybridHttpOrThreadLocalScoped for my UnitOfWork Part. (unit of work starts up per web request and ...)
What about a desktop app(windows service, console, ...)?
There is no session and request in a desktop app.
How should i manage UoW in this situation? any good reference or article?
I don't want to make it singleton.
What should I do?
© Stack Overflow or respective owner