Building a C# Web API - REST

后端 未结 5 1408
醉酒成梦
醉酒成梦 2021-02-06 08:01

I am about to start a project in C#. I\'ve never used c# and I was hoping I could get some implementation advice before I make a silly mistake and go down the wrong path.

5条回答
  •  不思量自难忘°
    2021-02-06 08:46

    If you think WCF might be overkill you could implement a simple ASP.NET MVC application that returns data as JSON or XML.

    http://omaralzabir.com/create_rest_api_using_asp_net_mvc_that_speaks_both_json_and_plain_xml/

    update: Another excellent option is ServiceStack. I've used it and it's really nice to work with.

提交回复
热议问题