本篇文章將示範如何建立一個 Web Cloud Service 應用程式並部署到 Azure Service Developer Portal 上。

 

1. 開啟 Visual Studio,新增專案,選擇 Web Cloud Service 的範本。(這些範本需安裝 Azure Tool for VS 才會出現)

image

 

2. 在方案總管中即可看到自動建立的兩個專案。

    下方的專案(HelloCloud_WebRole)為一個 ASP.NET 的應用程式,

    上方的專案(HelloCloud)為其設定檔,如何:動態設定使用幾台 Web Server 跑這個應用程式

image

 

3. 簡單加入『台灣您好』及網頁的 Title

image

 

4. 在專案按下右鍵,選擇『Publish』,即會開啟 Azure Service Portal 及部署檔案的位置

image

 

image

5. 依照步驟建立新的 Project,指定部署的位置,再啟動這個應用程式。

image

 

6. 執行結果

image

 

使用心得:

1. 開發人員原有的技術仍可使用:就像開發一般 ASP.NET 的應用程式一樣。

2. 部署簡單:與 Visual Studio 整合,讓部署上很方便且直覺。

3. 在不透過伺服器管理員下,動態變更這個服務(Service)的相關設定。

 

 

筆者使用的環境界:Windows 7 Beta + VS 2008 SP1 + Azure SDK(Jan 2009) + Azure Tool for VS(Jan 2009)

Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()

2009 年 1 月份的 Azure SDK 已經可以下載囉!

http://www.microsoft.com/downloads/details.aspx?FamilyID=80e3eabf-0507-4560-aeb6-d31e9a70a0a6&DisplayLang=en

 

Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()

2009 年1 月份的新版工具已經可以下載囉,網址如下:

http://www.microsoft.com/downloads/details.aspx?FamilyID=8e90b639-1ef0-4e21-bb73-fc22662911bc&displaylang=en

 

New for the January 2009 CTP:

  • Addressed top customer bugs.
  • Resolved hang and performance issues on run and debug.
  • Fixed issue with "Publish" of large projects.
  • Added support to debug Silverlight in a Web Role.
  • Better storage services integration
  • Error messages when there are Service Configuration or Service Definition errors

Windows Azure Tools for Microsoft Visual Studio includes:
  • C# and VB Project templates for building Cloud Services
  • Integration with the Development Fabric and Development Storage services
  • Debugging Cloud Service Roles running in the Development Fabric
  • Building and packaging of Cloud Service Packages
  • Browsing to the Azure Services Developer Portal
  • Role configuration
  • SSL Certificate selection

Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()

今天早上收到新版的 Azure Service Platform 的 Token。想與大家分享一下如何註冊及使用。

 

1. 要先有一組 Windows Live ID。

 

2. 透過 Microsoft Connect 來 註冊服務

 

3. 隔一段時間後,收到來自 Azure Services Platform Team 的回信,如下:

image

 

4. 到 http://lx.azure.microsoft.com/fs,將 Token 輸入,接著即會立即啟用相關的服務

image

 

5. 可以從 Summary 的頁面,按『New Project』,即可看到可以使用的服務了。

image 

若對該服務沒有使用權限,它即會呈現灰色,並無法點選。

 

原本筆者也是全部都可以使用的,但自己手XD,亂按,讓 Live Framework 又灰掉了。XD

 

Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()

下載位置如下:

Microsoft Windows 7 SDK: BETA

 

@Windows 7 Beta + Windows Live Writer

anISV 發表在 痞客邦 留言(0) 人氣()

在 Windows 7 中,應用程式上方的功能列,都已使用像 Office 2007 的樣子,我們叫它做『Ribbon』

如 Windows 7 的筆記本 :

image

Windows 7 的 WordPad

image

 

如何開發 Windows Ribbon,目前有範例程式可以參考,下載位置放:

http://www.microsoft.com/downloads/details.aspx?FamilyID=141e13e8-b10b-4356-aaa5-609b2981574a&DisplayLang=en

 

圖片取自 Windows 7 Beta 版。Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()

Windows® Azure 是一套雲端服務作業系統。作為 Azure 服務平台的開發、服務代管及服務管理環境。

 

Windows Azure 降低打造可靠及彈性的 web 應用程式門檻,基於它是架構及運作在大家所熟悉的微軟技術上。Windows Azure 完全支援微軟的 web 技術,如 ASP.NET、IIS 及 Visual Studio® 2008,這使開發人員能夠立即使用現有技能,有效率地建立、測試、部署、管理及 web 服務,藉此來創造商機。Windows Azure 支援主流的標準與通訊協定,包括 SOAP、REST 及 XML。微軟歡迎 Eclipse、Ruby、PHP 與 Python 第三方工具及語言能夠加入 Windows Azure 行列。讓您可以專注於應用程式商業邏輯,而不必擔心運作上的限制或是技術綁定。

 

藉由 Windows Azure 內 Fabric Controller 控制管理技術,可視需求來即時動態增加及減少應用程式所需的運算量。內建的管理服務提供監視及追蹤能力,使您能夠專注線上打造及派送服務及應用程式。

 

image

 

使用 Windows Azure 來:

  • 將雲端 Web 服務能力加入到既有的套裝應用程式
  • 只需極少的公司內部資源,便可建置、修改及散佈應用程式至 Web
  • 在非公司內部執行服務 (大量儲存、批次處理、大量運算等)
  • 快速又經濟地建立、測試、除錯及散佈 Web 服務
  • 降低建置及擴充公司內部資源的費用
  • 減少 IT 管理的投入與成本

 

所有資料皆取自 Azure 服務平台 中文版網站正式上線

 

Hope this helps.

anISV 發表在 痞客邦 留言(0) 人氣()

 

中文資訊的部份,可以由 MSDN 中文的首頁,網址如下:

http://msdn.microsoft.com/zh-tw/default.aspx

 

在左方的選單中,點選『Windows Azure(雲端運算)』

image

 

即會看到 Azure 服務平台的首頁,如下:

image

 

資訊相當豐富,很多的資訊已翻譯為中文的。

 

Enjoy.

anISV 發表在 痞客邦 留言(0) 人氣()