-1

I want to create a RestFull service. In c# .Net in Visual studio 2012 framework 4.5

Do I need to create a web api for this?

Or can I create a project with .svc file and manage this?(I dont remeber what sort of project is this)

Which is the best way

Kuttan Sujith
  • 7,889
  • 18
  • 64
  • 95

2 Answers2

0

Unfortunately, There is no answer that one is better than the other. Fortunately, there is a fairly straightforward way of determining which framework to use when building a new web service. My general rule of thumb is: If it's an internal/intranet web service, use WCF; if it's an external/internet web service, use Web API.

To prevent creating a whole Web API for this the best way would be creating a project with .svc file and manage it. Easier , faster and "safer"!

dtmnn
  • 233
  • 1
  • 2
  • 16
-1

Without doubt wCF for internal and rest for external facing

Glenn Hinks
  • 228
  • 1
  • 3
  • 8