June, 2013

  • Windows Azure培训包(WATK) 2013年5月版(May 2013)已经发布

     

    Windows Azure Training Kit发布了最新的2013年5月版:

    http://www.microsoft.com/en-us/download/details.aspx?id=8396

    http://www.windowsazure.com/en-us/

    http://windowsazure.cn/zh-cn/?l=zh-cn

    特别值得提醒的是最后一个链接,它指向的是Windows Azure的简体中文网站,因为由世纪互联运营的微软 Windows Azure 公有云平台及服务正式在中国落地,公众预览(www.windowsazure.cn)将于6月6日正式上线。相信会有更多的中国大陆开发者会加入到Windows Azure开发队伍中,而本个培训包将是公众预览发布时最新的WATK版本。

    相比之前的版本,本次版本做了瘦身,下载后发现文件大小为222MB,这样开发者下载起来会比较方便。其中,针对Visual Studio 2010的动手实验部分被拿掉,其实VS2012工具有很多不错的新特性,将工具迁移到VS2012是不错的选择。

    另外一个值得关注的是媒体服务(Media Service),

    clip_image002

    针对Media Service更多的技术资源可见:http://www.windowsazure.com/en-us/downloads/?sdk=net

  • 使用Windows PowerShell来管理和开发windowsazure.cn账户的特别注意事项

     

    6月6日,微软面向中国大陆用户开放了Windows Azure公众预览版的申请界面。大家可以申请免费的 beta 试用,收到内附邀请码的通知邮件后只需输入激活码即可开始免费试用。具体网址为:

    http://windowsazure.cn/zh-cn/pricing/free-trial/

    在实际使用这个账号的时候,发现有一些地方需要特别注意。

    在使用PowerShell工具中,需要下载发布配置文件(PublishSettingProfile),从而获得设置Windows PowerShell环境的变量。具体方法是登录Windows Azure账户的管理门户后,访问下面地址即可获得:https://windows.azure.com/download/publishprofile.aspx

    关于这一操作的说明具体请见:

    http://msdn.microsoft.com/en-us/library/windowsazure/jj554332.aspx

     

    但是在使用Windowsazure.cn的账号的时候,发现无法通过上述方法得到PublishSettingProfile。

    经了解,需要到下述地址来获得:

    https://manage.windowsazure.cn/publishsettings/index

    下载后进行对比,发现两者文件格式上有些差异。

    通过https://windows.azure.com/download/publishprofile.aspx,获得格式样例如下:

    <?xml version="1.0" encoding="utf-8"?>

        <PublishData>

            <PublishProfile

                    PublishMethod="AzureServiceManagementAPI"

                    Url="https://management.core.windows.net/"

                    ManagementCertificate="{Subscription’s management certificate}” <Subscription

                    Id="{Subscription’s ID} "

                    Name="{Subscription’s Name} " />

           </PublishProfile>

    </PublishData>

    而在https://manage.windowsazure.cn/publishsettings/index下载的文件格式为:

    <?xml version="1.0" encoding="utf-8"?>

            <PublishData>

                <PublishProfile

                         SchemaVersion="2.0"

                         PublishMethod="AzureServiceManagementAPI">

                         <Subscription

                                    ServiceManagementUrl="https://management.core.chinacloudapi.cn"

                                    Id="{Subscription’s ID}"

                                    Name="{Subscription’s Name} "

                                    ManagementCertificate="{Subscription’s management certificate}" />

            </PublishProfile>

    </PublishData>

    同时,建议访问https://github.com/WindowsAzure/azure-sdk-tools,获取最新的Windows Azure Powershell,这样在使用命令行Import-AzurePublishSettingsFile的时候,不易发生错误。