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

.NET

10.2K
5.9K
+ 1
1.9K
Spring Framework

2.1K
881
+ 1
0
Add tool

.NET vs Spring Framework: What are the differences?

  1. Programming Language: .NET framework primarily uses C# as its programming language, whereas the Spring Framework is based on Java. This difference in programming languages leads to various syntax disparities and coding styles between the two frameworks.
  2. Platform Dependency: .NET is a Microsoft framework, making it more suitable for Windows-based applications, whereas the Spring Framework is platform-independent, allowing it to run on any platform that supports Java. This platform dependency can influence the choice of framework based on the application's targeted environment.
  3. Architectural Approach: The .NET framework follows a more opinionated approach to architecture, providing a set of guidelines and structures for developers. In contrast, the Spring Framework offers a more flexible and lightweight approach, allowing developers more freedom in designing their application structure.
  4. Community Support: The Spring Framework has a robust open-source community with extensive documentation, forums, and resources available for developers. On the other hand, the .NET community is driven by Microsoft and tends to have more structured support channels and resources provided by the company.
  5. Tooling and Ecosystem: .NET comes with a comprehensive Integrated Development Environment (IDE) in the form of Visual Studio, offering a wide range of tools and features. The Spring Framework, on the other hand, is more lightweight in terms of tooling and relies on third-party plugins and IDEs like IntelliJ IDEA or Eclipse for development.
  6. Runtime Environment: .NET applications generally run on the Common Language Runtime (CLR), which manages memory, security, and other runtime services. In contrast, the Spring Framework relies on the Java Virtual Machine (JVM) for its runtime environment, providing features like garbage collection and portability across different platforms.

In Summary, the key differences between .NET and Spring Framework lie in programming language, platform dependency, architectural approach, community support, tooling and ecosystem, and runtime environment.

Advice on .NET 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
on
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 · | 5 upvotes · 252.3K views
Recommends
on
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 · 608.2K views
Recommends
on
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
Recommends
on
Spring FrameworkSpring Framework

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

See more
Decisions about .NET and Spring Framework
Ing. Alvaro Rodríguez Scelza
Software Systems Engineer at Ripio · | 9 upvotes · 521.3K views

Decided to change all my stack to microsoft technologies for they behave just great together. It is very easy to set up and deploy projects using visual studio and azure. Visual studio is also an amazing IDE, if not the best, when used for C#, it allows you to work in every aspect of your software.

Visual studio templates for ASP.NET MVC are the best I've found compared to django, rails, laravel, and others.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of .NET
Pros of Spring Framework
  • 273
    Tight integration with visual studio
  • 262
    Stable code
  • 191
    Great community
  • 184
    Reliable and strongly typed server side language.
  • 141
    Microsoft
  • 120
    Fantastic documentation
  • 90
    Great 3rd party libraries
  • 81
    Speedy
  • 71
    Great azure integration
  • 63
    Great support
  • 35
    Linq
  • 35
    C#
  • 34
    Highly productive
  • 31
    High Performance
  • 28
    Great programming languages (C#, VB)
  • 26
    Open source
  • 19
    Powerful Web application framework (ASP.NET MVC)
  • 16
    Clean markup with razor
  • 16
    Fast
  • 15
    Powerful ORM (EntityFramework)
  • 14
    Dependency injection
  • 10
    Visual studio + Resharper = <3
  • 10
    Constantly improving to keep up with new trends
  • 9
    High-Performance
  • 8
    TFS
  • 8
    Security
  • 7
    Integrated and Reliable
  • 7
    Job opportunities
  • 7
    Huge ecosystem and communities
  • 6
    {get; set;}
  • 6
    Lovely
  • 6
    Light-weight
  • 6
    Asynchrony
  • 5
    Variations
  • 4
    Concurrent
  • 4
    Entity framework
  • 4
    Nuget package manager
  • 4
    Support and SImplicity
  • 4
    Default Debuging tools
  • 4
    Useful IoC
  • 4
    Scaffolding
  • 3
    Blazor
  • 2
    F♯
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of .NET
    Cons of Spring Framework
    • 13
      C#
    • 12
      Too expensive to deploy and maintain
    • 8
      Microsoft dependable systems
    • 8
      Microsoft itself
    • 5
      Hard learning curve
    • 3
      Tight integration with visual studio
    • 3
      Not have a full fledged visual studio for linux
    • 1
      Microsoft itself 🤡🥲
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      What is .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.

      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?
      What companies use Spring Framework?
      Manage your open source components, licenses, and vulnerabilities
      Learn More

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

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

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

      Blog Posts

      Git.NETCloudBees+3
      6
      1184
      What are some alternatives to .NET 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.
      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!
      Python
      Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
      PHP
      Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
      JavaScript
      JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
      See all alternatives