Web technologies comparison between Nuxt.js and ASP.NET
Huynh, Thao (2024)
Huynh, Thao
2024
Master's Programme in Computing Sciences
Informaatioteknologian ja viestinnän tiedekunta - Faculty of Information Technology and Communication Sciences
This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Hyväksymispäivämäärä
2024-05-17
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:tuni-202404234242
https://urn.fi/URN:NBN:fi:tuni-202404234242
Tiivistelmä
Web technology is increasingly developing and optimizing with various new frameworks. Choosing web technology is suitable for the company's project and platform plays a key role in allocating money and human resources economically for the company while avoiding difficulties when scaling up the system. This thesis presents a comparison between two popular full-stack web frameworks, Nuxt.js and ASP.NET, focusing on their performance, features, and developer experience. Nuxt.js is a JavaScript framework based on Vue.js, predominantly used for building server-side rendered websites. ASP.NET, on the other hand, is a full-stack web frame-work developed by Microsoft, offering a wide range of tools and features for building robust and scalable web applications. The benchmark tests reveal that the ASP.NET application out-performs the Nuxt.js application in terms of loading, scripting, rendering, painting, and system times, as well as first contentful paint, largest contentful paint, and speed index. However, the generated code for the ASP.NET application is larger. Nuxt.js is more cost-effective for smaller projects, while ASP.NET is suitable for enterprise-level applications. The choice between Nuxt.js and ASP.NET depends on the team's skillset and project requirements. Nuxt.js offers a familiar syntax and component-based development, while ASP.NET provides stability and extensive documentation with its mature C# language. Error handling and security also differ between the two frameworks, with Nuxt.js focusing on client-side handling and requiring more attention to detail in security implementation, while ASP.NET emphasizes server-side error handling and provides a more robust security foundation. For the community support, Nuxt.js having an active open-source community and ASP.NET being backed by Microsoft with a more ex-tensive resources and support. In conclusion, both Nuxt.js and ASP.NET can meet the demands of most projects and are suitable for different scales of projects. Nuxt.js is more agile and flexible for smaller projects, while ASP.NET's structure and tooling can handle larger, enterprise-level applications. In terms of control level, Nuxt.js offers more flexibility and customization, while ASP.NET provides a structured framework with built-in features. About performance, ASP.NET provides better performance than Nuxt.js. However, the selection between the two frameworks relies on the precise needs of the project and the team's expertise