Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How is Spring.Net making my life easier?

Tags:

spring.net

"Spring.NET is an open source application framework that makes building enterprise .NET applications easier." Springframework

They say that Spring makes .Net development easier. Then I see the manual which is long as anything. Chapter 5. The IoC container

And then I see some mysterious stack trace errors when I run a project that has Spring. How is Spring making my life easier, when everything is so hard?

Edit: The errors come when I run the project, not when I compile like I first wrote. I understand that Enterprise applications need more complex frameworks than normal applications. But they shouldn't be complicated even in that case. I mean, if I want to write some logic, I shouldn't need to go through lots of other stuff.

Edit: I don't have a choice but use Spring, if I start using an existing project that has it.

like image 451
Silvercode Avatar asked Oct 15 '08 09:10

Silvercode


2 Answers

Note that it says it makes enterprise .net applications easier. Enterprise applications are not really the same as normal applications. They are very large scale applications, requiring designing around massive scalability, portability and extremely flexible configuration. Frameworks that simplify this process are still going to be difficult to use, but are less difficult and more reliable than doing all of that work from scratch.

I would be dubious of using an enterprise framework in a 'normal' project though, as it is most likely extremely overengineered for non-enterprise requirements and could end up being more difficult than coding from scratch in that circumstance.

like image 109
workmad3 Avatar answered Sep 24 '22 21:09

workmad3


  • It provides an IoC container. Yes, using that to its full requires reading quite a lot. The same is true of almost any powerful tool. If you're going to use LINQ, that needs some study too - does that make LINQ useless in your view?
  • It provides useful utility classes for various things. Often these are things you might roll yourself in other circumstances.

Now, as for why you're getting mysterious stack trace errors when compiling a project which uses Spring.NET... that sounds very odd. We'd need to hear more about the errors to know what's going on.

like image 20
Jon Skeet Avatar answered Sep 21 '22 21:09

Jon Skeet