Microsoft Application Platform 開發技術導引

Slides:



Advertisements
Similar presentations
下一代 Windows 通讯基础 Windows Communication Foundation ( 代码名 “Indigo”) 简介 谢 晓 软件设计工程师 陈耀文 部门经理 Windows 服务器产品部 微软亚洲工程院(上海)
Advertisements

Web Role 的每台虚机运行有 IIS ,用于处理 Web 请求 Worker Role 用于运行后台进程 Cloud Service 是什么? 支持多层架构的应用容器 由多个 Windows 虚拟机集群构成 集群有两种类型: Web 和 Worker Cloud Service 做什么 进行应用的自动化部署.
吴峻 软件设计工程师组长 Exchange Server 微软有限公司
王书贵 资深分析师 CCW Research 计世资讯
深市协助执法及证券查询业务介绍 客户服务部 China Securities Depository
顏協邦 慧盟資訊 商業智慧導入服務部 資深經理
Database Architecture, not only DBA
1. 设定愿景,确定业务场景 Microsoft Corporation
金融信息安全人才培养的思考与实践 中央财经大学 朱建明 2012年11月24日.
Office 2013 全新功能介紹 台灣微軟 Office 大使 楊承恩 Marcus Microsoft Office
——打造科技金融升级版 中国建设银行顺德分行 2015年6月.
云实践引导产业升级 沈寓实 博士 教授 MBA 中国云体系产业创新战略联盟秘书长 微软云计算中国区总监 WinHEC 2015
第一章 認識Visual C 環境架構 1-1 認識Visual C Visual Studio 概觀
Microsoft .NET 第4組 十月15, 2002 B 陳東傑 B 蔣佳勳
IIS網站的安全性管理 羅英嘉 2007年4月.
Windows Vista 操作系统最新安全特性
BizTalk Server 2004.
資料檔案的安全性管理 羅英嘉 2007年4月.
解振宇 客户技术经理 客户售前技术部 微软中国有限公司广州办事处
11/17/2018 5:15 PM 病毒,间谍软件最新趋势 © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes.
Mobile & Embedded DevCon 2005 朱敏博士 微软有限公司
OFC 302 InfoPath2007新特性及解决方案.
从UNIX到Windows的 电信软件移植实践
.NET 簡介.
Microsoft Office SharePoint Server 2007 事件追蹤與專案管理
朝雲端專業DBA邁進: 深入剖析 Windows Azure SQL Database 完整資料庫管理、雲端報表建立、建置分散式雲端資料庫
.NET 簡介.
BizTalk Server 2004.
CSI300 BizTalk Server 2006 中的新功能
第5章 方案工程(Solutions Engineering)
ARC314 消息传递 -面向消息的中间件设计基础
OFC351 利用Office System开发复杂的商务解决方案 架构、模式、场景
MBL 325 开发跨平台的 Windows Mobile应用程序
MBL 327 Windows Mobile开发中的异构系统集成
SAP 架構及基本操作 SAP前端軟體安裝與登入 Logical View of the SAP System SAP登入 IDES
BizTalk Server 2004.
微软新一代云计算 面向企业的 Office 365 客户培训大纲
課程名稱:_____________ 指導教授:_____________
超完美整合 SQL Server 2008 MOSS 2007 及 Excel 2007 打造好用又省錢的 企業商業智慧解決方案
凌宁 系统工程师 亚洲区嵌入式系统事业群 微软(中国)有限公司
SVR 352 扩展Windows Server 终端服务在企业中的应用
2/24/2019 5:40 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft SQL Server 2008 報表服務_設計
利用 ASP.NET MVC 提升您的 Web 應用程式


OFC321 InfoPath在企业解决方案中应用的最佳实践
橫跨電腦、手機與軟體的全方位端點管控解決方案
Windows server 2008系列- IIS 7.0 架構與建置技巧
CON223 UDDI:服务的发现和搜索.
呂政周 精誠恆逸教育訓練處 資深講師 Windows PowerShell 呂政周 精誠恆逸教育訓練處 資深講師
TechNet 技術講座 Entry Slide 0
使用WPF创建Windows应用和Web应用
模式与实践:Windows Mobile 5.0应用程序架构
DEV 343 VS2005超快速开发方案/EEP2006控件包.
5/4/2019 4:42 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
DEV342 Visual Basic 2005: 应用程序框架 和高级语言特性
耿志刚 应用整合产品技术专家 专业解决方案部 微软中国
SQL Server Mobile 2005 程序开发(二)
SAP 架構及基本操作 SAP前端軟體安裝與登入 Logical View of the SAP System SAP登入 IDES
百万亿次超级计算机诞生记 姓名 Xiangyu Ye 职务 微软中国技术中心资深HPC顾问 公司 微软中国
5/15/2019 姓名: 公司名称: 云赛空间BP模板 Now let’s take a look at who we are, what we’re doing and why we’re doing it in China... This is an image of a technology.
DEV 343 VS2005超快速开发方案/EEP2006控件包.
蔺华 ISV开发合作经理 平台及开发技术部 微软(中国)有限公司
SAP 架構及前端軟體安裝 Logical View of the SAP System SAP Frontend 7.1安裝 SAP登入
MGT 213 System Management Server的昨天,今天和明天
MSG 361 如何从Exchange 5.5迁移 胡义 咨询顾问 上海星移软件有限公司 2019年7月31日8时9分
強化 Windows 平台 唐任威 資深講師.
高擴充高穩定高安全 企業級資料管理平台 Report Builder概論 錢曉明 資策會 資深講師 台灣微軟 資深講師.
Windows Workflow Foundation CON 230
Presentation transcript:

Microsoft Application Platform 開發技術導引 李 清培 弈飛資訊 首席架構顧問 台灣微軟 特約資深講師 © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Agenda Application Platform 服務簡介 IIS 6.0開發技術導引 COM+ 1.5開發技術導引 MSMQ開發技術導引 UDDI與Web services開發技術導引 .NET Runtime : Remoting Let’s Code

.NET Application Architecture Communication Operational Management Security UI components UI process components Service interfaces Business workflows Business components Business entities Data access components Service agents Data sources Services © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

對應用程式建置與管理的需求 提供企業系統快速開發、部署與管理的平台 Application Server 一致的程式模型 簡化部署工作 整合能力 單一管理介面 Application Server Web Browser DBMS Web Server Business Logic Engine Application Server Runtime

應用程式伺服器基本架構 Application Server RDBMS 網站伺服器 商業邏輯引擎 動態網頁 引擎 IIS © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Microsoft Application Platform Application Server IIS .NET Runtime & COM+ IIS ASP.NET RDBMS © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Microsoft Application Platform Application Server IIS .NET Runtime & COM+ IIS ASP.NET RDBMS © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Microsoft Application Platform Application Server LoB SAP R3 .NET Runtime & COM+ Siebel etc. IIS IIS ASP.NET RDBMS © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Microsoft Application Platform Application Server LoB SAP R3 Siebel etc. IIS IIS IIS ASP.NET RDBMS © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Microsoft Application Platform .NET Framework Programming Model Windows Server 2003 Distributed Application Infrastructure Developer Tools Visual Studio .NET © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

.NET 應用程式伺服器的功能 完整的程式環境 基礎架構 整合開發工具 .NET Framework 1.1 IIS 6.0 Enterprise Service/COM+ MSMQ Web services/UDDI 安全設計 目錄服務 ... 整合開發工具 Visual Studio .NET

應用伺服器設定 Q: 如何啟用所需之服務? A: 設定為 application server KEY MESSAGE: As a developer, you need to be more aware of security. SLIDE BUILDS: None SLIDE SCRIPT: Because Windows Server 2003 is more secure by default, you, as a developer, need to know more about security than you did in the past. If you just take a clean load of Windows Server 2003, and try to install Visual Studio .NET 2003, you’ll find that the install complains that IIS and FrontPage® Server Extensions (FPSE) are not there. While we made the server more secure by default, we did provide easy mechanisms to install the sets of applications and services that you need, through server roles. When you configure Windows Server 2003 as a application server, it installs IIS 6.0. As part of the install, you can optionally include ASP.NET, FPSE, and Microsoft Data Engine (MSDE) . SLIDE TRANSITION: What are the server roles? ADDITIONAL INFORMATION FOR PRESENTER: © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Agenda Application Platform 服務簡介 IIS 6.0開發技術導引 COM+ 1.5開發技術導引 MSMQ開發技術導引 UDDI與Web services開發技術導引 .NET Runtime : Remoting Let’s Code

IIS 6.0 的核心元件 提昇效能及穩定性 HTTP.SYS Web Admin Service (WAS) kernel-mode HTTP Listener Web Admin Service (WAS) user-mode 管理設定/應用程式 Application Pools 及 Worker Processes的概念與架構 © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

執行模式比較 ASP .NET in Windows 2000 Server INETINFO ASPNET_WP.EXE ASPNET_WP.EXE ASPNET_WP.EXE metabase ASP.NET ASP ASP.NET ASP.NET Filters TCP/IP © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

執行模式比較 WAS HTTP.SYS Worker Process Worker Process Worker Process ASP.NET Filters Worker Process INETINFO metabase WAS Worker Process Worker Process Worker Process ASP.NET ASP.NET ASP.NET Filters Filters Filters HTTP.SYS © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

HTTP.SYS 如何運作 HTTP.SYS API HTTP.SYS TCP/IP Listener Send Response Req. Queue Req. Queue Req. Queue Namespace Mapper HTTP Engine Response Cache HTTP Parser TCP/IP Request © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

WAS – Web Administrator Service Worker Process W3 Core W3 Core MetaBase.xml Config Mgr Web 應用程式 App Pool Mgr user HTTP.SYS kernel © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Worker Process Isolation Mode 架構 App Pool (1) App Pool (2) App Pool (3) Worker Process Worker Process Web Garden ISAPI Exts & Filters Web Proc. Core DLL Web Garden Web Garden ISAPI Exts & Filters Web Proc. Core DLL WAS ISAPI Exts & Filters W3 Core ISAPI Exts & Filters W3 Core ISAPI Exts & Filters W3 Core user kernel HTTP.SYS © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Worker Process - Health monitoring 監視 Worker processes 定期ping worker processes WAS與每個worker process維護一個communication channel Worker Process Worker Process Web Garden Web Garden ISAPI Exts & Filters Web Proc. Core DLL Web Garden ISAPI Exts & Filters Web Proc. Core DLL WAS ISAPI Exts & Filters W3 Core ISAPI Exts & Filters W3 Core ISAPI Exts & Filters W3 Core © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

IIS 6.0 範例 應用程式集區 執行身分 啟動快速保護 行程回收 具擴充性的Session機制

Agenda Application Platform 服務簡介 IIS 6.0開發技術導引 COM+ 1.5開發技術導引 MSMQ開發技術導引 UDDI與Web services開發技術導引 .NET Runtime : Remoting Let’s Code

COM+ 1.5 COM+ 1.0 的挑戰 應用程式使用較高的隔離層級 沒有應用程式回收 防火牆阻隔了 DCOM 通訊 效能與並行處理問題 沒有應用程式回收 防火牆阻隔了 DCOM 通訊 使用 COM+ 服務時,必須繼承 ServicedComponent (.NET) KEY MESSAGE: Challenges with COM+ SLIDE BUILDS: None SLIDE SCRIPT: COM+ does a great job at provider enterprise services (transactions, messaging, etc.), but there are some limitations. First, COM+ components use the highest isolation level possible for transactions. This is safe, but sometimes this isn’t needed, and can lead to performance and concurrency issues. In addition, there is no built-in mechanism for specifying rules that will cause the COM+ application to be shut down. If you want this functionality, you have to roll your own. DCOM is typically blocked by firewalls, limiting the ability to expose your functionality. If you’re using COM+ from managed code, you have to create classes, and they have to inherit ServicedComponent. This can limit your inheritance hierarchy. SLIDE TRANSITION: How does COM+ 1.5 solve these limitations? ADDITIONAL INFORMATION FOR PRESENTER: © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

COM+ 1.5功能導覽(1/2) Scalability Availability Manageability Isolation Level 設定 應用程式集區 Availability 應用程式回收 以系統服務方式執行 啟動門檻 Web Services Manageability Pause/disable Process dump © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

COM+ 1.5功能導覽(2/2) Programming model Security Alias components Public/private components Process initialization Services without components 分割 Security role-based security © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

COM+ 1.5 行程回收 My App My App 舊行程標示為回收行程暫停使用 新的用戶端使用新的行程 Resource ID: 1 舊行程完成執行中的任務 舊行程結束 舊行程標示為回收行程暫停使用 新的用戶端使用新的行程 My App ID: 2 © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

COM+ 1.5 範例 Partition 別名 行程回收與集區 Isolation SOAP啟動 Service without component

Agenda Application Platform 服務簡介 IIS 6.0開發技術導引 COM+ 1.5開發技術導引 MSMQ開發技術導引 UDDI與Web services開發技術導引 .NET Runtime : Remoting Let’s Code

MSMQ 3.0 新功能 可信賴的 Internet Messaging 可信賴的 1-N Messaging 整合式 “triggers” 透過 SOAP/HTTP 以 XML傳送 支援Firewalls 與 load balancing 可信賴的 1-N Messaging 具確認訊息的清單傳送方式 多點傳撥 整合式 “triggers” 可依訊息內容執行不同的程式 Reliable Internet Messaging The same programming model Use HTTP as transport XML based protocol Secured, robust B2B messaging Support “Internet Configuration” Firewall, DMZ, Load Balancing,…. Open queue, Send message Queue can be HTTP addressed New format name: DIRECT=HTTP://host/msmq/q1 Open queue, Receive message New message properties leverage SOAP support: SoapHeader / SoapBody SoapEnvelope / CompoundMessage SRMP: Specification for general-purpose reliable messaging Implemented in MSMQ 3.0 Public specification Extension of SOAP-RP Registered in Active Directory and Leverage AD Group object Programmable via ADSI calls Manageable via AD MMC Snap-In New format name: “DL=<guid>” Elements can be other DLs Dim dest as New MSMQDestination dest.FormatName = “DL=<guid>” message.Send dest Private DLs Client-managed “DL”: List of format names Including new format names: DL, HTTP Non-discoverable Dim dest as New MSMQDestination dest.FormatName = “DIRECT=OS:host1\q, PRIVATE=…” message.Send dest © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

新的 Triggers 功能 Q1 Q2 MTS EXE BAT MSMQ Rules MSMQ Triggers COM Problem: Generic queue listener code is frequently rewritten Solution: High performance 24x7 listener service to auto- invoke components on message arrival Allows apps with no MSMQ code Terminology: Trigger: <Queue, Rule> Rule: <Condition, Action> Condition: Message Property Expression Action: Invoke component or EXE MTS COM EXE BAT © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

MSMQ 3.0 範例 Distribute List Multicast Internet Messaging Trigger

Agenda Application Platform 服務簡介 IIS 6.0開發技術導引 COM+ 1.5開發技術導引 MSMQ開發技術導引 UDDI與Web services開發技術導引 .NET Runtime : Remoting Let’s Code

Web services SOA Service Broker 發行 (WSDL) 尋找 (UDDI) Service Provider 講久一點 詳細介紹三個角色 Broker: 媒介 管制 廣告 收費 有關Service Broker部分有相關主題作介紹,今天僅針對季節相關問題昨探討 Service Provider Service Requester 繫結 (SOAP) © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

UDDI Universal Description Discovery and Integration 處理Web service描述與搜尋問題的產業專案 與平台無關的處理方式 廣大的產業支援 UDDI UDDI 規範 (uddi.org) 服務提供者與描述的綱要 發行與搜尋的SOAP API 建構在 Internet 的標準上 (XML, HTTP, TCP/IP, SOAP) © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

UDDI工作原理 Provider:提供服務的公司或個人的相關資訊,名稱、地址、聯絡人…等;可加以分類 tModel: 服務規範的描述; 可分類 Provider:提供服務的公司或個人的相關資訊,名稱、地址、聯絡人…等;可加以分類 0…n Service: 服務的介面描述,以利於使用者使用;可加以分類 Bindings包含對 tModels的參照; 這些參照標示服務的介面規範 (i.e., WSDL, XSD, etc.) 0…n 1…n Binding: 服務進入點的技術資訊,可支援額外參數 © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

範例 <Provider> Accounting department <tModel> <Service> Payroll service <Binding> North American access point: http://enterprise/payroll.asmx <tModel> Payroll tModel: http://enterprise/ payroll.wsdl <Service> Exchange rate service <Binding> European access point: http://europe/exchange.asmx North American access point: http://america/exchange.asmx <tModel> Exchange Rate tModel: http://www.example.org/exchange.wsdl © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

MS UDDI Design Windows .NET Server Internet Information Server 6.0 (IIS) .NET Framework - common language runtime SQL Server 2000 MSDE ASP.NET User Interface XML SOAP API or Active Directory authentication and authorization HTTP or HTTPS © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Design-Time Discovery Office VBA 建立直接利用 web service 資料的解決方案 .NET Developer建立並部署 “pricing” web service Pricingweb service .NET Developer 登錄 web service UDDI Services Office VBA 使用者查詢 UDDI 取得 “pricing” services Office VBA 使用者決定最適當的 “pricing” service © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Web Service Provider Backup Run-Time Discovery Web Service Provider Backup Web Service Client 呼叫 Web Service Provider. 叫用失敗 X Web Service Client Web Service Provider UDDI Services 執行期, 用戶端動態查詢 UDDI 更新服務的存取點 重新再試,成功後更新存取點資訊 © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

UDDI 範例 發行與查詢 動態繫結

Agenda Application Platform 服務簡介 IIS 6.0開發技術導引 COM+ 1.5開發技術導引 MSMQ開發技術導引 UDDI與Web services開發技術導引 .NET Runtime : Remoting Let’s Code

Object-Oriented / Data-Centric Business Logic Client Service Client Service Business Logic

Remoting 範例 分散式物件

Agenda Application Platform 服務簡介 IIS 6.0開發技術導引 COM+ 1.5開發技術導引 MSMQ開發技術導引 UDDI與Web services開發技術導引 .NET Runtime : Remoting Let’s Code

行動寶典 Microsoft Application Platform Resources Pack MSDN修練研討會 4/28 .NET 元件服務開發技術研討會 Quick Start

線上資源 Windows Server 2003 Technology Centers MSDN程式開發人員專屬網站 http://www.microsoft.com/windowsserver2003/technologies/ MSDN程式開發人員專屬網站 http://msdn.microsoft.com .NET開發人員專屬網站 MSDN 線上社群 http://www.microsoft.com/taiwan/community/developer/ TWP .NET User Group http://www.acertwp.com.tw/software/netug/net/index.asp Move-To.NET User Group http://Move-To.NET

Do More With Less © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

© 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.