I am facing a problem while fetching SQL Server data using ASP.NET Core with Dapper method.
I have a views with 3 varbinary(max) columns with 800 records, which executes under 2 seconds in SSMS.
But in .NET Core, it is taking around 1 minute to return the result.
Please see Dapper data access methods I tried below.
Method 1:
var data = await connection.QueryMultipleAsync(command);
Method 2:
var data = await connection.QueryAsync<ModelName>(command);
Can anyone help me to solve the issue?
Which is the fastest Dapper method to fetch varbinary(max) data with same time as in SSMS?