Need advice about which tool to choose?Ask the StackShare community!

.NET Core

2.7K
2.3K
+ 1
145
Spring Framework

3.5K
711
+ 1
0
Add tool

.NET Core vs Spring Framework: What are the differences?

.NET Core: An Open Source, General-Purpose Development Platform Maintained by Microsoft and the .NET Community. Cross-platform (supporting Windows, macOS, and Linux) and can be used to build device, cloud, and IoT applications; Spring Framework: An application framework and inversion of control container for the Java platform. It provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform The framework's core features can be used by any Java application, but there are extensions for building web applications on top of the Java EE platform..

.NET Core and Spring Framework can be primarily classified as "Frameworks (Full Stack)" tools.

Some of the features offered by .NET Core are:

  • Cross-platform
  • Consistent across architectures
  • Command-line tools

On the other hand, Spring Framework provides the following key features:

  • Lightweight
  • Dependency Injection
  • Transaction Management

.NET Core and Spring Framework are both open source tools. Spring Framework with 30.6K GitHub stars and 19.6K forks on GitHub appears to be more popular than .NET Core with 11.2K GitHub stars and 2.41K GitHub forks.

According to the StackShare community, .NET Core has a broader approval, being mentioned in 54 company stacks & 71 developers stacks; compared to Spring Framework, which is listed in 4 company stacks and 10 developer stacks.

Advice on .NET Core and Spring Framework
Needs advice
on
DjangoDjangoNestJSNestJS
and
Spring FrameworkSpring Framework

Hi there, I'm deciding the technology to use in my project.

I need to build software that has:

  • Login
  • Register
  • Main View (access to a user account, News, General Info, Business hours, software, and parts section).
  • Account Preferences.
  • Web Shop for Parts (Support, Download Sections, Ticket System).

The most critical functionality is a WebSocket that connects between a car that sends real-time data through serial communication, and a server performs diagnosis on the car and sends the results back to the user.

See more
Replies (4)
Recommends
NestJSNestJS

You can use NestJs with microservice architecture.where you can also use socket.io for web socket. you can use MongoDB (For real-time data) & MySQL for customer management.if you don't want to implement websocket.you can use firebase.it gives realtime database & firestore.which can handle millions of connections and scale it up.

See more
Mohammad-Ali A'râbi
Software Engineer at AppTec GmbH · | 4 upvotes · 90.2K views
Recommends
NestJSNestJS

I would also go with NestJS. I would say Java is unnecessarily complicated and limited. And Python is not typed. TypeScript is powerful and typed and goes well with NestJS, especially using RxJS.

Django does not enforce backend-frontend separation, which probably was a good thing back in the days, but not anymore. But on the other hand enforces the project structure to you, which I don't like.

See more
Amit Parameshwar
NodeJS Intern at CartRabbit · | 3 upvotes · 446.2K views
Recommends
Node.jsNode.js

Just a simple Node.JS app with templating engine for UI can be sufficient for what you want to achieve.

See more

Spring boot with Spring Security[JWT], Websocket, Thymeleaf or Mustache, and styling with Bootstrap.

See more
Decisions about .NET Core and Spring Framework

I was researching multiple high performance, concurent//parallel languages for the needs of authentication and authorization server, to be built on microservice architecture and Linux OS. Node.js with its asynchronous behavior and event loop suits the case best. Python Django & Flash turns to be slower and .NET Core & Framework wasn't the best choice for the Linux environment at the time (summer 2018).

I also tested Go lang and Rust, although they didn't meet the quick prototyping criteria as both languages are young and lacking libraries or battle-tested ORM.

See more

There has been a lot of buzz around having PostgreSQL for ASP.NET Core 3.1 web apps. But Configuring Identity Server 4 with PostgreSQL is a real challenge. I've made a simple video to configure the ASP.NET Core 3.1 based Web application that uses AngualrJS as front end with Single Page App capabilities with Identity Server 4 talking to the PostgreSQL database. Check out this Video tutorial on how to do that in detail http://bit.ly/2EkotL5 You can access the entire code here on github http://bit.ly/35okpFj

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of .NET Core
Pros of Spring Framework
  • 29
    Perfect to do any backend ( and a fast frontend) stuff
  • 25
    Fast
  • 25
    Cross-platform
  • 23
    Great performance
  • 17
    All Platform (Mac, Linux, Windows)
  • 16
    It promotes better codebase architectures and organizat
  • 10
    Very fast development with templates
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    What is .NET Core?

    Cross-platform (supporting Windows, macOS, and Linux) and can be used to build device, cloud, and IoT applications.

    What is Spring Framework?

    It provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform. The framework's core features can be used by any Java application, but there are extensions for building web applications on top of the Java EE platform.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use .NET Core?
    What companies use Spring Framework?
    See which teams inside your own company are using .NET Core or Spring Framework.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with .NET Core?
    What tools integrate with Spring Framework?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to .NET Core and Spring Framework?
    ASP.NET
    .NET is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
    ASP.NET Core
    A free and open-source web framework, and higher performance than ASP.NET, developed by Microsoft and the community. It is a modular framework that runs on both the full .NET Framework, on Windows, and the cross-platform .NET Core.
    Java
    Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
    Mono
    It is a software platform designed to allow developers to easily create cross platform applications part of the .NET Foundation. It is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime.
    Node.js
    Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
    See all alternatives