Mais conteúdo relacionado Semelhante a WCF 4.0-企業級雲端服務應用實務 (20) WCF 4.0-企業級雲端服務應用實務2. WCF 4.0 企業級雲端服務應用實務 張書源 趨勢科技/技術經理 集英信誠/網酷科技/資深顧問 DEV304 6. WCF4.0 組態設定的簡化 預設服務行為 WCF4.0提供預設的服務行為,簡化組態設定 標準端點 具備基本預設的組態設定,例如: <endpoint address = "mex" kind = "mexEndpoint" /> 預設繫結 根據通信協定自動選取繫結方式 預設服務端點 IIS 7 + WAS 自動建立 8. WCF4.0 路由(Routing)服務 現有的挑戰 產生新版本服務時,用戶端程式必須要隨之調整 不同版本的服務,可能會需要同時並行 解決方案 透過WCF 路由服務,根據資料內容自動將用戶端要求繞送到正確的服務版本 Service v1 Routing Service Client Service v2 11. Demo 情境 Employee Employee Client Appt MyService1 路由服務 EmployeeV2 EmployeeV2 Client App v.2t MyService2 13. Demo 情境 Tcp Http Client Appt MyService1 Http Tcp 路由服務 Client App v.2t MyService2 14. Demo 情境 X Client Appt MyService1 路由服務 Backup 15. WCF 服務探索 現有的挑戰 WCF用戶端依賴WCF服務端點設定 必須依賴昂貴的硬體才可以具有高可用性 解決方案 X Service WS-Discovery Probe, Match Client Service WS-Discovery Probe, Match 16. WCF4.0 對於WS-Discovery的支援 Ad Hoc 模式 利用UDP廣播自己的位置,或接聽搜尋訊息 容易增加網路流量 不適合在網際網路中使用 Managed 模式 透過探索 Proxy 的集中式伺服器,維護可用服務的相關資訊 用戶端使用探索 Proxy 擷取可用服務的相關資訊 19. AppFabric: 新一代的中間層平台 雲端與企業級應用程式的中間層服務平台 9/15 16:50 ~ 18:00 MID302 深入研究雲端應用程式平台 - AppFabric AppFabric App Manager Access Control Caching Service Bus Integration AppFabric服務 AppFabric Container Custom Code Cloud Server Workflows WCF Services 21. 業界趨勢 WebSites WebAPIs 在裝置上提供更豐富的使用者操作經驗 維持一致的Infrastructure與商業邏輯 On Prem Cloud 移植成Web API時需要額外的工作 同時必須支援on-prem與cloud的API 必須要能支援更廣泛的用戶端 Http 目前被所有的用戶端支援 23. WebSockets 使用HTTP協定建立URI要求、重導、驗證… 等動作 使用WebSockets建立雙向溝通 任何訊息交換模式,無論是streamed或是buffered HTTP Upgrade Request HTTP Client HTTPServer 1 Existing HTTP/1.1 Newprotocol WebSocket WebSocket TCP 3 HTTP Client HTTPServer 2 HTTP “Switch Protocols” Response 27. WCF RIA Services 針對LOB應用程式提供了良好的開發經驗 短時間就可以建立支援新增、修改、刪除、查詢的服務 內建應用程式服務: 驗證/授權/profiles Service 31. Required Slide 給講師的備忘錄: 請輸入與您相關課程名稱(課程代碼)、課程日期、時間、地點 範例:微軟商業智慧完整藍圖及最佳案例分享( BIN201 ) 2011/9/13 13:30 – 14:40 Room 101CD Required Slide 給講師的備忘錄: 詳細課程時間還未出爐,請講師密切注意TechDays網站的課程資訊更新。 課程資訊連結: http://www.microsoft.com/taiwan/techdays2011/class.aspx 相關課程與內容 深入研究雲端應用程式平台 - AppFabric( MID302 ) 9/15/2010 16:50 – 18:00 Room 101CD http://msdn.microsoft.com/zh-tw/library/ms733103.aspx(WCF 功能詳細資料) http://wcf.codeplex.com/ (WCF Codeplex 網站) http://www.silverlight.net/learn/advanced-techniques/wcf-ria-services/get-started-with-wcf-ria-services/(WCFRIA服務) 32. http://technet.microsoft.com/zh-tw/default.aspx Resources for IT Professionals http://msdn.microsoft.com/zh-tw/default.aspx Resources for Developers www.microsoft.com/learning Microsoft Certification and Training Resources Required Slide 給講師的備忘錄: 在TechNet與msdn的區塊下方,您可自行放入相關的其他連結及連結名稱。 http://support.microsoft.com/default.aspx?ln=ZH-TW Microsoft 技術支援與服務 其他資源 http://www.microsoft.com/taiwan/security/default.mspx Microsoft 資訊安全首頁 34. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.