Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring MVC vs ASP.NET (MVC?) [closed]

I have to work to develop a management from a clothing company. Is more appropriate to choose asp.net or spring? What are the reasons for the choice? What are the advantages of Spring MVC over fact-based ASP.net and vice versa?

like image 867
LuZa Avatar asked Aug 08 '13 08:08

LuZa


People also ask

Is ASP.NET MVC discontinued?

ASP.NET MVC is no longer in active development.

Is ASP.NET better than spring?

According to the StackShare community, Spring Boot has a broader approval, being mentioned in 333 company stacks & 617 developers stacks; compared to ASP.NET, which is listed in 76 company stacks and 76 developer stacks.

Is Spring MVC still used?

You can use Spring MVC if you want to develop a web application with Spring. However, for the development of general Spring applications or beginning to learn Spring, it is recommended that you use Spring Boot as it is production-ready, mitigates the job, and is being quickly adopted.

How Spring MVC is different from MVC?

The MVC term signifies that it follows the Model View Controller design pattern. So, Spring MVC is an integrated version of the Spring framework and Model View Controller. It has all the basic features of the core Spring framework like Dependency Injection and Inversion of Control.


2 Answers

Maturity wise, ASP.NET MVC and Spring MVC is mature MVC framework and relatively the same. Like Daniele said, one thing you have to consider now is the learning curve. If your background is Java then it is probably best to choose Spring MVC and if your background is .NET then it is wise to choose ASP.NET MVC.

Out of the box, ASP.NET MVC just works. You do not need to plug in many different technologies to work with ASP.NET MVC. It is a bit different story with Spring MVC. You need to plug-in other frameworks like Hibernate/JPA/iBatis for persistence, JSP/Velocity/Freemarker for templating, etc.

Another thing you have to consider is the money your customer is willing to invest to get this system running. Running an ASP.NET MVC app is relatively more expensive than running a Spring MVC app.

Other than everything that has been mentioned, is your customer a large enterprise? If not, other MVC frameworks based on PHP or Ruby on Rails would probably be sufficient for your customer.

Hope that helps.

like image 96
Joshua Partogi Avatar answered Oct 05 '22 23:10

Joshua Partogi


I don't know Spring.Net very well, but i think the advantage of ASP.NET MVC is on the diffusion, you can find a lot of documentation and a vaste community that works with it at enterprise level web applications.

I think that the possible advantages of Spring relies on the framework, that have a lot of "sub frameworks" inside it, AOP, his own IoC container and more cool stuff.

I think also, learning curve with ASP.NET MVC is much easier.

like image 27
Daniele Avatar answered Oct 05 '22 23:10

Daniele