Restful API - handling large amounts of data

后端 未结 3 1796
慢半拍i
慢半拍i 2020-12-14 07:40

I have written my own Restful API and am wondering about the best way to deal with large amounts of records returned from the API.

For example, if I use GET<

3条回答
  •  隐瞒了意图╮
    2020-12-14 08:35

    if you are using .net core you have to try this magic package

    Microsoft.AspNetCore.ResponseCompression

    then use this line in configureservices in startup file

    services.AddResponseCompression();

    then in configure function

    app.UseResponseCompression();

提交回复
热议问题