36
Visual Studio “Orcas” & .NET Framework v3.5 Mike Taulty, Daniel Moth Developer & Platform Group Microsoft Ltd [email protected] [email protected] http://www.mtaulty.com , http://www.danielmoth.com/Blog

Visual Studio “Orcas” & .NET Framework v3.5

  • Upload
    hina

  • View
    64

  • Download
    0

Embed Size (px)

DESCRIPTION

Visual Studio “Orcas” & .NET Framework v3.5. Mike Taulty, Daniel Moth Developer & Platform Group Microsoft Ltd [email protected] [email protected] http://www.mtaulty.com , http://www.danielmoth.com/Blog. Agenda. Timeline, Packaging Languages Working with Data - PowerPoint PPT Presentation

Citation preview

Page 1: Visual Studio “Orcas” &  .NET Framework v3.5

Visual Studio “Orcas” & .NET Framework v3.5

Mike Taulty, Daniel MothDeveloper & Platform GroupMicrosoft [email protected] [email protected] http://www.mtaulty.com, http://www.danielmoth.com/Blog

Page 2: Visual Studio “Orcas” &  .NET Framework v3.5

Agenda

Timeline, PackagingLanguagesWorking with Data.NET Framework v3.5Client DevelopmentServer Side Development

Page 3: Visual Studio “Orcas” &  .NET Framework v3.5

Timeline, Packaging

Page 4: Visual Studio “Orcas” &  .NET Framework v3.5

.NET Through the Ages

2002 2003 2005 2006 2007

Tool(Visual Studio) VS.NET 2002 VS.NET 2003 VS2005

VS2005+

Extensions“Orcas”

Languages C# v1.0VB.NET (v7.0)

C# v1.1VB.NET (v7.1)

C# v2.0VB2005 (v8.0) as before

C# v3.0VB9

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.0 as before as before

Page 5: Visual Studio “Orcas” &  .NET Framework v3.5

Languages

Page 6: Visual Studio “Orcas” &  .NET Framework v3.5

Language Design GoalsSimplify querying data

Integrate query and transform operationsUnify query of data

– object, relational, and XML

AndDon’t tie language to specific APIsRemain 100% backwards compatible

Page 7: Visual Studio “Orcas” &  .NET Framework v3.5

LINQ to Objects

Page 8: Visual Studio “Orcas” &  .NET Framework v3.5

Language Innovationsvar contacts = from c in customers where c.City == "Hove" select new { c.Name, c.Phone };

var contacts = customers .Where(c => c.City == "Hove") .Select(c => new { c.Name, c.Phone });

Extension methods

Lambda expressions

Query expressions

Object initializers

Anonymous types

Local variable type inference

Page 9: Visual Studio “Orcas” &  .NET Framework v3.5

Working with Data

Page 10: Visual Studio “Orcas” &  .NET Framework v3.5

LINQ to SQL (System.Data.Linq)

LINQ Pattern from itemName in srcExpr join itemName in srcExpr on keyExpr equals keyExpr

(into itemName)?let itemName = selExprwhere predExprorderby (keyExpr (ascending | descending)?)*select selExprgroup selExpr by keyExpr into itemName query-body

Object Relational Mapping API

Code Gen Tools

Page 11: Visual Studio “Orcas” &  .NET Framework v3.5

LINQ to SQL

Page 12: Visual Studio “Orcas” &  .NET Framework v3.5

LINQ Pattern from itemName in srcExpr join itemName in srcExpr on keyExpr equals keyExpr

(into itemName)?let itemName = selExprwhere predExprorderby (keyExpr (ascending | descending)?)*select selExprgroup selExpr by keyExpr into itemName query-body

New XML API

LINQ to XML (System.Xml.Linq)

Page 13: Visual Studio “Orcas” &  .NET Framework v3.5

LINQ to XML

Page 14: Visual Studio “Orcas” &  .NET Framework v3.5

ADO.NET Synchronisation Services

Synchronisation FrameworkOnline/Offline Applications2-tier, N-tier architectures

Client DatabaseSQL Server Compact Edition

Server DatabaseAny OLEDB compliant store

“Service” Based Approach

Client DB

Server DB

Page 15: Visual Studio “Orcas” &  .NET Framework v3.5
Page 16: Visual Studio “Orcas” &  .NET Framework v3.5

Agenda

Timeline, PackagingLanguagesWorking with Data.NET Framework v3.5Client Development

Windows, Office, WebServer Side Development

Page 17: Visual Studio “Orcas” &  .NET Framework v3.5

.NET Framework 3.5

Page 18: Visual Studio “Orcas” &  .NET Framework v3.5

Fx 3.5 - “Green Bits” and “Red Bits”

v2.0.50727.42

v2.0 RTM

v2.0.50727.312

v3.0

Vista RTM

v3.0

v2.0.50727.42

v3.0.xx

v3.5.xxxx.xx

v2.0.50727.xx

v3.5 Vista Redist

v3.5 Redist

Page 19: Visual Studio “Orcas” &  .NET Framework v3.5

Multitargeting

Page 20: Visual Studio “Orcas” &  .NET Framework v3.5

Fx 3.5 (green bits)

System.Data.Linq.dllSystem.Xml.Linq.dllSystem.Web.Extensions.dllSystem.DirectoryServices.AccountManagement.dllSystem.Management.Instrumentation.dllSystem.AddIn.dll, System.AddIn.Contract.dllSystem.Net.dllSystem.WorkflowServices.dllSystem.ServiceModel.Web.dllSystem.Core.dll

Page 21: Visual Studio “Orcas” &  .NET Framework v3.5

System.Core

Page 22: Visual Studio “Orcas” &  .NET Framework v3.5

Client Development

Page 23: Visual Studio “Orcas” &  .NET Framework v3.5

Windows Applications

Windows Presentation FoundationVisual Designer Integrated into IDE

Windows FormsClickOnce For FireFoxConsume ASP.NET Provider ServicesBetter WPF InteroperablityUAC Manifests

Page 24: Visual Studio “Orcas” &  .NET Framework v3.5

Windows Development

Page 25: Visual Studio “Orcas” &  .NET Framework v3.5

Office 2007 Development

2003 & 2007 Support2007 Customisations

Document LevelApplication LevelOffice Ribbon DesignerOutlook Form Region DesignerCustom Action PanesClickOnce Deployment? ( maybe? )

Page 26: Visual Studio “Orcas” &  .NET Framework v3.5

Office in “Orcas”

Page 27: Visual Studio “Orcas” &  .NET Framework v3.5

Web Applications

Microsoft AJAX LibrariesIDE Enhancements

New HTML EditorRich support for CSSJavascript IntelliSense

Page 28: Visual Studio “Orcas” &  .NET Framework v3.5

Web Development

Page 29: Visual Studio “Orcas” &  .NET Framework v3.5

Mobility in “Orcas” timeframeMini Agenda

Visual Studio for Devices.NET Compact Framework 3.5Device Emulator v3Windows Mobile 6

Page 30: Visual Studio “Orcas” &  .NET Framework v3.5

Mobile Development

Page 31: Visual Studio “Orcas” &  .NET Framework v3.5

Server Development

Page 32: Visual Studio “Orcas” &  .NET Framework v3.5

Workflow & Communication Foundation(s)

WorkflowWCF Send/ReceiveWorkflowServiceHost

Communication FoundationHTTP without SOAP

– XML or JSON serialisation

RSS + ATOM SupportPartial Trust Support

Page 33: Visual Studio “Orcas” &  .NET Framework v3.5

WCF and WF

Page 34: Visual Studio “Orcas” &  .NET Framework v3.5

SummaryVisual Studio “Orcas”

Great for Windows Vista DevelopmentGreat for Office 2007 DevelopmentGreat for LINQ & .NET Framework v3.5Great for Web DevelopmentPretty Spiffy for .NET 2.0 projects too!

– Multitargeting (and no new CLR)– Use the new C#3 and VB9 language features

Page 35: Visual Studio “Orcas” &  .NET Framework v3.5

http://www.danielmoth.com/Blog

http://www.mtaulty.com

Page 36: Visual Studio “Orcas” &  .NET Framework v3.5

© 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.