StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Frameworks
  4. Frameworks
  5. ASP.NET Core vs Spring Framework

ASP.NET Core vs Spring Framework

OverviewDecisionsComparisonAlternatives

Overview

Spring Framework
Spring Framework
Stacks6.5K
Followers886
Votes0
GitHub Stars59.1K
Forks38.8K
ASP.NET Core
ASP.NET Core
Stacks11.0K
Followers2.7K
Votes1.6K

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

Introduction

This Markdown code presents the key differences between ASP.NET Core and Spring Framework, formatted for website use.

  1. Language and Platform Compatibility: ASP.NET Core is primarily written in C# and is designed to work on multiple platforms, including Windows, macOS, and Linux. On the other hand, Spring Framework is written in Java and is best suited for Java-based applications, although it can integrate with other languages through wrappers.

  2. Development Approach: ASP.NET Core follows the MVC (Model-View-Controller) architectural pattern, where UI, processing logic, and data manipulations are separated into separate components. Spring Framework, however, offers multiple options for development approaches, including MVC, as well as Reactive and Cloud-based architectures.

  3. Dependency Injection: ASP.NET Core has built-in support for dependency injection, allowing developers to easily inject and manage dependencies within their applications. In Spring Framework, dependency injection is a core feature, providing extensive support for managing dependencies and handling inversion of control.

  4. Authentication and Authorization: ASP.NET Core includes a powerful and flexible authentication and authorization system called Identity, which provides features like user management, roles, claims, and external authentication providers. Spring Framework offers similar functionality through the Spring Security module, providing robust authentication and authorization mechanisms.

  5. Performance and Scalability: ASP.NET Core has been optimized for high performance and scalability, with features like middleware pipeline, asynchronous programming, and efficient resource utilization. Spring Framework also offers performance optimizations, but ASP.NET Core has a slight edge in terms of raw performance and scalability due to its tight integration with the .NET Core runtime.

  6. Community and Ecosystem: ASP.NET Core has a growing and active community, with extensive documentation, tutorials, and a rich ecosystem of libraries and frameworks available on NuGet. Spring Framework, on the other hand, has a long-established and mature community, with extensive documentation, tutorials, and a wide range of third-party libraries and integrations available through the Maven repository.

In summary, ASP.NET Core and Spring Framework differ in terms of language and platform compatibility, development approach, dependency injection, authentication and authorization mechanisms, performance and scalability optimizations, and the size and maturity of their respective communities and ecosystems.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Spring Framework, ASP.NET Core

Arman
Arman

Jun 17, 2020

Needs adviceonDjangoDjangoPythonPythonReactReact

As a medium level .Net programmer trying to implementing a website, I decided to go through the Asp.Net Core. I found some tutorials on the web and started learning; however, I faced a problem. Even though I have been working with .Net and C# (mostly with unity game engine, which led to a quite amazing mobile game, published on a Persian app store) for two years or even more, by start learning Asp.Net Core, I found out that I do not know .Net as much as I expected. There were some things I should have learned before.

I searched for other frameworks, and Django was a popular one. Besides, I have planned to learn Python for machine learning. The website I want to make (with a small team) is nearly similar to Khan Academy. (We are going to use React for front-end)

So, What should I do? Continue working on .Net core with its amazing new features, or start getting into the Python and Django?

Your advice accompanied by reasons will be greatly appreciated!

424k views424k
Comments
juan9222
juan9222

Jul 25, 2020

Needs advice

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.

616k views616k
Comments
Korawich
Korawich

Apr 7, 2020

Needs advice

I have a mission to make a web application for my organization (engineering consultant). With the following bullet points that the new web app has to cover, what is the right tool?

  1. It should be able to display employee data and project data. For example, when searching the name of Mr. Peter Parker, I should be able to click on the name to see his personal profile and also a list of construction projects he is or was a part of. Also, if I click on a project name, say Project ABC building, it should show me the detail of this project (who is the client, who works on this project, where, start-finish dates, etc.)

  2. It should be able to sync with the database from Microsoft Access.

(optional) 3. The user of this web app should be able to propose a rotation of role (Ex. Boss might want Mr. Peter Paker to work in another project next month, he can just drag Peter into XYZ Building.)

296k views296k
Comments

Detailed Comparison

Spring Framework
Spring Framework
ASP.NET Core
ASP.NET Core

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.

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.

Lightweight; Dependency Injection; Transaction Management
-
Statistics
GitHub Stars
59.1K
GitHub Stars
-
GitHub Forks
38.8K
GitHub Forks
-
Stacks
6.5K
Stacks
11.0K
Followers
886
Followers
2.7K
Votes
0
Votes
1.6K
Pros & Cons
No community feedback yet
Pros
  • 143
    C#
  • 118
    Performance
  • 96
    Open source
  • 90
    NuGet
  • 84
    Easy to learn and use
Cons
  • 5
    Great Doc
  • 3
    Fast
  • 2
    Clean
  • 2
    Professionally written Nuget Packages, vs IMPORT junk
  • 1
    Long polling is difficult to implement
Integrations
AngularJS
AngularJS
MySQL
MySQL
NetBeans IDE
NetBeans IDE
Hibernate
Hibernate
IntelliJ IDEA
IntelliJ IDEA
Linux
Linux
Docker
Docker
macOS
macOS
NGINX
NGINX
.NET
.NET
Apache HTTP Server
Apache HTTP Server
Windows
Windows
Microsoft IIS
Microsoft IIS
.NET Core
.NET Core

What are some alternatives to Spring Framework, ASP.NET Core?

Node.js

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.

Rails

Rails

Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.

Django

Django

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Laravel

Laravel

It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.

.NET

.NET

.NET is a general purpose development platform. With .NET, you can use multiple languages, editors, and libraries to build native applications for web, mobile, desktop, gaming, and IoT for Windows, macOS, Linux, Android, and more.

Symfony

Symfony

It is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP..

Spring

Spring

A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

Spring Boot

Spring Boot

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

Android SDK

Android SDK

Android provides a rich application framework that allows you to build innovative apps and games for mobile devices in a Java language environment.

Phoenix Framework

Phoenix Framework

Phoenix is a framework for building HTML5 apps, API backends and distributed systems. Written in Elixir, you get beautiful syntax, productive tooling and a fast runtime.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase