Visual Studio Orcas NET Framework v 3 5

  • Slides: 37
Download presentation
Visual Studio “Orcas” & . NET Framework v 3. 5 Mike Taulty, Daniel Moth

Visual Studio “Orcas” & . NET Framework v 3. 5 Mike Taulty, Daniel Moth Developer & Platform Group Microsoft Ltd Mike. Taulty@microsoft. com Daniel. Moth@microsoft. com http: //www. mtaulty. com, http: //www. danielmoth. com/Blog

. NET Through the Ages 2002 2003 2005 2006 2007 VS 2005 + Extensions

. NET Through the Ages 2002 2003 2005 2006 2007 VS 2005 + Extensions “Orcas” Tool (Visual Studio) VS. NET 2002 VS. NET 2003 VS 2005 Languages C# v 1. 0 VB. NET (v 7. 0) C# v 1. 1 VB. NET (v 7. 1) C# v 2. 0 VB 2005 (v 8. 0) as before C# v 3. 0 VB 9 Framework Libraries Net. Fx v 1. 0 Net. Fx v 1. 1 Net. Fx v 2. 0 Net. Fx v 3. 5 Engine (CLR) CLR v 1. 0 CLR v 1. 1 CLR v 2. 0 as before

“Green Bits” and “Red Bits” v 3. 0 v 2. 0 RTM v 2.

“Green Bits” and “Red Bits” v 3. 0 v 2. 0 RTM v 2. 0. 50727. 42 v 3. 5 Redist v 3. 5. xxxx. xx v 3. 0. xx Vista RTM v 2. 0. 50727. xx v 3. 0 v 3. 5 Vista Redist v 2. 0. 50727. 312

Agenda Scene Setting Tour of IDE Tour of Fx 3. 5 Peer-to-Peer ADO. NET

Agenda Scene Setting Tour of IDE Tour of Fx 3. 5 Peer-to-Peer ADO. NET Sync Services Fx 3. 0 in “Orcas” LINQ (to objects) Office Development Mobility LINQ to SQL LINQ to XML Add. In Model

Tour of the IDE Not as big as VS. NET 2003 -> VS 2005

Tour of the IDE Not as big as VS. NET 2003 -> VS 2005 Designed to run great on Windows Vista Comprehensive OOB experience Today – VS 2005 + SP 1 Update + VSTO 2005 SE + WF Extensions + WPF/WCF Extensions etc With “Orcas” you get it all plus more Multitargeting Aesthetic and usability improvements

. NET Framework 3. 5 – part 1 of 3 Green bits (new assemblies)

. NET Framework 3. 5 – part 1 of 3 Green bits (new assemblies) System. Directory. Services. Account. Management. dll – A managed API for users, groups, etc. – Based on SDS/ADSI under the hood – Works with ADAM as well as AD System. Management. Instrumentation. dll – WMI. NET Provider Extension 2. 0 – Improved scalability for large collections of WMI entities System. Web. Extensions. dll

. NET Framework 3. 5 – part 2 of 3 System. Net. dll System.

. NET Framework 3. 5 – part 2 of 3 System. Net. dll System. Workflow. Services. dll System. Service. Model. Web. dll System. Data. Linq. dll System. Xml. Linq. dll See all these topics later in this session System. Add. In. dll, System. Add. In. Contract. dll

. NET Framework 3. 5 – part 3 of 3 System. Core. dll –

. NET Framework 3. 5 – part 3 of 3 System. Core. dll – 17 namespaces! – 11 with less than 6 types – Remember the red bits vs green bits? – Almost all of System. Core. dll could have been in mscorlib. dll – No single focus – Threading, Security, Time. Zone, Diagnostics, Collections, WMI, LINQ, Pipes

System. Core. dll (part 1 of 7) System. Diagnostics. Event. Schema. Trace. Listener –

System. Core. dll (part 1 of 7) System. Diagnostics. Event. Schema. Trace. Listener – High Performance, Logs XML to disk. – Disk logging options e. g. circular logging across files Eventing. Event. Provider. Trace. Listener – Logs to ETW – Thread-safe – Most performant Eventing. Reader. * Perfomance. Data. * – Vista-only: wraps Perf* APIs in advapi 32. dll

System. Core. dll (part 2 of 7) System. Security. Cryptography Suite B support: AES

System. Core. dll (part 2 of 7) System. Security. Cryptography Suite B support: AES – FIPS-certified implementations of SHA and AES Elliptic Curve Diffie Hellman and Elliptic Curve Digital Signature Algorithm – Built on CNG in Vista

System. Core. dll (part 3 of 7) System. Security. Cryptography Hash Algorithms Algorithm Class

System. Core. dll (part 3 of 7) System. Security. Cryptography Hash Algorithms Algorithm Class OS required MD 5 Cng Windows Vista SHA-1 SHA 1 Cng Windows Vista SHA 256 Crypto. Service. Provider Windows 2003 SHA 256 Cng Windows Vista SHA 384 Crypto. Service. Provider Windows 2003 SHA 384 Cng Windows Vista SHA 512 Crypto. Service. Provider Windows 2003 SHA 512 Cng Windows Vista SHA-256 SHA-384 SHA-512

System. Core. dll (part 4 of 7) System. Security. Cryptography Symmetric Algorithms Algorithm Class

System. Core. dll (part 4 of 7) System. Security. Cryptography Symmetric Algorithms Algorithm Class AES OS required Aes. Crypto. Service. Provider Windows XP SP 2 Aes. Managed All Supported Platforms Asymmetric Algorithms Algorithm Class OS required Elliptic Curve DSA ECDSACng Windows Vista Elliptic Curve Diffie-Hellman ECDiffie. Hellman. Cng Windows Vista

System. Core. dll (part 5 of 7) System. Collections. Generic. Hash. Set Unordered collection

System. Core. dll (part 5 of 7) System. Collections. Generic. Hash. Set Unordered collection of unique items Union, intersection and symmetric difference System. Time. Zone. Info Replaces System. Time. Zone Convert Date. Time from one time TZ to another Create your own Time. Zone On Vista, takes advantage of Dynamic Time Zone

System. Core. dll (part 6 of 7) System. Threading. Reader. Writer. Lock. Slim Perf-critical,

System. Core. dll (part 6 of 7) System. Threading. Reader. Writer. Lock. Slim Perf-critical, scalable Read. Writer. Lock Deadlock-free upgradable read support System. IO. Pipes. * Wrapper for Win 32 API Named anonymous Synchronous and async

System. Core. dll (part 7 of 7) LINQ System. Linq. * System. Runtime. Compiler.

System. Core. dll (part 7 of 7) LINQ System. Linq. * System. Runtime. Compiler. Services. * we’ll see this later in this session

Peer To Peer Technology Peer Name Resolution Protocol Name registration Name resolution No DNS

Peer To Peer Technology Peer Name Resolution Protocol Name registration Name resolution No DNS Server Involved Peer to Peer Collaboration API Register applications Discover Peers Invite them to apps More to come? PNRP V 1 supported from Windows XP Service Pack 1 onwards V 2 supported in Vista (not compatible with V 1 ) ( Collaboration - Windows Vista feature) ( All reliant on IPV 6 ) P 2 P Mesh

ADO. NET Synchronisation Services Synchronisation Framework Online/Offline Applications 2 -tier, N-tier architectures Server DB

ADO. NET Synchronisation Services Synchronisation Framework Online/Offline Applications 2 -tier, N-tier architectures Server DB Client Database SQL Server Compact Edition Server Database Any OLEDB compliant store “Service” Based Approach Client DB

ADO. NET Synchronisation Services Server DB Transport Client Sync Provider Proxy Sync Agent Service

ADO. NET Synchronisation Services Server DB Transport Client Sync Provider Proxy Sync Agent Service Server Sync Provider Sync Adapters Sync Table Client DB Sync Group

Workflow & Communication Foundation(s) Workflow WCF Send/Receive Workflow. Service. Host Rules Communication Foundation HTTP

Workflow & Communication Foundation(s) Workflow WCF Send/Receive Workflow. Service. Host Rules Communication Foundation HTTP without SOAP – XML or JSON serialisation RSS + ATOM Support Partial Trust Support

Where we’ve Been, Where we’re Going Scene Setting Tour of IDE Tour of Fx

Where we’ve Been, Where we’re Going Scene Setting Tour of IDE Tour of Fx 3. 5 Peer-to-Peer ADO. NET Sync Services Fx 3. 0 in “Orcas” LINQ (to objects) Office Development Mobility LINQ to SQL LINQ to XML Add. In Model

Language Design Goals Simplify querying data Integrate query and transform operations Unify query of

Language Design Goals Simplify querying data Integrate query and transform operations Unify query of data – object, relational, and XML And Don’t tie language to specific APIs Remain 100% backwards compatible

Language Innovations Local variable type inference var contacts = from c in customers where

Language Innovations Local variable type inference var contacts = from c in customers where c. City == "Hove" select new { c. Name, c. Phone }; Query expressions Lambda expressions var contacts = customers . Where(c => c. City == "Hove") . Select(c => new { c. Name, c. Phone }); Extension methods Anonymous types Object initializers

Office 2007 Development 2003 & 2007 Support 2007 Customisations Document Level Application Level Office

Office 2007 Development 2003 & 2007 Support 2007 Customisations Document Level Application Level Office Ribbon Designer Outlook Form Region Designer Custom Action Panes Click. Once Deployment? ( maybe? )

Mobility in “Orcas” timeframe mini AGENDA Visual Studio for Devices. NET Compact Framework 3.

Mobility in “Orcas” timeframe mini AGENDA Visual Studio for Devices. NET Compact Framework 3. 5 Device Emulator v 3 Windows Mobile 6

Visual Studio “Orcas” Enhancements Unit Testing for Devices Device Configuration Manager Device Certificate Manager

Visual Studio “Orcas” Enhancements Unit Testing for Devices Device Configuration Manager Device Certificate Manager Device Emulator Version 3. 0 Windows Mobile 5. 0 SDK is in-the-box. NET Compact Framework 2. 0 SP 2 and 3. 5 Updated Compilers , MFC Libraries, Tools Managed Core. Con Framework

. NET Compact Framework v 3. 5 Distributed, occasionally-connected applications Support new language features

. NET Compact Framework v 3. 5 Distributed, occasionally-connected applications Support new language features New and improved diagnostic tools Customer feature requests Maintain performance, size and compatibility

. NET Compact Framework v 3. 5 Windows CE 4. 2 ARM, MIPS II,

. NET Compact Framework v 3. 5 Windows CE 4. 2 ARM, MIPS II, MIPS IV, SH 4, X 86 Runtime support Windows CE 5. 0 ARM, MIPS II, MIPS IV, SH 4, X 86 Includes headless devices Windows CE 6. 0 ARM, MIPS II, MIPS IV, SH 4, X 86 Includes headless devices Windows Mobile 2003 ARM Pocket PC Phone Edition Smartphone ARM Classic Standard Professional Windows Mobile 5. 0 Windows Mobile 6. 0

Device Emulator v 2 Faster Performance and Bug fixes Windows Vista support Tablet PC

Device Emulator v 2 Faster Performance and Bug fixes Windows Vista support Tablet PC support Skins Updated Config UI Automatic funckey detection Networking

Device Emulator v 3 Device Emulator Manager interface fully automated Enumerate all installed device

Device Emulator v 3 Device Emulator Manager interface fully automated Enumerate all installed device emulators images Programmatically connect and cradle emulators Fully automated COM interface – IDEMVirtual. Machine. Manager Access to interfaces via VBScript XML config file to configure emulator instances Easily-customizable alternative to DE command line New. decfg file format Save emulator settings under “My Device Emulators” Read and reconfigure emulator settings at run time via code DEM UI changes to mirror automation interfaces

Windows Mobile 6 Development Platform . NET Compact Framework v 2 in ROM SQL

Windows Mobile 6 Development Platform . NET Compact Framework v 2 in ROM SQL Server Compact Edition in ROM Compatibility with Windows Mobile 5. 0 Support for Basic AJAX Applications New native APIs New Windows Mobile 6 SDK

LINQ to SQL (System. Data. Linq) LINQ Pattern from item. Name in src. Expr

LINQ to SQL (System. Data. Linq) LINQ Pattern from item. Name in src. Expr join item. Name in src. Expr on key. Expr equals key. Expr (into item. Name)? let item. Name = sel. Expr where pred. Expr orderby (key. Expr (ascending | descending)? )* select sel. Expr group sel. Expr by key. Expr into item. Name query-body Object Relational Mapping API Code Gen Tools

LINQ to XML (System. Xml. Linq) LINQ Pattern from item. Name in src. Expr

LINQ to XML (System. Xml. Linq) LINQ Pattern from item. Name in src. Expr join item. Name in src. Expr on key. Expr equals key. Expr (into item. Name)? let item. Name = sel. Expr where pred. Expr orderby (key. Expr (ascending | descending)? )* select sel. Expr group sel. Expr by key. Expr into item. Name query-body New XML API

System. Add. In, System. Add. In. Contract Host provides service to addin or vice

System. Add. In, System. Add. In. Contract Host provides service to addin or vice versa Discovery is attribute-based with smart caching Reflection only loading from pre-specified directory find activate add-ins in 3 lines of code Add. Ins can be activated in separate App. Domain or process sanboxed and isolated Previous versions can continue to work with new hosts!

Add. In Pipeline

Add. In Pipeline

Summary Visual Studio “Orcas” Great for Windows Vista Development Great for Office 2007 Development

Summary Visual Studio “Orcas” Great for Windows Vista Development Great for Office 2007 Development Great for LINQ &. NET Framework v 3. 5 Great for Web Development Pretty Spiffy for. NET 2. 0 projects too! – Multitargeting (and no new CLR) – Use the new C#3 and VB 9 language features Codename “Orcas”

© 2007 Microsoft Ltd. All rights reserved. Microsoft, Windows Vista and other product names

© 2007 Microsoft Ltd. All rights reserved. Microsoft, 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.