> As for the DB connection, I was wondering more about the impact of
> using a single open database connection per http request rather than
> retrieving a connection from the pool per database request.  In any
> case, It does not look like the latter is possible with this approach.
Can you please explain on that?

The DB connection is at your full responsibility. I'd get it from a
pool in OnBeginRequest, store it in the context and return it in
OnEndRequest.

However, if you need that feature for a regular test/production
staging, I recommend using different instances of your application.
NAnt does a good job adjusting XML config values for multiple
instances.

-Markus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to