3
Answers

ASP.NET WebAPI WCF REST services async operations

Hello All.......

I am new in Asp.Net Web development..........

I am assigned a project which is using WCF REST architecture, it is WEBAPI, Service, the methods of which are called in mobile apps(android, ios). Most of the methods uses async to perform database operations.
I am not able to understand when to use async and when not.
 
Can anybody help me/suggest me links to get familier with WCF RESTful WebAPI Services & most importantly async based operations(C#)?

Thanks in advance.

- Regards
 
Answers (3)
1
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Firstly go through below link how to implement WCF REST services:
 
http://www.codeproject.com/Articles/571813/A-Beginners-Tutorial-on-Creating-WCF-REST-Services 
 
Secondly go through to implement async and await:
 
http://blog.stephencleary.com/2012/08/async-wcf-today-and-tomorrow.html
 
Accepted
1
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Both WCF Rest and WebAPI are different style but they follow only REST style. So which one will you work?
0
MSWeb Developer

MSWeb Developer

NA 61 16.5k 9y
I am assigned WCF REST project.