Hello,

I've been putting this question off for a little while now, but I am
crossing a threshold in the application that I need to address it.

I have several asynchronous requests pouring in from a client side
that may require separate SQL requests, and I need to coordinate an
ISession being built and/or restored, i.e. if I should coordinate
building the configuration with already-built Hbm files, for instance.

I am coordinating these through an Autofac Dependency Injection, but I
suspect I have my lifetimes incorrect, because I am getting exceptions
dealing with the Hbm files. At minimum, I need to coordinate the core
configuration/factories/repositories with the requests, get their
lifetime(s) correct across the controller(s)/session(s)/etc.

What I am looking for here is general guidance. If someone has seen
this before, I can't imagine it's that uncommon for high performance,
responsive web sites, ASP.NET, MVC, etc.

Eventually, I suspect I should be able to do something like this on
the client side (JavaScript/jQuery):

$.when(ajax1(), ajax2(), ..., ajaxn()).done(response1, response2, ...,
responsen);

Any suggestions, pointers, thanks in advance!

Regards,

Michael Powell

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fluent-nhibernate+unsubscr...@googlegroups.com.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
Visit this group at https://groups.google.com/group/fluent-nhibernate.
For more options, visit https://groups.google.com/d/optout.

Reply via email to