Is this java technology stack in .net?

After working in Java for 7 years, I move on to the project in .net. The team I work with recently used the technology stack, which we are quite satisfied with in the business layer and below:

  • Spring for dependency injection, transaction management, security and for adding hooks, as well as for the possibility of implementing various interface implementations when in a unit test, as opposed to deploying to a server.
  • JUnit for unit tests.
  • JPA / Hibernate for ORM

Can you use this stack in .net? I heard about nHibernate, spring.net and nUnit.

Are these translations in .net? or are these projects dead, poor implementations or what?

Are there any other excellent methods / framework?

Appreciate your friends!

+5
source share
4 answers

You nailed it - NHibernate, Spring.NET and NUnit - all the widely used .NET-side frameworks that complement their sister frameworks on the Java side.

None of these projects are dead anywhere. I think NUnit just released a new version last month.

+6
source

I would recommend xUnit.net over nUnit. It has a streamlined approach and some very nice features that set it apart from other frameworks.

Assert.Throws()just wonderful (hitting the [ExpectedException]hands down), and the Extensions assembly provides [Theory], which in combination with is [InlineData()]incredibly powerful. See the project home page for more information.

+2
source

, ( ), - . , .

  • Spring.NET - , , , .

  • nUnit is a good choice. You can check out different versions of Visual Studio. Different versions have different functions ... some of them have built-in testing functionality.

  • nHibernate is a good .NET ORM. With the release of .NET 3.5, you can test Entity Framework or LINQ to SQL classes.

+2
source

nHibernate and nUnit are very alive and well. Initially, they were ports of their java counterparts, but they have evolved since then.

It is impossible to talk with spring.net though ..

+1
source

All Articles