title: Api response size is bigger ASP NET Core
body: <p>I am working on application in which I am calling simple API with Parameters which response is 95 MB and it took too much to load the response due its size the query is working perfectly but I really don't know why is the response so heavy. I am attaching my API code and also Postman response size and time.</p>
  <pre><code>[HttpGet(&quot;getsensorsspecifications&quot;)]
          [AllowAnonymous]
          public async Task&lt;IActionResult&gt; GetSensorsSpecifications(int deviceId = 0, int companyId = 0)
          {
              var response = new Response();
              try
              {
                  var model = new SensorSpecificationsViewModel();
  
                  var getSensorsSpecifications = await _context.SensorRecognitionSpecEoi
                      .Include(x =&gt; x.SensorRecognitionSpec)
                      .ThenInclude(x =&gt; x.Device)
                      .Include(x =&gt; x.EoiType)
                      .ThenInclude(x =&gt; x.EoiTypeCategory)
                      .Where(x =&gt; 
                      x.IsDeleted == 0
                      &amp;&amp; x.SensorRecognitionSpec.DeviceId == deviceId
                     // &amp;&amp; x.CompanyId == companyId
                      &amp;&amp; x.SensorRecognitionSpec.IsDeleted == 0
                      &amp;&amp; x.SensorRecognitionSpec.Device.IsDeleted == 0).ToListAsync();
                  var monTypes = await _context.EoiType.Where(x =&gt; x.IsDeleted == 0).ToListAsync();
  
                  if (getSensorsSpecifications?.Count &gt; 0)
                  {
                      model.SensorSpecificationsDetails = getSensorsSpecifications;
                      model.MonitoringTypes = monTypes;
                      response.StatusCode = StatusType.Success;
                      response.Result = model;
                  }
                  else
                  {
                      response.StatusCode = StatusType.NotFound;
                  }
              }
              catch (Exception ex)
              {
                  _logger.LogError(ex.ToString());
                  response.StatusCode = StatusType.ServerError;
  
              }
              // return response;
              return Ok(response);
          }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/dUdZV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dUdZV.png" alt="enter image description here" /></a></p>
  <p>I am binding to list which contain plan data one is like 140 records and the other is 35 records only. Though it contain image URLs only.</p>