visual studio 2005 快速導覽
DESCRIPTION
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. - PowerPoint PPT PresentationTRANSCRIPT
陳晴開發技術推廣專員開發工具暨平台推廣處台灣微軟
Visual Studio 2005 快速導覽Visual Studio 2005 快速導覽
Lap Around Visual Studio 2005Lap Around Visual Studio 2005
IntroductionVisual Studio 2005 Overview
Languages and IDEASP.NETSmart Client - Windows FormsSmart Client – Visual Studio Tools for Office (VSTO)
Connecting ApplicationsAn increasingly complex landscape
Connecting ApplicationsAn increasingly complex landscape
Your Your SUPPLIERSSUPPLIERS
Your Your COMPANYCOMPANY and andyour your EMPLOYEESEMPLOYEES
Your Your PARTNERSPARTNERSAny Any DEVICEDEVICE, , ANYWHEREANYWHERE
VS 2005 Core PrinciplesVS 2005 Core Principles
EcosystemEcosystem
ProductivityProductivity
ConnectivityConnectivityQualityQuality
ClickOnceWindows
Forms
VSTO
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 Core Technology
VS 2005 Technology PillarsVS 2005 Technology Pillars
Smart Client
ClickOnce
Visual Studio Tools for Office
Windows Forms
Mobility
Tools & Integration
Application and Lifecycle Management
VSIP
Web Development
ASP.NET
Mobility
Advanced Web Services
64 bit, SQL/CLR, Data Access, ‘It Just Works’ C++, Performance and Reliability
Fundamentals
Lap Around Visual Studio 2005Lap Around Visual Studio 2005
IntroductionVisual Studio 2005 Overview
Language and IDEASP.NETSmart Client - Windows FormsSmart Client – Visual Studio Tools for Office (VSTO)
Languages and IDELanguages and IDEVB.NET C#
Language
Generics and Partial Types
Generics and Partial Types
Operator overloadingXML documentation‘My’ classes
Anonymous methods custom types
enumerable#pragma directive
IDE
Class Designer, snippets ( 書籤 )
Class Designer, snippets ( 書籤 )
Edit and Continue Edit and ContinueRe-factoring ( 重整 )
Languages and IDELanguages and IDE
C++
Write native, managed, and mixed applications
Clear migration path to .NET and LonghornStill performance language of choiceVisual C++ 2005 includes a new secure
CRTSecure versions of over 150 functions addedStricter buffer control to help avoid security
flaws
Mix n match MFC & Windows Forms
Generics ( 泛型 )Generics ( 泛型 )
為什麼要使用 Generics?因為可以檢查型別 , 不需要 boxing, 不需要轉型減少類似的程式碼 'Example without Generics
Dim emps As New Collectionemps.Add(New Employee(1, "Foo"))emps.Add(New Employee(2, "Bar"))
'emps may contain non Employee objectsFor Each obj As Object In emps Try DirectCast(obj, Employee).UseMe() Catch End TryNext
'Generics exampleDim emps As New Collection(Of Employee)emps.Add(New Employee(1, "Foo"))emps.Add(New Employee(2, "Bar"))‘‘ 不用 不用 boxingboxing
'emps can only contain Employee objectsFor Each emp As Employee In emps emp.UseMe()Next
Advanced Web ServicesWeb Services Enhancements (WSE) 3.0
Advanced Web ServicesWeb Services Enhancements (WSE) 3.0
Implementation of WS-* specifications (WS-Security, WS-Policy, etc) to enable SOA applicationsSeamless integration with VS 2005 and .NET 2.0Secure 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
Refactor existing web service to improve code structure:1. Code-focused development2. Exploit major new IDE productivity features
Web Services and RefactoringWeb Services and Refactoring
Camino Web Service
ASP.NET GoalsASP.NET Goals
Developer Productivity Reduce ASP.NET V1->V2 lines of code by 2/3rdsEnable rich scenarios not easily possible today
Administration and ManagementEasiest platform to manage and administer
Totally Extensible PlatformReplace/extend all built-in features + servicesCustomize for any enterprise environment
Performance and ScalabilityThe world’s fastest web application server
ASP.NET New FeaturesASP.NET New Features
DataControls
Other NewControls
Mobility andLocalization
Compilation
MembershipRole
ManagementConfiguration
SiteMaps
HealthMonitoring
LoginControls
WebParts
MasterPages
Themesand Skins
Personalization
SQL OutputCaching
Co
ntr
ols
Pa
ge
Fra
me
wo
rkS
erv
ice
sa
nd
AP
Is
Demo PreviewDemo Preview
Master pagesMaster pages and content pagesAccessing controls defined in master pages
Themes and skinsApplying themesTheme and skin definitions
New controlsLogin ControlWeb Parts
Master PagesMaster Pages
Master Page
Content Page
Themes and SkinsThemes and Skins
用來決定網站或網頁的展現風格Skin = control(s) 的外觀屬性
儲存於 .skin 檔Theme = 一或多個 skins 的集合
儲存於 themes 子目錄下
Theming a PageTheming a Page
<%@ Page Theme="BasicBlue">
Before After
Rebuild Camino web front-end:1. More functionality, better look and feel, less code2. Hook into ready-to-use security, personalization and data
features
ASP.NETASP.NET
Camino Web Application
DeviceDeviceTailoredTailored
Web Services & Web Services & Offline/Online SupportOffline/Online Support
NetworkNetworkDependencyDependency
Poor User Poor User ExperienceExperience
Rich UIRich UIComplexComplex
To DevelopTo Develop
BroadBroadReachReach
Easy ChangeEasy ChangeManagementManagement
Easy to Easy to DeployDeploy
Tough to Tough to DeployDeploy
Heavy Heavy FootprintFootprint
DLL HellDLL Hell
Rich UserRich UserExperienceExperience
ResponsiveResponsive
DeveloperDeveloperProductivityProductivity
Smart ClientSmart Client
Introducing ClickOnceIntroducing ClickOnce
Web ClickOnce
MSI Client
Reach Y
No Touch Deployment / Low system impact Y Y
Install/Run Per-User Y Y
Rich / Interactive Y Y
Offline Y Y
Windows Shell Integration Y Y
Per-Machine/Shared Components Y
Unrestricted Install Y
A technology for deploying and versioningapplications with the power of the client and
thesimplicity of the web
Smart Client - Windows FormsSmart Client - Windows Forms
Radically Improved Application DeploymentClickOnce deployment, update, rollback
Visually Stunning Look and FeelToolstrips, Windows XP ThemesOffice Look and Feel
Cut the Code: ProductivitySmart TagsDocument Outline viewSnapLines Simplified working with dataAsync made easy
BackgroundWorker component
Create smart client on-line/off-line application for agents 1. Easier than ever to build, deploy and maintain smart client
apps2. Faster and more powerful data-centric development
Smart Client : Windows FormsSmart Client : Windows Forms
Agent Handbook
Device Functionality in VS 2005Device Functionality in VS 2005
Native Code InteroperabilityNative solutions right in Visual StudioCOM Interop
New Enterprise DataSQL Mobile and new data access modelNew data designersSystem.Messaging
.NET Compact Framework EnhancementsPerformanceLanguage Enhancements
Smart Client - Visual Studio Tools for the Microsoft Office System (VSTO)
Our strategic tool for developing Office solutionsToday: document-centric solutions for Word and Excel 2003
Visual Studio + Office: Better togetherFor 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 featuresWord and Excel hosted in VS as design surfaces
Extended Office controls and managed controls
Managed Document Actions task pane
Enhance an existing spreadsheet with managed code and live data
1. Deep integration of VS 2005 with Excel and Word2. Create powerful applications with a world class UI
Smart Client : Microsoft OfficeSmart Client : Microsoft Office
Excel Mortgage Calculator
SummarySummaryVisual 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
Express
Standard Pro Team
Windows or Web Designers
Code Editors and IntelliSense
Programming Languages
Remote Data Access
Mobile Device Development
User Experience Simplified
Simplified
Server Development/Debugging
SQL Server 2005 Development
Application Modeling,Code Profiling, Unit Testing, Static Code Analysis, Load Testing, Enterprise Source Control, Work Item Tracking
Visual Studio Team SystemVisual Studio Team System
Change Management
Work Item Tracking
Reporting
Project Site
Visual Studio
Team Foundation Integration Services
Project Management
Pro
cess
an
d A
rch
itect
ure
Pro
cess
an
d A
rch
itect
ure
G
uid
an
ceG
uid
an
ce
Dynamic Code Analyzer
Visual Studio
Team Architect
Static Code Analyzer
Code Profiler
Unit Testing
Code Coverage
Visio and UML Modeling
Team Foundation Client (includes CAL)
Visual Studio Professional Edition
Load Testing
Manual Testing
Test Case Management
Application Designer
Logical Infra. Designer
Deployment Designer
Visual Studio
Team DeveloperVisual Studio
Team Test
Vis
ual S
tud
io In
du
stry
V
isu
al S
tud
io In
du
stry
Part
ners
Part
ners
Big Build
Class Designer