开发者

spring Net vs enterprise library

I've been searching the web for information about a Net Framework I can use to "take it and keep it" from now on in my projects, a开发者_C百科nd I've almost made a decision, but I would like some reference about what direction the market is moving on. I can't find anything in google about which is the most used, which one have the most future, etc. I've been reading about other Frameworks too (Castle, Nhibernate, CSLA), but these 2 (Spring Net & EntLib) seem to be the more robust to me. Do you have references I can consult???

Thanks


Actually learn both so you can make the right long term decision for yourself.
For now just pick which you will learn first. EntLib is more of a just foundation library (like basic building blocks) while Spring.NET is both foundation stuff as well as more specific pieces (i.e. ASP.NET).

EntLib is being actively developed and maintained by MS, while Spring.NET is a community effort which currently is a bit stale and slowly becoming rusty (i.e. lack of container configuration via code - it is being developed, but without a real release)

Both have good documentation (which is not so common for OSS libraries). Spring.NET has excellent docs, EntLib has pretty good but not always the best (sort of MSDN style where often you will find code samples that are too simplistic to present the idea).

I think EntLib might be a bit easier to start with, but as I said learn one and then try the other to make a smart decision cause you will definitely have personal preferences and like one more than the other.

UPDATE:

Spring.NET is being developed more actively now, realases are more frequent, Spring.NET CodeConfig in now official and past 1.0 also new projects appeared like Spring.NET Social and Spring.NET REST Client.
There's .NET 4.0 build, it supports MVC3 and NHibernate 3.2 so basically it looks like the project is not dying at all - quite the opposite actually :)


I think it comes down to whether you want to stick with what Microsoft gives you or not.

If you're 100% Microsoft, perhaps it'd be best to stick with EF.

Speaking as a Java developer with long Spring experience, I think it's a terrific framework. It's getting excellent traction on the Java side. They've been purchased by VMWare, so they've got solid financial backing.

But they aren't Microsoft. That can be a plus or a minus. Only you can decide how much you value that.


Most important thing is to clarify that EF and Spring.NET have completly diferent purposes , altought EF recently incorporates DI it is not the same has spring

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜