Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. .net core vs .net framework

.net core vs .net framework

Scheduled Pinned Locked Moved .NET (Core and Framework)
dotnetcsharpasp-netvisual-studioperformance
2 Posts 2 Posters 55 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yolanda smith
    wrote on last edited by
    #1

    am looking for the difference in performance between .NET Core and .NET Framework for building applications which is best for use?

    F 1 Reply Last reply
    0
    • Y yolanda smith

      am looking for the difference in performance between .NET Core and .NET Framework for building applications which is best for use?

      F Offline
      F Offline
      Frangkyb
      wrote on last edited by
      #2

      When comparing .NET Core and .NET Framework, it is essential to consider various factors such as performance, cross-platform support, deployment options, and future-proofing. Here’s a detailed comparison between the two to help you decide which is best for your needs: 1. Performance .NET Core: Generally faster and more efficient than .NET Framework. Microsoft has made significant performance improvements in .NET Core, especially in areas like server-side web applications and microservices. Kestrel, the web server in .NET Core, is highly optimized for performance, especially in handling asynchronous operations and modern hardware architectures. Garbage Collection (GC) and JIT (Just-In-Time) compilation have been improved in .NET Core to reduce latency and improve throughput. Supports tiered compilation, which optimizes hot paths of code over time for better performance. .NET Framework: Performance is generally good for most traditional desktop and enterprise applications. However, it lacks many of the modern performance optimizations found in .NET Core. The web server in .NET Framework, IIS, is more mature but not as optimized for high-performance scenarios, especially compared to Kestrel in .NET Core. Verdict: .NET Core offers better performance, especially for web applications, cloud-based services, and applications that require scalability. 2. Cross-Platform Support .NET Core: Cross-platform, meaning it can run on Windows, Linux, and macOS. If you are building applications that need to be deployed across multiple operating systems, .NET Core is the clear choice. .NET Framework: Only runs on Windows. It is tightly integrated with the Windows operating system and is not portable across other platforms. Verdict: If you need cross-platform support, .NET Core is the way to go. 3. Application Types .NET Core: Ideal for building web applications (ASP.NET Core), microservices, cloud-native apps, console apps, cross-platform libraries, and high-performance APIs. It supports modern development practices like Docker containers, Kubernetes, and serverless architectures. Does not fully support desktop applications like Windows Forms or WPF (though .NET Core 3.1 and .NET 5+ added partial support). .NET Framework: Best suited for Windows-specific applications, especially legacy desktop applications built with WPF or Windows Forms. If you are working with older enterprise applications that require compatibility with Windows-only technologies like COM, WCF, or Windows Services, .NET Framewor

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups