用于将文件上传到 Blob 存储的 Windows Azure Web 角色
我正在寻找最新的教程或代码示例,展示如何创建一个 Web 角色,其中包含一个字段和按钮,允许用户将文件上传到 Azure Blob 存储。
I'm looking for an up-to-date tutorial or code sample showing how to create a web role which contains a field and button which allows the user to upload a file to Azure Blob Storage.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我会看一下这个演练(http://msdn.microsoft.com/en-us/library/gg651129.aspx),以了解如何完成您所需要的。这是一个控制台示例,但是将其转换为基于 Web 的方法应该很简单。
I would take a look at this walk-through (http://msdn.microsoft.com/en-us/library/gg651129.aspx) to get a feel on how to accomplish what you need. This is a console example, but, it should be trivial to translate it to a web based approach.
查看 Windows Azure 中的第一个实践实验室 平台培训工具包,标题为“Windows Azure 简介”。本实验构建了一个 ASP.NET MVC Guestbook 应用程序,它允许最终用户上传图像(然后将其存储在 Blob 存储中)。
Take a look at the very first hands-on lab in the Windows Azure Platform Training Kit, titled "Introduction to Windows Azure." This lab builds an ASP.NET MVC Guestbook application, which allows the end user to upload an image (which is then stored in Blob storage).