Missing CloudTable.Execute (and all non-async methods) in ASP.Net 5 Projects

非 Y 不嫁゛ 提交于 2019-12-02 05:53:57

问题


Using Microsoft Visual Studio 2015 RC, if I create a new "ASP.Net Web Application", and go to NuGet and add a reference to the latest version of Azure Storage (Install-Package WindowsAzure.Storage -Pre), in the CloudTable class, all I see are the *Async methods:

However, if I create a new Console Application or Class Library (normal class library and console application, not a "Package" one) then I see all the methods as I expect:

And it isn't just intellisense, the methods seem to actually be missing. If I go out to the package in windows explorer I see separate folders for dnx451, dnxcore50, and net40. Only the net40 library contains those methods (using JetBrains dotPeek to look).

Why would these methods be missing in the "dnx" versions of the code?


回答1:


This library is in preview. The plan is to support synchronous methods but for now you can use Task.Wait for synchronous calls.



来源:https://stackoverflow.com/questions/30673266/missing-cloudtable-execute-and-all-non-async-methods-in-asp-net-5-projects

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!