When comparing Adonisjs vs ASP.NET Core, the Slant community recommends ASP.NET Core for most people. In the question“What are the best web frameworks to create a web REST API?” ASP.NET Core is ranked 9th while Adonisjs is ranked 15th. The most important reason people chose ASP.NET Core is:
Thanks to breakthroughs in ROSLYN compiler and the efforts of the .NET COre developer team, code written in C# can reach speeds just a step behind C++.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Based on Laravel PHP Framework
If you are already programming in PHP with Laravel, you will have no trouble starting development with Node using Adonis.
Pro Similar to Rails
Pro Built-in modules for everything
There are built-in modules for everything: Auth, Social Auth, mailing ect
Pro Has websocket support out of the box
Pro Easy to learn, especially if you're already familiar with Laravel
Pro Very good documentation
Pro Option for full-stack or api standalone implementation
You can choose to use the full-stack version or if you wish to build a RESTful API you can choose to use the api standalone version.
Pro Fast and getting faster
Thanks to breakthroughs in ROSLYN compiler and the efforts of the .NET COre developer team, code written in C# can reach speeds just a step behind C++.
Pro Multi platform
Can run on Windows, Linux and Mac (also Visual Studio Code editor).
Pro JSON optimization
In .NET Core 2.1 and 3.0, new APIs are added that make it possible to write JSON APIs that require less memory, using Span<T> and UTF8 strings, and improve throughput of applications like Kestrel, ASP.NET Core web server. See also Utf8JsonReader.
Pro Tutorials and documentation quality
Both microsoft and 3rd party tutorials are mostly of high quality and encourage you to use the industry best-practices.
Pro Built-in middleware
Built-in middleware featuring: Authentication, Cookie policy, Health Check, MVC, Session etc.
Pro Hosting
Ability to host on IIS, Nginx, Apache, Docker, or self-host in your own process.
Pro Ease of Use
Pro Security
It is a very secure platform.
Pro Tooling
Both VS and VSCode are powerful free IDEs that are well integrated with ASP.net Core. VS Community also allows for commercial use for projects with less than 5 developers.
Cons
Con No NOSQL integration
Only used ORM, not ODM.