Tehničko veleučilište u Zagrebu · Zagreb

Entity framework and dapper in advanced web environments

izvorni znanstveni rad

izvorni znanstveni rad

Entity framework and dapper in advanced web environments

Vrsta prilog sa skupa (u zborniku)
Tip izvorni znanstveni rad
Godina 2025
Nadređena publikacija Mediterranean: Past, Present, Future
Stranice str. 717-732
Status objavljeno

Sažetak

This paper focuses on comparing the performance of two popular data access tools in advanced web environments - Entity Framework and Dapper. The research aimed to assess the performance of these tools in combination with other widely used libraries such as MediatR, FluentValidation, AutoMapper, and a generic repository. Entity Framework, developed by Microsoft, is an object-relational mapping tool that facilitates interaction between application code and a database through an abstraction layer. It enables developers to manipulate data using objects instead of writing complex SQL queries. On the other hand, Dapper is a simpler object mapping tool to a database known for its fast execution and ease of use. Performance measurements of these code patterns will be conducted using Entity Framework and Dapper. By comparing execution times and other relevant metrics, the results revealed differences in speed between these two tools in various scenarios.

Ključne riječi

SQL, .NET, C#, API, Entity Framework, back-end, Dapper, generics, and CRUD