Questions tagged [spring.net]

Spring.NET is an open source application framework for developing .NET enterprise applications.

Spring.NET is an open source application framework for developing .NET enterprise applications, inspired by the popular Spring for Java. It provides infrastructural support to make best practices easy practices. Spring.NET consists of several modules, most notably:

For information on additional modules and other background information, see the overview page on the Spring.NET website. Technical documentation is also available on this site.

Related tags

632 questions
0
votes
1 answer

WCF with spring

I'm fairly new to wcf (we have yet to upgrade to .net 3.0 in my workplace) and I'm working on a little home project to bring myself up to speed with some of the 'newer' features of .net. I tend to use spring.net in most of my projects and so after…
iasksillyquestions
  • 5,558
  • 12
  • 53
  • 75
0
votes
0 answers

Spring.Net Strong Naming

Can someone comment why Spring.NET libraries (Spring.Core, Spring.Services, Spring.Data, Spring.Data.NHibernate33) for Spring.NET 2.0.0.0 M2 release on Nuget are not strong name signed? I need to use these libraries in a COM+ project. I am unable to…
Gursharan
  • 166
  • 1
  • 4
0
votes
2 answers

Get typeof(...).Name using Spring.NET

Is there a way to get the string representation of an interface using Spring.NET? In code: typeof(ISsoUrlTemplateRepository).Name I would need this name in Spring.NET configuration... I could just take the string itself but if I would ever refactor…
Lieven Cardoen
  • 25,140
  • 52
  • 153
  • 244
0
votes
0 answers

Spring.net 1.3.2 Xml config with Code Config

I use spring.net 1.3.2 in my asp.net 4 web application, some component use xml configuration( I like that way because it's clear and all the object definition is in one place), but I also want to use 'code config method' to scan some assemblies and…
cloud
  • 65
  • 1
  • 1
  • 6
0
votes
1 answer

Adding MVC3/4/5 to an existing Spring.net WebForms app

So we have a very large ASP.NET WebForms applications (Recently updated to .NET 4.0), and I want to attempt to put MVC in alongside it. I've read lots of articles around the fact that the 2 types of applications do sit well beside each other. …
Martin
  • 2,180
  • 4
  • 21
  • 41
0
votes
1 answer

spring.net how to pass System.Type as a parameter

public class MyClass{ public MyClass(System.Type type) { // do whatever } } How do I pass SomeOtherClass type in spring.net DI? I couldn't get through that in documentation nor my implementation? tried to do below but have an exception.. : ... …
user1025852
  • 2,684
  • 11
  • 36
  • 58
0
votes
2 answers

Factory - take the type in the constructor consideration

Is it ok to implement factory and get the type in the constructor, so .CreateInstace() will be parameter-less or this will be antipattern and I should do my best to avoid it? I assume that during system runtime only one predefined type should be…
user1025852
  • 2,684
  • 11
  • 36
  • 58
0
votes
3 answers

Rhino Mocks - using AssertWasCalled on Common.Logging ILog.Debug

I'm having trouble using Rhino Mocks to assert that a method was called (and ideally with a particular parameter). The Method is ILog.Debug(FormatMessageHandler) in Common.Logging 2.0 using the new lamba syntax. It works fine using the old way…
ss2k
  • 1,258
  • 1
  • 13
  • 20
0
votes
0 answers

An Exception in my code when i using Spring.NET as IOCness

first ,please look my exception infos in below: exception time:2013-10-15 09:08:30,765 [1] exception level:ERROR exception class:logerror [(null)] SpringFactory.GetObject(adminFacade) System.InvalidOperationException: root context is currently…
YangShuang
  • 25
  • 7
0
votes
1 answer

Is there a breaking change in Spring AOP 1.3.2

I'm working on an application that uses Spring AOP extensively. The application was written in .NET 2.0, but I'm trying to upgrade it to .NET 4.0. This has meant an upgrade from Spring 1.2.0 to 1.3.2, however, this appears to have caused some…
Martin
  • 2,180
  • 4
  • 21
  • 41
0
votes
1 answer

Spring.NET and mono integration

I'm going to use Spring.NET in my bundle of WCF project. Mainly, I want to use AOP and IoC modules of Spring.NET. I'm currently working only in windows environment, but in short time I'm going to use linux environment too. So, My question is around…
fonhorst
  • 65
  • 1
  • 7
0
votes
2 answers

Spring.NET Configuration Question

I'm a Java developer being forced to learn C#. Since I couldn't stand NOT using a Dependency Injection container, I'm trying to configure Spring.NET in my project. My project is divided into two solutions in Visual Studio: a ClassLibrary solution…
Jason
  • 3,943
  • 12
  • 64
  • 104
0
votes
1 answer

How to set a spring.NET AOP advice before method call

I want to intercept a method call before execution using spring.NET. Let's assume the class/method to be intercepted is: public class Listener { public void Handle() { // method body } } This is what I've done (assuming all code…
rtorres
  • 2,601
  • 3
  • 27
  • 33
0
votes
2 answers

NHibernate calling "get" from a property twice

I have this situation: I'm developing a software with Spring.net and Fluent NHibernate, and I noticed something very unusual with NHibernate's behavior. I really don't know whether it's correct or not, but for my software it cannot happen. I noticed…
Only a Curious Mind
  • 2,807
  • 23
  • 39
0
votes
2 answers

Twitter push notifications using Spring Social .NET

I'm using Spring.NET Twitter extensions in an application. Instead of querying in a loop for twit updates (pulling), I just want to listen to twits of interest (hashtags, @ mentions, keywords or updates in timeline) and receive push notifications as…
orad
  • 15,272
  • 23
  • 77
  • 113