Upload
lenhan
View
222
Download
0
Embed Size (px)
Citation preview
A tour of Visual Studio 2008 and the .NET Framework v3.5Daniel Moth
Developer & Platform Group
Microsoft
http://www.danielmoth.com/Blog
.NET Through the Ages
2002 2003 2005 2006 2007
Tool(Visual Studio)
VS.NET 2002 VS.NET 2003 VS2005VS2005
+ Extensions
VS2008
LanguagesC# v1.0
VB.NET (v7.0)C# v1.1
VB.NET (v7.1)C# v2.0
VB2005 (v8.0) as beforeC# v3.0
VB9
Framework Libraries
NetFx v1.0 NetFx v1.1 NetFx v2.0 NetFx v3.0 NetFx v3.5
Engine (CLR) CLR v1.0 CLR v1.1 CLR v2.0same
versionsame
version
AGENDA
The no brainer upgrade
VS2008 is a VS2005 superset
Fx 3.5 is a Fx 2.0/3.0 superset
Multitargeting
Developing with C# and VB for
Web, Client, Office, Server, Mobile
.NET Framework v3.5 demystified
Visual Studio 2008
Visual Studio in the year 2007
Visual Studio 2005+ Service Pack 1 + SP1 Update for Vista+ WF Extensions + WPF & WCF Extensions+ SharePoint Workflow+ Visual Studio Tools for Office Second Edition+ ASP.NET AJAX Extensions+Device Emulator v2.0 + .NETCF v2.0 SP2+WM 5.0 Pocket PC SDK + WM5.0 Smartphone SDK
C# 3 and VB9 Language Features
Lambda Expressions
Object (and collection) Initializers
Local Variable Type Inference
Anonymous Types
Extension Methods
Partial Methods
Automatic Properties (C# only)
Relaxed Delegates (VB only)
Web Applications
ASP.NET 3.5
Microsoft AJAX libraries and project templates
ListView, DataPager, LinqDataSource
VS2008 IDE Enhancements
New HTML Editor
– Shared with Expression Web
– Rich CSS support, Nested Master Pages
– Split view with better switching performance
Javascript IntelliSense and Debugging
Mobile Applications
NETCF v2.0 SP2 and v3.5
Unit Testing
Cert manager
Config Manager
Device Emulator 3.0
CoreCon wrapper
WM5 SDKs
C#3 and VB9
LINQ
WCF
CLR Profiler / RPM
Compression
Client-side certs
Sound APIs
Windows ApplicationsWindows Forms
ClickOnce For FireFox
UAC Manifests
Consume ASP.NET Provider Services
Consume WCF Services in Partial Trust
Better WPF Interoperablity
Windows Presentation Foundation
Visual Designer Integrated into Visual Studio
XBAP deployment to FireFox
UIElement3D, Viewport2DVisual3D
Services (WF and WCF)
Communication Foundation
HTTP without SOAP
– XML or JSON serialisation
RSS + ATOM Support
Partial Trust Support
Workflow
WCF Send/Receive
WorkflowServiceHost
Office Business Applications2003 & 2007 Support
2007 Customisations
Document Level
Application Level
Office Ribbon Designer
Outlook Form Region Designer
Custom Action and Task Panes
Word Content Controls
ClickOnce Deployment and improved Security
VBA <-> VSTO interop
Workflow and SharePoint support
Framework v3.5 (green bits)System.Core.dllSystem.Data.Linq.dllSystem.Xml.Linq.dllSystem.Data.DataSetExtensions.dllSystem.Web.Extensions.dllSystem.WorkflowServices.dllSystem.ServiceModel.Web.dllSystem.AddIn.dll, System.AddIn.Contract.dllSystem.Windows.Presentation.dllSystem.Net.dllSystem.DirectoryServices.AccountManagement.dllSystem.Management.Instrumentation.dllSystem.VisualC.STLCLR.dll
Summary
Visual Studio 2008
Great for Windows Vista
Great for Client Development
Great for Web Development
Great for .NET Framework v3.5
Pretty Cool for .NET 2.0 projects too!
– Multitargeting (and no new CLR)
– Use the new C#3 and VB9 language features
2008
© 2007 Microsoft Ltd. 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.