Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RESTful API Server in C#

Tags:

rest

c#

api

Are there any frameworks that allow a RESTful API Server to be written in C#?

I have seen MVC 4, however this seems to be providing a view that you can see in the browser, I just require the API server and no view. It would be great if it was able to provide a streaming API too.

Thanks

like image 752
BytesGuy Avatar asked May 25 '13 12:05

BytesGuy


People also ask

What is REST API C?

Representational State Transfer (REST) is an architectural style that defines a set of constraints to be used for creating web services. REST API is a way of accessing web services in a simple and flexible way without having any processing.

Can you use API with C?

The object libraries for the API are available for use with the Microsoft C/C++ compiler. When the API is initialized you must specify a Zetafax username.

What is a server in REST API?

A REST API cannot be used without a Rest Server . The server is the application that accepts requests to the API and facilitates responses from the API . The REST API client will send a GET request to the REST Server for customer.com/api/1234 .

Can we build API using C++?

Normally yes. Generally: If source is to be available, use header only (if templates) or h +cpp.


1 Answers

If you are using .NET Framework 4.5 you can use Web API

If you are using .NET Framework 3.5 I highly recommend ServiceStack

If you are using .NET Core then you can use ASP.NET Core Web API

like image 87
Ahmed Magdy Avatar answered Oct 11 '22 01:10

Ahmed Magdy