2
¿Por qué debería crear operaciones asíncronas de WebAPI en lugar de sincronizar?
Tengo la siguiente operación en una API web que creé: // GET api/<controller> [HttpGet] [Route("pharmacies/{pharmacyId}/page/{page}/{filter?}")] public CartTotalsDTO GetProductsWithHistory(Guid pharmacyId, int page, string filter = null ,[FromUri] bool refresh = false) { return delegateHelper.GetProductsWithHistory(CustomerContext.Current.GetContactById(pharmacyId), refresh); } La llamada a este servicio web se realiza a través de una llamada Jquery Ajax …