我是Azure的新手,我对它的理解:它是一个在线数据库。
我继承了以下代码:
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
CloudConfigurationManager.GetSetting("StorageConnectionString"));
CloudTableClient tableClient = storageAccount.CreateCloudTableClient();
table = tableClient.GetTableReference(
Convert.ToString(System.Configuration.ConfigurationManager.AppSettings["AzureTable"]));
table.CreateIfNotExists();
现在我感到困惑的是:
1. Where do I log in to see if the table is created (if the value for AzureTable is not created?)
2. I have a MSDN subscription, is this all I need to connect to/use Azure?
谢谢, 安德鲁
答案 0 :(得分:1)
table.CreateIfNotExists
如果表已成功创建,则返回一个布尔值。 MSDN Link
1b中。您可以使用Azure Storage Explorer CodePlex Link等便捷工具查看所有表格以及所有行。
MSDN订阅就是您所需要的,具体取决于级别(溢价,终极等)将决定您在所有Azure服务上花费多少信用;登录后,您可以通过点击门户网站上的绿色“信用状态”按钮来查看此金额和剩余金额。
默认情况下,MSDN帐户有一个支出限额,所以不用担心,它不会从您的卡中扣款,只有您的服务将被暂停,直到下一个结算周期。最近实施了一项更改,如果您关闭了某些服务,则不会产生任何运营成本,并为您节省一些MSDN信用。
答案 1 :(得分:1)
我喜欢AzureXplorer来查看存储内容(blob,表格,队列)。
也许它对你有用。