280 likes | 536 Views
Visual Studio 2005 快速導覽. 陳晴 開發技術推廣專員 開發工具暨平台推廣處 台灣微軟. Lap Around Visual Studio 2005. Introduction Visual Studio 2005 Overview Languages and IDE ASP.NET Smart Client - Windows Forms Smart Client – Visual Studio Tools for Office (VSTO). Your COMPANY and your EMPLOYEES. Your PARTNERS.
E N D
Visual Studio 2005快速導覽 陳晴 開發技術推廣專員 開發工具暨平台推廣處 台灣微軟
Lap Around Visual Studio 2005 • Introduction • Visual Studio 2005 Overview • Languages and IDE • ASP.NET • Smart Client - Windows Forms • Smart Client – Visual Studio Tools for Office (VSTO)
Your COMPANY andyour EMPLOYEES Your PARTNERS Connecting ApplicationsAn increasingly complex landscape Your SUPPLIERS Any DEVICE, ANYWHERE
Ecosystem Productivity Quality Connectivity VS 2005 Core Principles VS 2005 Core Technology ClickOnce VSTO Windows Forms ASP.NET Performance and Reliability Advanced Web Services “It Just Works” C++ Mobility Application and Lifecycle Management SQL CLR and 64 bit VSIP
VS 2005 Technology Pillars Web Development Tools & Integration Smart Client ClickOnce Visual Studio Tools for Office Windows Forms Mobility ASP.NET Mobility Advanced Web Services Application and Lifecycle Management VSIP Fundamentals 64 bit, SQL/CLR, Data Access, ‘It Just Works’ C++, Performance and Reliability
Lap Around Visual Studio 2005 • Introduction • Visual Studio 2005 Overview • Language and IDE • ASP.NET • Smart Client - Windows Forms • Smart Client – Visual Studio Tools for Office (VSTO)
Generics (泛型) • 為什麼要使用 Generics? • 因為可以檢查型別, 不需要boxing,不需要轉型 • 減少類似的程式碼 'Generics example Dim emps As New Collection(Of Employee) emps.Add(New Employee(1, "Foo")) emps.Add(New Employee(2, "Bar")) ‘ 不用 boxing 'emps can only contain Employee objects For Each emp As Employee In emps emp.UseMe() Next 'Example without Generics Dim emps As New Collection emps.Add(New Employee(1, "Foo")) emps.Add(New Employee(2, "Bar")) 'emps may contain non Employee objects For Each obj As Object In emps Try DirectCast(obj, Employee).UseMe() Catch End Try Next
Advanced Web ServicesWeb Services Enhancements (WSE) 3.0 • Implementation of WS-* specifications (WS-Security, WS-Policy, etc) to enable SOA applications • Seamless integration with VS 2005 and .NET 2.0 • Secure interoperability with other platforms (IBM’s WebSphere, BEA’s WebLogic) • Wire-level interoperability with Indigo State of the art WS-* support for VS 2005 and the stepping stone to Indigo
Web Services and Refactoring Refactor existing web service to improve code structure: • Code-focused development • Exploit major new IDE productivity features Camino Web Service
ASP.NET Goals • Developer Productivity • Reduce ASP.NET V1->V2 lines of code by 2/3rds • Enable rich scenarios not easily possible today • Administration and Management • Easiest platform to manage and administer • Totally Extensible Platform • Replace/extend all built-in features + services • Customize for any enterprise environment • Performance and Scalability • The world’s fastest web application server
Data Controls Other New Controls Mobility and Localization Compilation Membership Role Management Configuration Health Monitoring Site Maps ASP.NET New Features Login Controls Web Parts Controls Master Pages Themes and Skins Page Framework Personalization Services and APIs SQL Output Caching
Demo Preview • Master pages • Master pages and content pages • Accessing controls defined in master pages • Themes and skins • Applying themes • Theme and skin definitions • New controls • Login Control • Web Parts
Master Pages Master Page Content Page
Themes and Skins • 用來決定網站或網頁的展現風格 • Skin = control(s) 的外觀屬性 • 儲存於 .skin檔 • Theme = 一或多個skins的集合 • 儲存於themes子目錄下
Theming a Page <%@ Page Theme="BasicBlue"> Before After
ASP.NET Rebuild Camino web front-end: • More functionality, better look and feel, less code • Hook into ready-to-use security, personalization and data features Camino Web Application
Web Services & Offline/Online Support Device Tailored Heavy Footprint Broad Reach Tough to Deploy Network Dependency Rich UI Complex To Develop Rich User Experience Developer Productivity Poor User Experience Easy Change Management DLL Hell Easy to Deploy Responsive Smart Client
Introducing ClickOnce A technology for deploying and versioning applications with the power of the client and the simplicity of the web
Smart Client - Windows Forms • Radically Improved Application Deployment • ClickOnce deployment, update, rollback • Visually Stunning Look and Feel • Toolstrips, Windows XP Themes • Office Look and Feel • Cut the Code: Productivity • Smart Tags • Document Outline view • SnapLines • Simplified working with data • Async made easy • BackgroundWorker component
Smart Client : Windows Forms Create smart client on-line/off-line application for agents • Easier than ever to build, deploy and maintain smart client apps • Faster and more powerful data-centric development Agent Handbook
Device Functionality in VS 2005 • Native Code Interoperability • Native solutions right in Visual Studio • COM Interop • New Enterprise Data • SQL Mobile and new data access model • New data designers • System.Messaging • .NET Compact Framework Enhancements • Performance • Language Enhancements
Smart Client - Visual Studio Tools for the Microsoft Office System (VSTO) • Our strategic tool for developing Office solutions • Today: document-centric solutions for Word and Excel 2003 • Visual Studio + Office: Better together • For developers: the productivity of VS and the power of the .NET Framework • For IT: security and easy change management • For end users: the rich, familiar UI and functionality of Office • Key new features • Word and Excel hosted in VS as design surfaces • Extended Office controls and managed controls • Managed Document Actions task pane
Smart Client : Microsoft Office Enhance an existing spreadsheet with managed code and live data • Deep integration of VS 2005 with Excel and Word • Create powerful applications with a world class UI Excel Mortgage Calculator
Summary • Visual Studio Team System, an extensible lifecycle tools platform that helps software teams collaborate to reduce the complexity of delivering modern service-oriented solutions • Microsoft’s offerings now include a comprehensive set of proven process frameworks, best practices, prescriptive architecture guidance, and integrated lifecycle tools that enable IT organizations to successfully deliver custom solutions on the Windows Server System • Numerous industry partners have agreed to extend our integrated lifecycle platform and tools including: • Global Systems Integrators: Unisys, EDS, Cap Gemini, Avanade, Accenture • Tools ISVs: Borland, Mercury Interactive, Compuware, MicroFocus, Telelogic, Amberpoint
Code Coverage Code Profiler Change Management Work Item Tracking Reporting Project Site Integration Services Project Management Static Code Analyzer Class Designer Unit Testing Dynamic Code Analyzer Visio and UML Modeling Deployment Designer Big Build Application Designer Test Case Management Logical Infra. Designer Load Testing Visual Studio Professional Edition Team Foundation Client (includes CAL) Manual Testing Process and Architecture Guidance Visual Studio Industry Partners Visual Studio Team System Visual StudioTeam Architect Visual StudioTeam Developer Visual StudioTeam Test Visual StudioTeam Foundation