John

John

  • NA
  • 928
  • 131k

Return huge text file or byte array thru web API

Aug 13 2019 2:25 AM
Hi, 
I have a huge data around 60000 to return from a web api to my controller thru WebClient.
So,  I thought of returning byte array or returning a file but the problem with this is I want it in this Async process.
For byte array the size comes to 167520000 so its difficult to send the data from apicontoller to web app controller.
Any suggestion  on what should i use exactly.
I know passing dis huge data is not worthy but still i want some solution of this. 

Answers (1)