How to achieve high-performance REST API on Azure with .NET?

后端 未结 7 1654
Happy的楠姐
Happy的楠姐 2021-02-07 15:24

We have a .NET Web Role hosted on Windows Azure that only serves a REST API with only a hand few web methods.

API is u

7条回答
  •  迷失自我
    2021-02-07 16:02

    I've had a very pleasant experience with ServiceStack:

    http://www.servicestack.net.

    It's basically your last option; a fairly thin layer on top of HttpHandlers with fast XML and JSON serialization, that exposes a REST API.

    The JSV serialization it also offers is about half the speed of Protobuf.NET I believe, and support for ProtoBuf is planned.

    I don't know for sure if it runs on Azure, but I can't think of a reason why not as it simply integrates into any ASP.NET application.

提交回复
热议问题