I'm going to start a new AngularJS Project blended with Microsoft .NET. Now I'm confused which one should I select, WCF Rest or Web API ?
My Angular App has a Login Module and a Main Application. Only the authenticated user can access the Main Application. In Web API we have to use Token System or Owin Auth, but some blogs are saying its not so secure. So, I am totally confused which should I choose ? which one is efficient and secure ?
WCF Rest
webHttpBindings
. [WebGet]
and [WebInvoke]
attributes respectively. WebGet
needs configuration. The UriTemplate
must be specified Web API
MediaTypeFormatter
into JSON, XML or whatever format you want to add as a MediaTypeFormatter
. Kindly assist me, which one is efficient and secure?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.