spring.net

Dependency injection / IcC in Workflow Foundation 4

Hi Is it possible to use DI in your workflow activities? and if yes, how? For example if you have an activity like public sealed class MyActivity : CodeActivity { public MyClass Dependency { get; set; } protected override void Execute(CodeActivityContext context) { Dependency.DoSomething(); } } how can i set...

What is a good pattern for multi-threading in an IOC application (windsor)

I'm writing a simple photo downloader application using IOC. There is a fairly straightforward list of steps. Get list of photos to download. Check this, Check that, then download. The download can be accomplished via FTP in some cases, and via http in others, and via a web service in others. What I'm wondering, as I'm new to IOC ...

is spring.net being actively maintained/developed/documented?

In the course of evaluating .net IoC frameworks, I gave spring.net a try first, seeing as how much I liked spring in java. However, I'm rapidly getting the feeling that it is a stale/stalled/dead project. The forums have almost no activity; the documentation, though verbose, is infuriating with its self-referencing, poor examples, and ...

Spring.Net: Inject ApplicationContext / ObjectFactory itself

Hi Is there a way to pass the IObjectFactory or the ApplicationContext that is currently executing as dependency to an object? For example <object id="SpringActionInvoker" type="xxx.SpringActionInvoker, xxx"> <constructor-arg ref="reference_to_the_ApplicationContext_or_ObjectFactor_that_is_executing" /> </object> I want to us...

a good tutorial for .Net development with MVC, spring.net and NHibernate

Hi all, I'm coming from a php world and am now initaiting a project in .NET environment. After looking around, I noticed that the combination of MVC, spring.net and NHibernate might work for me. In PHP I created applications using Symfony (with propel or doctrine) that combined all these in one framework. The Jobeet tutorial ( http://...

Insert on single table caused deadlock.

I am using SQLServer 2005 and designed a DAO running insert sql like this: INSERT INTO eventsources (recevied_event_time_stamp, recevied_event_curve_name, recevied_event_curve_value, recevied_event_quote_date, total_time_for_event_processing, number_of_published_events{0}, triggered_curve, recevied_event_day) however, the system throw...

Spring.NET, NHibernate and WCF: Session Management

Hi, I know that this issue has been discussed but all answers seem to be quite outdated (back in 2008). I have a perfectly well configured application architecture with Spring.NET DI and transaction management and NHibernate. Session management works well within my integration tests. But: what is the best way to handle the NHibernate ...

spring.net autowired and ants profiler

Is someone using spring.net with autowire to instantiate repositories in asp.net? Have you ever tried to profile your app with redgate ants? Profiling my app I can see the app seems to have some performance problems with spring at every request. do you have a similar experience? ...

What is abstract="true" in spring.net?

hi!, I have seen strange behavior when I marked an object as abstract="true". how the object will behave when I marked an object as abstract="true"? what is abstract="true". when to use abstract="true"? becuase I can inherit the property by using parent="object id" without marked parent object as abstract="true". the strange behaviour...