How do I convert .net 4.5 Async/Await example back to 4.0

前端 未结 4 985
故里飘歌
故里飘歌 2021-02-07 12:36

What would the equivalent asp.net mvc 4.0 code look like?

using System.Net;
using System.Net.Http;
using System.Web.Mvc;
using System.Threading.Tasks;
using Newt         


        
4条回答
  •  北荒
    北荒 (楼主)
    2021-02-07 12:51

    You can use Async Targeting Pack for Visual Studio 2012 http://www.microsoft.com/en-us/download/details.aspx?id=29576

提交回复
热议问题