asp.net web api - WebAPI or WCF with svc file -


this question has answer here:

i want create restfull service. in c# .net in visual studio 2012 framework 4.5

do need create web api this?

or can create project .svc file , manage this?(i dont remeber sort of project this)

which best way

unfortunately, there no answer 1 better other. fortunately, there straightforward way of determining framework use when building new web service. general rule of thumb is: if it's internal/intranet web service, use wcf; if it's external/internet web service, use web api.

to prevent creating whole web api best way creating project .svc file , manage it. easier , faster , "safer"!


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

c# - Retrieve google contact -

javascript - How to insert selected radio button value into table cell -