Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

c# - NHibernate Unit Of Work - Multiple Sessions (WinForms) -


i struggling learning curve nhibernate.

we porting our c# winforms application use nhibernate , employing unit of work (unitofwork) detailed gabriel schenker.

http://nhforge.org/wikis/patternsandpractices/nhibernate-and-the-unit-of-work-pattern.aspx

we wish employ unitofwork on "conversational" basis. example when user opens form open unitofwork session , keep open until form closed. forms easier way define business conversation, may change depending upon implementation example, please use form opening , closing example.

the problem exists when have scenario of form opening on top of form. in instance should have 2 unitofwork operating. 1 still active underlying form , new unitofwork new form.

how implement this? unitofwork functionality provided gabriel allows 1 session per unitofwork? initial thoughts store sessions in dictionary sessions can called form or part of application.

your thoughts?

read through ayende's building desktop to-do application nhibernate in msdn magazine here: http://msdn.microsoft.com/en-us/magazine/ee819139.aspx. discusses how manage multiple units of work within thick client application.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -