🌐
GitHub
github.com › anjmao › netcore-vs-golang
GitHub - anjmao/netcore-vs-golang: .NET Core vs Go (Golang) performance
This repository holds code to test http api performance between .NET Core and Golang HTTP.
Starred by 32 users
Forked by 12 users
Languages   C# 42.5% | Go 36.6% | Lua 9.9% | Dockerfile 7.8% | Makefile 3.2% | C# 42.5% | Go 36.6% | Lua 9.9% | Dockerfile 7.8% | Makefile 3.2%
🌐
Quora
quora.com › Which-one-is-better-for-a-web-application-Net-Core-2-1-or-Golang-Why
Which one is better for a web application, .Net Core 2.1 or Golang? Why? - Quora
Answer (1 of 7): Golang is by far the better language of the two for two simple reasons. 1. Cross platform compatibility. You can compile a Go application into binary and run it on any platform without the need for any extra libraries or frameworks ...
Discussions

When is .NET more performant than Go?
I use both C# and Go at work, 20 YoE with C#, about 5 with Go. C# is the primary backend language. First, the techempower benchmark. The C# benchmark code for its top result is not normal code that anyone would normally write or use. It uses none of the typical routing/templating you would find in a C# codebase, and instead uses code heavily optimized only for this specific benchmark, so its a very unrealistic representation of what you can expect from a C# API. C# benchmarks that use the standard routing and templating are MUCH further down the rankings. The Go benchmarks are just standard boring Fiber/Gin etc. code, they are realistic (if simple) implementations. My experience with Go/C# for backends in the real world, is that Go typically delivers significantly better throughput, latency and startup times while using substantially less resources, with no specific effort put into optimization (assuming no glaring mistakes that tank perf). More on reddit.com
🌐 r/golang
75
139
October 20, 2024
.NET Core vs. Golang server costs?
In my opinion this has almost nothing to do with the language. Most applications are IO bound not CPU bound, so the majority of the time your application will do "nothing". And as others pointed out, these numbers are without context pretty useless. More on reddit.com
🌐 r/csharp
32
6
September 26, 2023
How does Golang compare to ASP.NET Core 6.0 + EF Core 6.0 for backend web development?
I'm mostly a Go developer, but recently helped a friend with some .NET core work. .NET WebApis are suprisingly easy. I don't care much for EF framework, but for simple web apps I could live with it. Dapper is always an option. WebApis give you swagger for free, routing via attributes is simple and dependency injection is built-in. It was easy to just focus on business logic. The dotnet CLI utility was good too. You don't need Visual Studio or Rider anymore. I didn't like WebApi projects not returning a standard payload. I prefer to send the same payloads structure, something like "struct { Code int, Error string, Data any}" regardless if the error is in middleware, server error, or logic error. Very hard to do in .NET. WebAPI sometimes sends a 500 error, sometimes plain text, other times a JSON response. I wouldn't even try to persuade you to move to Go. .NET Core is good. Go still wins out on simplicity. If you like the minimal APIs in .NET 6 Core, then that is what Go excels at. Go is better for smaller, lighter cross platform utilities. Go wins out on serverless too. You're not going to gain some magical productivity potion moving to Go. It's six, 1/2 a dozen of the other. More on reddit.com
🌐 r/golang
15
15
June 23, 2022
Equivalent for ASP.NET Core?
I used .net core for about 3 years, last year switched to go a never looked back. Programming services, web services, database connectors and few web servers (go+html+css+js). 90% is basic go. 10% goes for 3rd party libs: gorm v2 for orm kardianos for service management (working the same under unix, mac and windows) julian schmidt httprouter for web some minor libs... Codebase is 50% the size it was in c# (and 30% it was originally in java). Binaries are small 3-5MB (and yes, using UPX) and readability improved a LOT. You can check some code here: https://github.com/petrjahoda/system (see links to github under every one service). System is made to run in docker environment, demo here (sorry, no description, work in progress, but if familiar with docker, just run docker-compose up -d): https://github.com/petrjahoda/system/tree/master/demo As for ASP.NET.Core I simply write everything from scratch using julian schmidt httprouter(validation, authorization, routing, servert side rendering...) as web server and gorm as database orm, simple example here: https://github.com/petrjahoda/display_webservice/blob/master/main.go Addition: using goland for coding, as was using idea for java and rider for c# before, so goland came native to me :-). More on reddit.com
🌐 r/golang
24
3
August 30, 2020
People also ask

Which framework, .NET Core or Go, is better for building high-performance applications?
Both .NET Core and Go have their strengths when it comes to building high-performance applications. The choice depends on various factors such as the nature of the project, development preferences, and specific requirements. It is recommended to analyze the language features, performance benchmarks, and ecosystem support to make an informed decision.
🌐
zenkins.com
zenkins.com › home › blog › insights › .net core vs. go for supercharged applications: speed demons
.NET Core Vs. Go For Supercharged Applications: Speed Demons | Zenkins
Can I achieve comparable performance with both .NET Core and Go?
Yes, both .NET Core and Go offer excellent performance capabilities. However, the specific performance results may vary depending on the nature of the application and the implementation. It is crucial to conduct performance testing and optimization techniques to achieve the best possible performance with either framework.
🌐
zenkins.com
zenkins.com › home › blog › insights › .net core vs. go for supercharged applications: speed demons
.NET Core Vs. Go For Supercharged Applications: Speed Demons | Zenkins
Can I use both .NET Core and Go together in a single application?
While it is possible to use both .NET Core and Go together in a single application, it may introduce complexity and potential integration challenges. It is generally recommended to choose one framework that best fits the project requirements to maintain simplicity and consistency in the development process.
🌐
zenkins.com
zenkins.com › home › blog › insights › .net core vs. go for supercharged applications: speed demons
.NET Core Vs. Go For Supercharged Applications: Speed Demons | Zenkins
🌐
Flexiple
flexiple.com › compare › dot-net-vs-go
.NET vs Go - A Detailed Comparison | Flexiple - Flexiple
Limited libraries: Compared to other programming languages like Java and Python, Golang has a limited set of libraries and tools, which can make it more challenging to find the right tool for a specific task. Help your team focus on what they were hired for. Flexiple will manage your entire hiring process and scale your tech team.Hire Talent ... Cross-platform: .NET Core runtime is a platform that allows developers to create fast and efficient applications that can run on different operating systems, like Windows, macOS, and Linux.
🌐
Reddit
reddit.com › r/golang › when is .net more performant than go?
When is .NET more performant than Go? : r/golang
October 20, 2024 - Golang is pretty mediocre. It has ok code gen, but not great. The performance aspect of design is pretty good (e.g. structs are inlined), but it is also pretty limited for perfomance-wise goodies. ... Yeah, no, the benchmark for .NET is a manipulation: https://dusted.codes/how-fast-is-really-aspnet-core And Java in particular beats .NET hands down in that benchmark.
🌐
Medium
artemasemenov.medium.com › how-does-golang-compare-to-asp-net-core-1241641a4c30
How does Golang compare to ASP.NET Core | by Artem A. Semenov | Medium
June 15, 2023 - Google: Google uses Golang extensively for various internal systems due to its efficient handling of concurrency and its suitability for network services. Kubernetes, a popular open-source container orchestration system, is primarily written in Golang. Dropbox: Initially developed in Python, Dropbox switched its critical components to Golang, citing the need for a language with better support for multi-core processing and network I/O.
🌐
Google Groups
groups.google.com › g › golang-nuts › c › _6K8SpMFsTM
.net core vs go
Since the announcement of .net core the benefits of golang are not that strong anymore since .net core does cross compile, concurrency is really nice (async-await) and they get channels too(see CoreFX Labs), there will be a way to generate on native binary with .net native (this i have to check out better), kestrel (the web server based on libuv) does shows very nice benchmarks and will be posted at some point to https://www.techempower.com/benchmarks/, F# will be available for .net core too, MVC is there and off course you can be right away productive with your previous knowledge.
🌐
Medium
medium.com › @nicumaxian › why-i-love-golang-but-use-net-core-7cc42d5fd08d
Why I love Golang but use .NET Core | by Nicu Maxian | Medium
August 4, 2020 - I would recommend Golang when you have a relatively small project/tool and have constraints on the performance and resources used. For developing microservices, Golang is a perfect choice. I would choose .NET Core for bigger applications as it becomes more readable when the project scales.
Find elsewhere
🌐
HackerNoon
hackernoon.com › go-vs-net-core-in-terms-of-http-performance-7535a61b67b8
Go vs .NET Core in terms of HTTP performance | HackerNoon
August 19, 2017 - programming#aspnet#iris-web-framework#benchmark#golang#web-development · Arweave · ViewBlock · Terminal · Lite · 4uref · Linuxstory · Ninecrows · Cnblogs · Linuxcat · Dirkhornstra · Imooc · Linuxjoy · Frytea · Gianthard · Danylkoweb · Linuxidc · Cloud66 ·
🌐
Zenkins
zenkins.com › home › blog › insights › .net core vs. go for supercharged applications: speed demons
.NET Core Vs. Go For Supercharged Applications: Speed Demons | Zenkins
March 16, 2025 - The results of our benchmark tests revealed that .NET Core and Go both performed admirably in terms of speed and efficiency. However, Go demonstrated stronger performance when dealing with high-concurrency scenarios and heavy workloads, thanks ...
🌐
Rishi Daftary
rishidaftary.com › posts › golang-vs-dotnet9-benchmark
Http Performance: Go vs .Net 9 | Rishi Daftary
January 17, 2025 - With the recent release of .NET 9, I was eager to explore how it compares to GoLang in terms of performance. As a longtime .NET core enthusiast, I’ve always believed that .NET core holds an edge over GoLang. Today, we’ll explore key metrics like requests per second, latency, and data transfer rates to understand how each framework performs under similar conditions.
🌐
Medium
medium.com › hackernoon › go-vs-net-core-in-terms-of-http-performance-7535a61b67b8
Go vs .NET Core in terms of HTTP performance | by Gerasimos Maropoulos | HackerNoon.com | Medium
August 18, 2022 - As we already mentioned, we will compare two identical things here, in terms of application, the expected response and the stability of their run times, so we will not try to put more things in the game like JSON or XMLencoders and decoders, just a simple text message. To achieve a fair comparison we will use the MVC architecture pattern on both sides, Go and .NET Core. Go (or Golang): is a rapidly growing open source programming language designed for building simple, fast, and reliable software.
🌐
Reddit
reddit.com › r/csharp › .net core vs. golang server costs?
r/csharp on Reddit: .NET Core vs. Golang server costs?
September 26, 2023 -

I often hear that Golang is such a fast language that server costs strive for zero. I was especially stunned when saw Ben Davis's GoLang Review video, where he stated that server costs for his new startup with 'tens of thousands users' (source: https://youtu.be/kUoPdQwyABA?si=d8aCXjTOY4B42uEi&t=204) VIDEO LINK WITH TIMESTAMP WHERE HE SHOWS HIS CLOUD PROVIDER DASHBOARD, NOT PROMOTING ANYONE barely exceed 3 dollars. I did really like that because I am planning on building an app to try my skills and I would very appreciate it if server costs would not exceed a couple of dollars. That sounds like a miracle, but I guess that's why Golang is so popular.

So, my question for the .NET community is - how much worse would be my server billing if I choose .NET Core? I am planning on building an application using htmx + razor pages as a template engine, just because I found it interesting to play with htmx and I do not know javascript and do not really want to. In Golang that would probably be core html/template package?

Keep in mind please that I am living in one of the poorest countries in Europe and even a couple of dollars matter, especially when your project is non-profit.

🌐
Reddit
reddit.com › r/golang › how does golang compare to asp.net core 6.0 + ef core 6.0 for backend web development?
r/golang on Reddit: How does Golang compare to ASP.NET Core 6.0 + EF Core 6.0 for backend web development?
June 23, 2022 -

I've been learning C# 10 and the .NET 6 ecosystem, however I feel that despite the large effort to minimize the "framework", an application made with pure .NET BCL (even without ASP.NET Core) is somewhat bloated, slow and hard to configure. C#10 has a lot of new modern features for coding yet still preserve old features from 5 years ago for the sake of backwards compatibility, resulting in a somewhat bloated language that has 10 ways of doing the same thing without being clear which one is the most optimal way.

This is my first impression after learning C# 10 and the .NET 6 BCL for a week, I haven't even gotten to ASP.NET Core yet, but with what I am learning now, I have a feeling that learning this humungous platform will take me years to have enough experience and knowledge for an entry level job as a backend .NET engineer.

Looking at jobs in my local area, Golang seems to also be used a lot for backend development. But it lacks the maturity that ASP.NET Core 6.0 has, the "framework" has a lot of integrated features that are coherent with one another and reduces a lot of the headache that comes with developing backend compared to other frameworks like Node.js. That's the general consensus I got from the community.

What are your thoughts on it? How does ASP.NET Core 6.0 compare to Golang for backend framework? Does Golang have an ORM like .NET has for Entity Framework? I'm absolutely frustrated by the convoluted monster that is .NET, but not sure if I should drop everything that I've learned so far and switch to a completely new language or if I should stick with .NET because I have already been learning it for some time.

EDIT: I should clarify in this post context, I'm not just referring to "GoLang", but rather the GoLang's ecosystem and popular backend framework used in Go. It's not clear to me which backend framework is used in Go, the community seems to be split on this. But on the C# side, there's really only one framework for backend development (ASP.NET Core). It's more easier to refer to ASP.NET Core specifically than it is to refer to C#.

Top answer
1 of 6
14
I'm mostly a Go developer, but recently helped a friend with some .NET core work. .NET WebApis are suprisingly easy. I don't care much for EF framework, but for simple web apps I could live with it. Dapper is always an option. WebApis give you swagger for free, routing via attributes is simple and dependency injection is built-in. It was easy to just focus on business logic. The dotnet CLI utility was good too. You don't need Visual Studio or Rider anymore. I didn't like WebApi projects not returning a standard payload. I prefer to send the same payloads structure, something like "struct { Code int, Error string, Data any}" regardless if the error is in middleware, server error, or logic error. Very hard to do in .NET. WebAPI sometimes sends a 500 error, sometimes plain text, other times a JSON response. I wouldn't even try to persuade you to move to Go. .NET Core is good. Go still wins out on simplicity. If you like the minimal APIs in .NET 6 Core, then that is what Go excels at. Go is better for smaller, lighter cross platform utilities. Go wins out on serverless too. You're not going to gain some magical productivity potion moving to Go. It's six, 1/2 a dozen of the other.
2 of 6
9
You certainly don't need to drop everything or switch. Learning new languages and other ways to solve problem is beneficial for developers. I started my career in .NET when it launched back in 2001. You're asking how's Go vs. .NET, it's simpler. I've seen junior developers fight to grasp all the concepts and "frameworks" that .NET offers. Of course once you've learned enough you're good. But Go's simplicity enables junior developers to be comfortable writing code 10x faster with Go. Like you're saying, it's a different way of thinking how to build your backend server. Go is simpler, it's recommended to go bottom-up, meaning starting with the standard library, forget about "frameworks" and learn what's HTTP request/response are all about. Than you'll have a much clearer idea of IF and WHAT you'd want as library or framework for your web application. Some people says it's faster to use framework, I don't agree. The amount of time you're reading framework's documentation and trying to work around things that they did. It's a huge cognitive investment frameworks are requiring. And .NET is at the other side of the spectrum. Yes you can do `dotnet new` and start from a template. But it takes time to learn this, you obviously don't need to know it all, but the amount of knowledge required on day 1 is bigger than Go's. As for EF, it's good, but again, learning to use SQL in my opinion is a much interesting skills than knowing how to build query with a proprietary DSL. Go's database access code is verbose and when coming from LINQ-styled query it can be a tad dirty. Again, it goes with are you looking at abstraction that hides the truth or you'd prefer to be more in control of what's going on with your program. I'm not implying one is better than the other, it's just a choice and sometimes one makes sense, other time it's the other way. That's the beauty of learning different stacks and languages. Bottom line, don't put an X on what you've learned. Continue to learn what interest you, if it's Go, go ahead. Regarding job applications anyway, a programmer with multiple languages that can speak fluently of them in an interview is still highly valuable. Good luck with your learning.
🌐
Bytegoblin
bytegoblin.io › blog › how-does-golang-compare-to-asp-net-core
How Does Golang Compare To Asp Net Core | ByteGoblin.io
Choosing between them falls squarely on the needs of the project and the team’s familiarity with the language and ecosystem. For high concurrency and system programming tasks, Golang might be the better bet. On the other hand, if you’re developing a feature-rich web application and prefer ...
🌐
Reddit
reddit.com › r › golang › comments › b5wu9w › starting_new_project_should_i_use_golang_or
r/golang - Starting new project, should I use golang or dotnetcore?
March 28, 2019 - .NET Core supports standalone builds. They are not a single file like Go builds are, but they work. 1 · Reply · ShareReportSaveFollow · Continue this thread · level 1 · · 3 yr. ago · I’m sure you would enjoy either option. This question lacks the context necessary to guide you in any particular direction. Perhaps you could add some so that people can provide more directed guidance? Welcome! 9 · Reply · ShareReportSaveFollow · r/golang ·
🌐
GitHub
github.com › juniormayhe › go-vs-netcore
GitHub - juniormayhe/go-vs-netcore: HTTP benchmark of reading mysql data with go and netcore
Here a quick performance test using bombardier to evaluate requests per second, latency and throughput of go (with gin) and netcore.
Author   juniormayhe
🌐
StackShare
stackshare.io › stackups › dot-net-vs-golang
Golang vs .NET | What are the differences? | StackShare
Golang - Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection.
🌐
Reddit
reddit.com › r/golang › equivalent for asp.net core?
r/golang on Reddit: Equivalent for ASP.NET Core?
August 30, 2020 -

I'm new to go.

I've been through the tutorials and am comfortable with the language so far. I now want to write a web app (backend api).

But I think using go by itself will be difficult and probably a waste of time.

I typically use C# and ASP.NET Core - in which case there is a difference between the language (c#) and the web framework (asp.net core). ASP.NET does an incredible amount of stuff - config, ioc/di, auth, routing, validation, db work using an ORM, server-side rendering (if you want it), etc.

Is there an ASP.NET Core equivalent in the go world?

I found dozens of options, but can't tell which is the most stable and heavily used by the go community.

🌐
Quora
quora.com › Which-has-a-better-performance-NET-Core-3-1-or-GO
Which has a better performance, .NET Core 3.1 or GO? - Quora
Answer (1 of 2): In short, .NET is generally faster but Go is much more memory efficient. Performance test results are loaded, to say the least. Based on the architectural decisions and tradeoffs made in the underlying runtime of any language, ...
🌐
Slant
slant.co › versus › 115 › 126 › ~c_vs_go
Slant - C# vs Go detailed comparison as of 2026
Golang does weirdness with const versus having real enums, like other languages. This reflects the stubbornness and shortsightedness of the core developers, similar to the issue with generics, where it was denied that it was needed until it became too obvious that it should have been added years ago.