I use Async CTP and wrote WCF service operation code like this.
public async Task<string> GetDetailsfromDatabase(string name) { return await Task.Factory.StartNew(() => { return CallDatabaseandGetDetails(name); }); }
The StartNew call uses a thread-stream stream to navigate and retrieve data from the database. Is the thread blocked while db is running or is the I / O completion thread used?
source share