Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building a REST service with C#

Tags:

rest

c#

.net

How can i build a REST service with C#.net?

Is there any articles I can check?

Google results return C# REST client but I d like to build one.

like image 466
DarthVader Avatar asked Apr 03 '10 16:04

DarthVader


People also ask

Can I use C for API?

C/C++ application programming interfaces (APIs) are used to access IBM® i resources. These APIs are intended primarily for C/C++ programmers. They are also called from other languages that support calling C-style APIs.

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 build a REST API with C++?

The C++ REST SDK is designed and written from the ground up using modern C++. Features include: Support for accessing REST-based services from native code on Windows Vista, Windows 7, Windows 8, Windows Store apps, and Linux by providing asynchronous bindings to HTTP, JSON, XML, URIs, and so on.


1 Answers

You can build this with WCF.

Check out the resources on MSDN for lots of information on the subject. Especially A Developer's Guide to the WCF REST Starter Kit.

like image 193
Mikael Svenson Avatar answered Oct 18 '22 08:10

Mikael Svenson