SlideShare a Scribd company logo
1 of 23
開發 Windows Azure 雲端應用程式
              小朱 (Windows Azure MVP)
Read ME

 小朱
  Windows Azure MVP (11th MVP awards)
    SQL Server, ASP.NET, Solution Architect, Windows Azure

  技術傳教士、顧門口、研發人員、經理、講師、學生、開發人員、網
   管、作者、譯者、校稿者、...

  MCP: 11 類 50 張 ...
    70% 來自於 beta,30% 來自於小朋友。

  致力於雲端運算技術推廣與微軟技術深耕。
Agenda

 Windows Azure Platform 簡介
 開發 MVC-based Cloud 應用程式
  Cloud Service
  Website
  Storage
  Database

 雲端架構學
 結語
Windows Azure Platform 簡介

 微軟的公有雲解決方案。

 支援簡單到複雜的環境。
  Website

  Cloud Service

  Virtual Machine

 可用度 99% 以上。

 支援多平台的開發應用。
Windows Azure Platform 簡介
資料中心
開發環境

 Windows Vista 以上
  建議 Windows 7 or Windows 8
  必須安裝 IIS 功能,包含 .NET Framework 4.0 與 ASP.NET

 Visual Studio 2010 SP1 以上
  建議 Visual Studio 2012

 SQL Server 2005 以上
  建議 SQL Server 2012
  支援 Express 和 Express LocalDB
開發環境

 自動化安裝
  Web Platform Installer 4.0 Customized Installation

 手動安裝
  Windows Azure SDK 1.7 (June 2012 Refresh)

  依照服務的更新隨時升級。

  文件在 MSDN Library
    或安裝 Visual Studio 2012 Documentation (ISO)
註冊帳戶

 試用帳戶   (https://www.windowsazure.com/zh-tw/pricing/free-trial/)

  90天免費試用期,需要 Microsoft Account (Live ID)。

  需要信用卡,但只會在驗證時扣美金1元,而且不會請款。

  在試用期間如果超過配額,會中斷服務。
註冊帳戶

 正式帳戶
  Pay-as-you-go

  Promotional quotas
    半年期或一年期方案。

    MSDN Offers

    BizSpark Offers

    MPN Offers
Windows Azure APIs
Windows Azure Storage Options
雲端服務類型

 Cloud Service              Website
   雲端專案。                     網站專案。

   Web Role/Worker Role。     Web Role 的更新版。

   每個服務享有獨立 VM。              依模式不同決定是否與他

   適合複雜的環境。                   人共享或專屬的 CPU 資源。

                              適合簡單的環境。
demo

        建立 MVC 4.0 應用程式。

        存取資料庫。

        存取表格儲存。

        發行應用程式到雲端。

        更新應用程式。
demo

        建立 MVC 4.0 應用程式。

        存取資料庫。

        存取表格儲存。

        發行應用程式到雲端。
雲端架構學

 雲端應用程式與本地不同。
  Hosting Only?

  Single instance vs. Multiple instances

  SQL and NoSQL

  Tightly Coupled vs. Loosely Coupled

  Multi-devices

 本地思維 vs. 雲端思維。
雲端架構學

 Cloud-enabled Application
  充分運用雲端資源。
    Computes

    Storages

  能適應 Scalability。

  單一程式多用戶架構。

  支援多重裝置。
StockTrader Sample Solution
       User Interface


                                                      Web Application Layer (UI)

                                                                                                Service
                                                        ASP.NET Web Forms                     Client Class




                              Middle-Tier Business Services Layer (BSL)
                                               Business Service Layer
                                    Business Transactions
 Business Services




                                                                                                Service
                                                                                              Client Class
                                       Core StockTrader
    Middle Tier




                                       Services Classes
                                        Orders Tier




                                                                        Order Processor Service (OPS)
                                                                           Business Transactions
                                                                        Order Processing Service Class
 Data Access




                                                      Data Access Layer (DAL)
                           Market Summary
                                                            Customer Class               Orders Class
                                Class


                                                             Account
                                                                                     Quote Table
                                                              Table
                                                                                                             Holdings
                        SQL Server/                          Account                   Orders                 Table
                                                              Profile                  Table
                         SQL Azure                            Table
StockTrader Sample Solution
   Web Role                            Web Role                       SQL Azure


     Azure                                Azure
  StockTrader                          StockTrader
                                        Business                       Account
 Web Application                                                         DB
                                         Services
                                                       Scale-out
            Scale-out                                  Instances
            Instances


                        Publishing
  RESTful Endpoint
  + Token Service


                                                                      SQL Azure

                                          Azure
                                      StockTrader
                                                                        Quote
                                     Order Processor
                                                                         DB
                                         Service          Scale-out
                                                          Instances
                                     Worker Role
 Polling
結語

 Windows Azure Platform 是很容易使用的公有雲環境。

 多樣化的服務。

 使用既有的開發方式。

 發行與移轉應用程式十分簡單。

 設計雲端應用程式時,架構比技術更重要。
參考資料 (官方)

 Windows Azure Official Site
   http://www.windowsazure.com/

 MSDN Windows Azure Platform Documentation
   https://www.windowsazure.com/en-us/develop/net/reference/
 MSDN 邊做邊學
   http://msdn.microsoft.com/zh-tw/windowsazure/gg456243.aspx

 MSDN Windows Azure 實作手冊
   http://msdn.microsoft.com/zh-tw/jj590639
參考資料 (非官方)

 小朱的技術隨手寫
  http://www.dotblogs.com.tw/regionbbs/category/3312.aspx

 StudyAzure.com 雲端學堂 Facebook
  https://www.facebook.com/studyazure

 Sky Chuang
  http://www.dotblogs.com.tw/skychang/

 Terry Chuang
  http://www.dotblogs.com.tw/terrychuang/
參考資料 (書籍)

 Windows Azure 教戰手札
  第一版在書店與網路都有在賣。
  第二版即將於年底上市。
    Developer Edition: 2012/12
    IT PRO Edition: 2013/1

 原文書
  Programming Windows Azure (O’Reilly)
  SOA with .NET and Windows Azure

More Related Content

Similar to 開發 Windows azure 雲端應用程式

以 .NET RIA Services 打通 Silverlight 分散式開發之任督二脈
以 .NET RIA Services 打通 Silverlight 分散式開發之任督二脈以 .NET RIA Services 打通 Silverlight 分散式開發之任督二脈
以 .NET RIA Services 打通 Silverlight 分散式開發之任督二脈Chui-Wen Chiu
 
大型系统的Java中间件实践q con北京
大型系统的Java中间件实践q con北京大型系统的Java中间件实践q con北京
大型系统的Java中间件实践q con北京vanadies10
 
Eucalyptus安装及实例映像制作
Eucalyptus安装及实例映像制作Eucalyptus安装及实例映像制作
Eucalyptus安装及实例映像制作liangxiao0315
 
建國科大雲端中心成立記者會~與采威國際產學合作~Cafe 企業雲端伺服器演講講義
建國科大雲端中心成立記者會~與采威國際產學合作~Cafe 企業雲端伺服器演講講義建國科大雲端中心成立記者會~與采威國際產學合作~Cafe 企業雲端伺服器演講講義
建國科大雲端中心成立記者會~與采威國際產學合作~Cafe 企業雲端伺服器演講講義采威國際
 
腾讯大讲堂24 qq show2.0重构历程
腾讯大讲堂24 qq show2.0重构历程腾讯大讲堂24 qq show2.0重构历程
腾讯大讲堂24 qq show2.0重构历程George Ang
 
E tom ngoss规范及siebel系统在电信行业的应用 陈永林
E tom ngoss规范及siebel系统在电信行业的应用 陈永林E tom ngoss规范及siebel系统在电信行业的应用 陈永林
E tom ngoss规范及siebel系统在电信行业的应用 陈永林corlin chen
 
Sql2005 reporting services報表設計
Sql2005 reporting services報表設計Sql2005 reporting services報表設計
Sql2005 reporting services報表設計iamhrm
 
淺談雲端運算
淺談雲端運算淺談雲端運算
淺談雲端運算永昇 陳
 
Real World ASP.NET MVC
Real World ASP.NET MVCReal World ASP.NET MVC
Real World ASP.NET MVCjeffz
 
淘宝Java中间件之路 it168
淘宝Java中间件之路 it168淘宝Java中间件之路 it168
淘宝Java中间件之路 it168vanadies10
 
新浪微博大规模基于Docker的混合云应用实践 -王关胜
新浪微博大规模基于Docker的混合云应用实践 -王关胜新浪微博大规模基于Docker的混合云应用实践 -王关胜
新浪微博大规模基于Docker的混合云应用实践 -王关胜Weibo Corporation
 
03.osb概览
03.osb概览03.osb概览
03.osb概览Meng He
 
Teched 2012 60分钟构建私有云
Teched 2012 60分钟构建私有云Teched 2012 60分钟构建私有云
Teched 2012 60分钟构建私有云Cheng Zhang
 
ASP.NET Core MVC 2.2從開發到測試 - Development & Unit Testing
ASP.NET Core MVC 2.2從開發到測試 - Development & Unit TestingASP.NET Core MVC 2.2從開發到測試 - Development & Unit Testing
ASP.NET Core MVC 2.2從開發到測試 - Development & Unit Testing江華 奚
 
ASP.NET Core 2.1設計新思維與新發展
ASP.NET  Core 2.1設計新思維與新發展ASP.NET  Core 2.1設計新思維與新發展
ASP.NET Core 2.1設計新思維與新發展江華 奚
 
Application express overview_cn_final -v2
Application express overview_cn_final -v2Application express overview_cn_final -v2
Application express overview_cn_final -v2TravelSky
 
在Windows azure平台上進行資料庫處理及架構設計
在Windows azure平台上進行資料庫處理及架構設計在Windows azure平台上進行資料庫處理及架構設計
在Windows azure平台上進行資料庫處理及架構設計Sky Chang
 
如何利用 Amazon EMR 及Athena 打造高成本效益的大數據環境
如何利用 Amazon EMR 及Athena 打造高成本效益的大數據環境如何利用 Amazon EMR 及Athena 打造高成本效益的大數據環境
如何利用 Amazon EMR 及Athena 打造高成本效益的大數據環境Amazon Web Services
 

Similar to 開發 Windows azure 雲端應用程式 (20)

以 .NET RIA Services 打通 Silverlight 分散式開發之任督二脈
以 .NET RIA Services 打通 Silverlight 分散式開發之任督二脈以 .NET RIA Services 打通 Silverlight 分散式開發之任督二脈
以 .NET RIA Services 打通 Silverlight 分散式開發之任督二脈
 
大型系统的Java中间件实践q con北京
大型系统的Java中间件实践q con北京大型系统的Java中间件实践q con北京
大型系统的Java中间件实践q con北京
 
Eucalyptus安装及实例映像制作
Eucalyptus安装及实例映像制作Eucalyptus安装及实例映像制作
Eucalyptus安装及实例映像制作
 
建國科大雲端中心成立記者會~與采威國際產學合作~Cafe 企業雲端伺服器演講講義
建國科大雲端中心成立記者會~與采威國際產學合作~Cafe 企業雲端伺服器演講講義建國科大雲端中心成立記者會~與采威國際產學合作~Cafe 企業雲端伺服器演講講義
建國科大雲端中心成立記者會~與采威國際產學合作~Cafe 企業雲端伺服器演講講義
 
腾讯大讲堂24 qq show2.0重构历程
腾讯大讲堂24 qq show2.0重构历程腾讯大讲堂24 qq show2.0重构历程
腾讯大讲堂24 qq show2.0重构历程
 
E tom ngoss规范及siebel系统在电信行业的应用 陈永林
E tom ngoss规范及siebel系统在电信行业的应用 陈永林E tom ngoss规范及siebel系统在电信行业的应用 陈永林
E tom ngoss规范及siebel系统在电信行业的应用 陈永林
 
Sql2005 reporting services報表設計
Sql2005 reporting services報表設計Sql2005 reporting services報表設計
Sql2005 reporting services報表設計
 
淺談雲端運算
淺談雲端運算淺談雲端運算
淺談雲端運算
 
Real World ASP.NET MVC
Real World ASP.NET MVCReal World ASP.NET MVC
Real World ASP.NET MVC
 
朱以方:Azure 服務百百種
朱以方:Azure 服務百百種朱以方:Azure 服務百百種
朱以方:Azure 服務百百種
 
淘宝Java中间件之路 it168
淘宝Java中间件之路 it168淘宝Java中间件之路 it168
淘宝Java中间件之路 it168
 
新浪微博大规模基于Docker的混合云应用实践 -王关胜
新浪微博大规模基于Docker的混合云应用实践 -王关胜新浪微博大规模基于Docker的混合云应用实践 -王关胜
新浪微博大规模基于Docker的混合云应用实践 -王关胜
 
03.osb概览
03.osb概览03.osb概览
03.osb概览
 
Esb
EsbEsb
Esb
 
Teched 2012 60分钟构建私有云
Teched 2012 60分钟构建私有云Teched 2012 60分钟构建私有云
Teched 2012 60分钟构建私有云
 
ASP.NET Core MVC 2.2從開發到測試 - Development & Unit Testing
ASP.NET Core MVC 2.2從開發到測試 - Development & Unit TestingASP.NET Core MVC 2.2從開發到測試 - Development & Unit Testing
ASP.NET Core MVC 2.2從開發到測試 - Development & Unit Testing
 
ASP.NET Core 2.1設計新思維與新發展
ASP.NET  Core 2.1設計新思維與新發展ASP.NET  Core 2.1設計新思維與新發展
ASP.NET Core 2.1設計新思維與新發展
 
Application express overview_cn_final -v2
Application express overview_cn_final -v2Application express overview_cn_final -v2
Application express overview_cn_final -v2
 
在Windows azure平台上進行資料庫處理及架構設計
在Windows azure平台上進行資料庫處理及架構設計在Windows azure平台上進行資料庫處理及架構設計
在Windows azure平台上進行資料庫處理及架構設計
 
如何利用 Amazon EMR 及Athena 打造高成本效益的大數據環境
如何利用 Amazon EMR 及Athena 打造高成本效益的大數據環境如何利用 Amazon EMR 及Athena 打造高成本效益的大數據環境
如何利用 Amazon EMR 及Athena 打造高成本效益的大數據環境
 

More from Jeff Chu

.NET Conf 2019 高雄場 - .NET Core 3.0
.NET Conf 2019 高雄場 - .NET Core 3.0.NET Conf 2019 高雄場 - .NET Core 3.0
.NET Conf 2019 高雄場 - .NET Core 3.0Jeff Chu
 
Developing Serverless application with Microsoft Azure and Cognitive Services
Developing Serverless application with Microsoft Azure and Cognitive ServicesDeveloping Serverless application with Microsoft Azure and Cognitive Services
Developing Serverless application with Microsoft Azure and Cognitive ServicesJeff Chu
 
.NET Innovations and Improvements
.NET Innovations and Improvements.NET Innovations and Improvements
.NET Innovations and ImprovementsJeff Chu
 
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)Jeff Chu
 
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)Jeff Chu
 
利用微軟雲端平台打造完整 IoT 服務鍊 (maduka)
利用微軟雲端平台打造完整 IoT 服務鍊 (maduka)利用微軟雲端平台打造完整 IoT 服務鍊 (maduka)
利用微軟雲端平台打造完整 IoT 服務鍊 (maduka)Jeff Chu
 
Developing serverless applications with azure functions
Developing serverless applications with azure functionsDeveloping serverless applications with azure functions
Developing serverless applications with azure functionsJeff Chu
 
Connect() Mini 2016
Connect() Mini 2016Connect() Mini 2016
Connect() Mini 2016Jeff Chu
 
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016Jeff Chu
 
Windows 與 Azure 的容器旅程 @ Skilltree Day
Windows 與 Azure 的容器旅程 @ Skilltree DayWindows 與 Azure 的容器旅程 @ Skilltree Day
Windows 與 Azure 的容器旅程 @ Skilltree DayJeff Chu
 
領域驅動設計 (Domain Driven Design)
領域驅動設計 (Domain Driven Design)領域驅動設計 (Domain Driven Design)
領域驅動設計 (Domain Driven Design)Jeff Chu
 
物件導向設計原則:SOLID + DI
物件導向設計原則:SOLID + DI物件導向設計原則:SOLID + DI
物件導向設計原則:SOLID + DIJeff Chu
 
例外處理實務
例外處理實務例外處理實務
例外處理實務Jeff Chu
 
ASP.NET 5 快速入門 (Getting Started ASP.NET 5)
ASP.NET 5 快速入門 (Getting Started ASP.NET 5)ASP.NET 5 快速入門 (Getting Started ASP.NET 5)
ASP.NET 5 快速入門 (Getting Started ASP.NET 5)Jeff Chu
 
Machine Learning, Big Data, Insights
Machine Learning, Big Data, InsightsMachine Learning, Big Data, Insights
Machine Learning, Big Data, InsightsJeff Chu
 
Global Azure Bootcamp 2015 Taipei: Planning and Migrating your Application fr...
Global Azure Bootcamp 2015 Taipei: Planning and Migrating your Application fr...Global Azure Bootcamp 2015 Taipei: Planning and Migrating your Application fr...
Global Azure Bootcamp 2015 Taipei: Planning and Migrating your Application fr...Jeff Chu
 
Cloud computing for manufacturing
Cloud computing for manufacturingCloud computing for manufacturing
Cloud computing for manufacturingJeff Chu
 
ASP.NET 開發人員不可不知的 IIS (IIS for ASP.NET Developers)
ASP.NET 開發人員不可不知的 IIS (IIS for ASP.NET Developers)ASP.NET 開發人員不可不知的 IIS (IIS for ASP.NET Developers)
ASP.NET 開發人員不可不知的 IIS (IIS for ASP.NET Developers)Jeff Chu
 
Microsoft Azure 新功能導覽 @ Build 2014
Microsoft Azure 新功能導覽 @ Build 2014Microsoft Azure 新功能導覽 @ Build 2014
Microsoft Azure 新功能導覽 @ Build 2014Jeff Chu
 
Microsoft Azure 概觀 (2014-4-2 雲端達人班)
Microsoft Azure 概觀 (2014-4-2 雲端達人班)Microsoft Azure 概觀 (2014-4-2 雲端達人班)
Microsoft Azure 概觀 (2014-4-2 雲端達人班)Jeff Chu
 

More from Jeff Chu (20)

.NET Conf 2019 高雄場 - .NET Core 3.0
.NET Conf 2019 高雄場 - .NET Core 3.0.NET Conf 2019 高雄場 - .NET Core 3.0
.NET Conf 2019 高雄場 - .NET Core 3.0
 
Developing Serverless application with Microsoft Azure and Cognitive Services
Developing Serverless application with Microsoft Azure and Cognitive ServicesDeveloping Serverless application with Microsoft Azure and Cognitive Services
Developing Serverless application with Microsoft Azure and Cognitive Services
 
.NET Innovations and Improvements
.NET Innovations and Improvements.NET Innovations and Improvements
.NET Innovations and Improvements
 
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
 
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
 
利用微軟雲端平台打造完整 IoT 服務鍊 (maduka)
利用微軟雲端平台打造完整 IoT 服務鍊 (maduka)利用微軟雲端平台打造完整 IoT 服務鍊 (maduka)
利用微軟雲端平台打造完整 IoT 服務鍊 (maduka)
 
Developing serverless applications with azure functions
Developing serverless applications with azure functionsDeveloping serverless applications with azure functions
Developing serverless applications with azure functions
 
Connect() Mini 2016
Connect() Mini 2016Connect() Mini 2016
Connect() Mini 2016
 
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
Windows 與 Azure 的容器旅程 @ Ignite Mini 2016
 
Windows 與 Azure 的容器旅程 @ Skilltree Day
Windows 與 Azure 的容器旅程 @ Skilltree DayWindows 與 Azure 的容器旅程 @ Skilltree Day
Windows 與 Azure 的容器旅程 @ Skilltree Day
 
領域驅動設計 (Domain Driven Design)
領域驅動設計 (Domain Driven Design)領域驅動設計 (Domain Driven Design)
領域驅動設計 (Domain Driven Design)
 
物件導向設計原則:SOLID + DI
物件導向設計原則:SOLID + DI物件導向設計原則:SOLID + DI
物件導向設計原則:SOLID + DI
 
例外處理實務
例外處理實務例外處理實務
例外處理實務
 
ASP.NET 5 快速入門 (Getting Started ASP.NET 5)
ASP.NET 5 快速入門 (Getting Started ASP.NET 5)ASP.NET 5 快速入門 (Getting Started ASP.NET 5)
ASP.NET 5 快速入門 (Getting Started ASP.NET 5)
 
Machine Learning, Big Data, Insights
Machine Learning, Big Data, InsightsMachine Learning, Big Data, Insights
Machine Learning, Big Data, Insights
 
Global Azure Bootcamp 2015 Taipei: Planning and Migrating your Application fr...
Global Azure Bootcamp 2015 Taipei: Planning and Migrating your Application fr...Global Azure Bootcamp 2015 Taipei: Planning and Migrating your Application fr...
Global Azure Bootcamp 2015 Taipei: Planning and Migrating your Application fr...
 
Cloud computing for manufacturing
Cloud computing for manufacturingCloud computing for manufacturing
Cloud computing for manufacturing
 
ASP.NET 開發人員不可不知的 IIS (IIS for ASP.NET Developers)
ASP.NET 開發人員不可不知的 IIS (IIS for ASP.NET Developers)ASP.NET 開發人員不可不知的 IIS (IIS for ASP.NET Developers)
ASP.NET 開發人員不可不知的 IIS (IIS for ASP.NET Developers)
 
Microsoft Azure 新功能導覽 @ Build 2014
Microsoft Azure 新功能導覽 @ Build 2014Microsoft Azure 新功能導覽 @ Build 2014
Microsoft Azure 新功能導覽 @ Build 2014
 
Microsoft Azure 概觀 (2014-4-2 雲端達人班)
Microsoft Azure 概觀 (2014-4-2 雲端達人班)Microsoft Azure 概觀 (2014-4-2 雲端達人班)
Microsoft Azure 概觀 (2014-4-2 雲端達人班)
 

開發 Windows azure 雲端應用程式

  • 1. 開發 Windows Azure 雲端應用程式 小朱 (Windows Azure MVP)
  • 2. Read ME  小朱  Windows Azure MVP (11th MVP awards)  SQL Server, ASP.NET, Solution Architect, Windows Azure  技術傳教士、顧門口、研發人員、經理、講師、學生、開發人員、網 管、作者、譯者、校稿者、...  MCP: 11 類 50 張 ...  70% 來自於 beta,30% 來自於小朋友。  致力於雲端運算技術推廣與微軟技術深耕。
  • 3. Agenda  Windows Azure Platform 簡介  開發 MVC-based Cloud 應用程式  Cloud Service  Website  Storage  Database  雲端架構學  結語
  • 4. Windows Azure Platform 簡介  微軟的公有雲解決方案。  支援簡單到複雜的環境。  Website  Cloud Service  Virtual Machine  可用度 99% 以上。  支援多平台的開發應用。
  • 7. 開發環境  Windows Vista 以上  建議 Windows 7 or Windows 8  必須安裝 IIS 功能,包含 .NET Framework 4.0 與 ASP.NET  Visual Studio 2010 SP1 以上  建議 Visual Studio 2012  SQL Server 2005 以上  建議 SQL Server 2012  支援 Express 和 Express LocalDB
  • 8. 開發環境  自動化安裝  Web Platform Installer 4.0 Customized Installation  手動安裝  Windows Azure SDK 1.7 (June 2012 Refresh)  依照服務的更新隨時升級。  文件在 MSDN Library  或安裝 Visual Studio 2012 Documentation (ISO)
  • 9. 註冊帳戶  試用帳戶 (https://www.windowsazure.com/zh-tw/pricing/free-trial/)  90天免費試用期,需要 Microsoft Account (Live ID)。  需要信用卡,但只會在驗證時扣美金1元,而且不會請款。  在試用期間如果超過配額,會中斷服務。
  • 10. 註冊帳戶  正式帳戶  Pay-as-you-go  Promotional quotas  半年期或一年期方案。  MSDN Offers  BizSpark Offers  MPN Offers
  • 13. 雲端服務類型  Cloud Service  Website  雲端專案。  網站專案。  Web Role/Worker Role。  Web Role 的更新版。  每個服務享有獨立 VM。  依模式不同決定是否與他  適合複雜的環境。 人共享或專屬的 CPU 資源。  適合簡單的環境。
  • 14. demo  建立 MVC 4.0 應用程式。  存取資料庫。  存取表格儲存。  發行應用程式到雲端。  更新應用程式。
  • 15. demo  建立 MVC 4.0 應用程式。  存取資料庫。  存取表格儲存。  發行應用程式到雲端。
  • 16. 雲端架構學  雲端應用程式與本地不同。  Hosting Only?  Single instance vs. Multiple instances  SQL and NoSQL  Tightly Coupled vs. Loosely Coupled  Multi-devices  本地思維 vs. 雲端思維。
  • 17. 雲端架構學  Cloud-enabled Application  充分運用雲端資源。  Computes  Storages  能適應 Scalability。  單一程式多用戶架構。  支援多重裝置。
  • 18. StockTrader Sample Solution User Interface Web Application Layer (UI) Service ASP.NET Web Forms Client Class Middle-Tier Business Services Layer (BSL) Business Service Layer Business Transactions Business Services Service Client Class Core StockTrader Middle Tier Services Classes Orders Tier Order Processor Service (OPS) Business Transactions Order Processing Service Class Data Access Data Access Layer (DAL) Market Summary Customer Class Orders Class Class Account Quote Table Table Holdings SQL Server/ Account Orders Table Profile Table SQL Azure Table
  • 19. StockTrader Sample Solution Web Role Web Role SQL Azure Azure Azure StockTrader StockTrader Business Account Web Application DB Services Scale-out Scale-out Instances Instances Publishing RESTful Endpoint + Token Service SQL Azure Azure StockTrader Quote Order Processor DB Service Scale-out Instances Worker Role Polling
  • 20. 結語  Windows Azure Platform 是很容易使用的公有雲環境。  多樣化的服務。  使用既有的開發方式。  發行與移轉應用程式十分簡單。  設計雲端應用程式時,架構比技術更重要。
  • 21. 參考資料 (官方)  Windows Azure Official Site  http://www.windowsazure.com/  MSDN Windows Azure Platform Documentation  https://www.windowsazure.com/en-us/develop/net/reference/  MSDN 邊做邊學  http://msdn.microsoft.com/zh-tw/windowsazure/gg456243.aspx  MSDN Windows Azure 實作手冊  http://msdn.microsoft.com/zh-tw/jj590639
  • 22. 參考資料 (非官方)  小朱的技術隨手寫  http://www.dotblogs.com.tw/regionbbs/category/3312.aspx  StudyAzure.com 雲端學堂 Facebook  https://www.facebook.com/studyazure  Sky Chuang  http://www.dotblogs.com.tw/skychang/  Terry Chuang  http://www.dotblogs.com.tw/terrychuang/
  • 23. 參考資料 (書籍)  Windows Azure 教戰手札  第一版在書店與網路都有在賣。  第二版即將於年底上市。  Developer Edition: 2012/12  IT PRO Edition: 2013/1  原文書  Programming Windows Azure (O’Reilly)  SOA with .NET and Windows Azure