It seems like the default for a TransactionScope is 'OnDispose.Commit', so
it should commit automatically upon Dispose() (ie: the end of the using()
block).
Though I did not look into what mode the TransactionScope is in, if it is
created with TransactionMode.Inherits, of which the documentation
Hi
Thanks for your reply ,.
If i understand correctly ,we have to use inherits in nested
transcation .. else
we can use scope.new ...
regards
On Aug 12, 11:42 am, Martijn van Rheenen rhee...@gmail.com wrote:
It seems like the default for a TransactionScope is 'OnDispose.Commit', so
it should
Hi .
I have seen example .. where some program uses
trasnsaction scope inside a session scope
some example uses session scope inside the transaction scope..
When to use what .. ex1 and ex2...?
ex1:
using(new SessionScope(FlushAction.Never))
{
using(TransactionScope tx = new
I was wondering about that too ;) Thanks for posting that question just a
bit earlier than me...
On Thu, Aug 12, 2010 at 9:11 AM, raghavsri raghavendra...@gmail.com wrote:
Hi .
I have seen example .. where some program uses
trasnsaction scope inside a session scope
some example uses session
On Aug 11, 10:41 pm, Krzysztof Koźmic krzysztof.koz...@gmail.com
wrote:
Not sure... you might need to add a custom decommission concern for
that...
It seems like a fairly common use case. I am surprised if castle
doesn't support it and I have to write my own?
- ISession injected into
Hi guys -
I have three very hefty functions that load data from the DB, but can
run independently of each other. I run them like this:
LoadRecipeGraph();
LoadIngredientGraph();
LoadRatingGraph();
This works great, no errors. Since they all take several seconds
each, I'd like to run them in
I see that Wcf facility is not even officially released... :(
On Aug 12, 7:55 am, LOBOMINATOR lobomina...@gmx.ch wrote:
I knew that this answer will come ;) I should have written that I'm
using ninject and not windsor :( Any thoughts without facility?
Daniel
On Aug 11, 11:42 pm, Krzysztof
Is it possible to send me your app, or the part the does the WCF stuff so I can
try it out.
On Aug 11, 2010, at 5:58 PM, Khash wrote:
Yes all the dependencies are available. Browsing to WSDL shows a 404
Bad Request. Same for WCFClientUtil and mex.
On Aug 11, 6:18 pm, Craig Neuwirt
Scopes are an infrastructure concern. The best bet is to use
SessionScope per web request. If you are working with a GUI,you should
rather use IConversation.
SessionScope uses an implicit transaction since AR 2.0, so you should
be fine with a single SessionScoep unless you need to rollback in
I guess you have a web app. The problem is that the
SessionFactoryHolder stores the created session in the HttpContext,
which the thread doesn't have access to. You can try (without any
warranty) HybridThreadScopeInfo instead of WebThreadScopeInfo.
The better idea is to use conversations:
Create a
I'll look into the conversations idea.. I'm kinda an
NHibernate/Castle newbie, can you point me to some documentation or
example code on how to do this? I'd greatly appreciate it. Thanks!!
Mike
On Thu, Aug 12, 2010 at 4:53 AM, Markus Zywitza
markus.zywi...@gmail.com wrote:
I guess you have a
This question probably has more to do with the SMTPclient than MR, but
I figure I'll start here since MR is used to configure the SMTP
client.
The usage scenario is simple. click a button, process data, send an
email (with an attachment). The application uses Windows
Authentication and Windows
http://using.castleproject.org/display/AR/Using+the+Conversation+Pattern
for IConversation.
http://stw.castleproject.org/Active%20Record.Using%20Scopes.ashx
http://stw.castleproject.org/Active%20Record.Understanding%20Scopes.ashx
for scopes.
-Markus
2010/8/12 Mike Christensen
I was able to find out more.
my credentials correctly entered will successfully send the email
my credentials incorrectly entered will fail with a SmtpException:
Failure sending mail.
admin credentials correctly entered will fail with a
SmtpFailedRecipientException: Mailbox unavailable. The server
I'm trying to figure out how I can reference external configuration
properties (i.e. Database connection strings, log paths etc.), which
will be constructor parameters for components I am registering with
the fluent registration. When using xml configuration I would simply
have configured them as
thanks. you have been a great help. hv another question. as I did not
want every member of the class to be intercepted, i created following
hook that inspects the attribute on the members. now issue is
attributes on methods are identified, but not on the property.
public class
Hi Rich,
I ended up implementing a solution for this based on this post.
http://realfiction.net/go/133
Cheers
Adam,
On Thu, Aug 12, 2010 at 6:20 PM, Richard Dingwall rdingw...@gmail.comwrote:
On Aug 11, 10:41 pm, Krzysztof Koźmic krzysztof.koz...@gmail.com
wrote:
Not sure... you might
Hi Pat,
This blog post should help you:
http://mikehadlow.blogspot.com/2010/02/10-advanced-windsor-tricks-9.html
Cheers,
John
From: pmcg pmcgr...@gmail.com
To: Castle Project Users castle-project-users@googlegroups.com
Sent: Fri, 13 August, 2010 3:26:10 AM
18 matches
Mail list logo