I\'ve created two identical web api projects, one in VS 2012 and another in VS 2013, both targeting the 4.5 .net framework. The projects are based on Filip W\'s video download t
As sujjested by RaghuRam Nadiminti, by changing the WriteToStream's return type from void to Task, compilation will run successfully and you won't need the explicit casting.
public async Task WriteToStream(Stream outputStream, HttpContent content, TransportContext context);