Hi Markus,
sorry for writing such a crap last time: I'm currently only reading
data from some file and write it into the database. So I meant, that
I'm currently not reading data from the db.
1. Is there any way to stop NHibernate from opening too many
sessions?
2. What about batching more
Hi all,
Im trying to find a way of using windsor with my webservice and
wondered if anyone can help me or point me in the right direction?
My problem is, how exactly does a webservice class get instantiated
when there's an incoming request, and how do I override that to use
the class from the
Congrats! Awesome news.
-M
On May 4, 9:27 pm, Jonathon Rossi j...@jonorossi.com wrote:
It is out. See this blog post for
details:http://jonorossi.com/blog/archive/2009/05/04/castle-dynamicproxy-2.1-...
I am currently updating the Castle web site with the download details.
--
Jono
Ok I think Im getting somewhere. I think I need to use the
IContainerAccessor in my global.cs file, and instantiate the container
in the app_start.
Then when there's an incoming request, windsor will instantiate the
webservice class.
Am I getting warmer?
On May 6, 9:54 am, AndyKnight
Hi Flo
answers inline
2009/5/6 Flominator flomina...@gmx.net:
1. Is there any way to stop NHibernate from opening too many
sessions?
AR by default opens a NH session per operation. NH opens a db
connection per session, but disconnects and reconnects it per
operation.
If you use a
I forgot, I posted a complete example myself a while back:
http://callumhibbert.blogspot.com/2008/02/wcf-services-and-dependency-injection.html
Callum
On Wed, May 6, 2009 at 10:41 AM, Andyk andym.kni...@googlemail.com wrote:
Ok I think Im getting somewhere. I think I need to use the
Ah great, thanks Callum, I'll take a look.
On May 6, 10:50 am, Callum Hibbert callum.hibb...@gmail.com wrote:
I forgot, I posted a complete example myself a while
back:http://callumhibbert.blogspot.com/2008/02/wcf-services-and-dependency...
Callum
On Wed, May 6, 2009 at 10:41 AM, Andyk
Actually, this is for a WCF service. Will the same principle work when
using a ASP.Net Web Service Application?
On May 6, 10:54 am, Andyk andym.kni...@googlemail.com wrote:
Ah great, thanks Callum, I'll take a look.
On May 6, 10:50 am, Callum Hibbert callum.hibb...@gmail.com wrote:
I
No, sorry. I saw web service and assumed WCF underneath. Castle works with
WCF because WCF have lots of extension points (like the Service Factory).
There are no equivalent hooks in the ASMX infrastructure.
If I were you and stuck with ASMX, I'd have the web service class as a
simple wrapper to an
yes, thats sort of what Im doing now.
Maybe I should look at converting this Web Service App into a Wcf
Service App.
Off topic, but do people still use web service apps now, or is
everyone going straight for Wcf service Application project?
On May 6, 11:06 am, Callum Hibbert
Personally, I don't even consider ASMX any more. As far as I'm concerned its
a legacy technology.
Callum
On Wed, May 6, 2009 at 11:15 AM, Andyk andym.kni...@googlemail.com wrote:
yes, thats sort of what Im doing now.
Maybe I should look at converting this Web Service App into a Wcf
Service
I'm working on adding to WCF Facility support for async calls from
client side (similar to what can be done with SvcUtil-generated
proxies), when using channelfactory and intereface contract only.
Something like What Ayende wrote about here:
They must be - otherwise the app would not run...
2009/5/6 Jonathan Vukovich jon.vukov...@gmail.com
Tyler just reminded me about this the other day.
Are you [Transaction] decorated methods declared as virtual? Could that be
it?
Thx!
Jon
On Wed, May 6, 2009 at 2:19 PM, Jan Limpens
I'm not very keen on all those casts.
And it doesn't seem natural to call proxy.GetSize(line); and not assign the
result to anything!
Have a look at http://paste2.org/p/199716
Cheers
John
From: Krzysztof Koźmic krzysztof.koz...@gmail.com
To:
Lets pretend that I have a class that has up to 5 external
dependencies to be resolved by the DI container.
Some of the public class methods require 1 injected dependency, some
require 5 injected dependencies.Is there a good methodology for
avoiding injecting extra dependencies based on how
I would profile it to start with, to see if it's really a performance cost
or not - I doubt it is, or if it is then you could probably look at
alleviating this by switching lifestyles or altering the classes so there is
not such a big hit on construction - i.e. initialise the class if it's not
I am doing a performance upgrade for my desktop app, and i want to
make it start faster.
Now, the time between login screen is closed when the user enters his
username and password, and the main screen appears is 4 seconds.
From those two seconds the time is spent as follows:
1. Show login
17 matches
Mail list logo