Visual Studio "Orcas" & .NET Framework v3.5

Visual Studio "Orcas" & .NET Framework v3.5

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 .NET Through the Ages 2002 2003 2005 2006

2007 VS2005 + Extensions Orcas Tool (Visual Studio) VS.NET 2002 VS.NET 2003 VS2005

Languages C# v1.0 VB.NET (v7.0) C# v1.1 VB.NET (v7.1) C# v2.0 VB2005 (v8.0) as before C# 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.0 as before as before Green Bits and Red Bits v3.0 v2.0 RTM v2.0. 50727.42 v2.0.

50727.42 v3.5 Redist v3.5.xxxx.xx v3.0.xx Vista RTM v2.0. 50727.xx v3.0 v3.5 Vista Redist v2.0. 50727.312

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 AddIn Model Tour of the IDE

Not as big as VS.NET 2003 -> VS2005 Designed to run great on Windows Vista Comprehensive OOB experience Today VS2005 + SP1 + SP1Update + VSTO2005SE + 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) System.DirectoryServices.AccountManagement.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.WorkflowServices.dll System.ServiceModel.Web.dll System.Data.Linq.dll System.Xml.Linq.dll See all these topics later

in this session System.AddIn.dll, System.AddIn.Contract.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, TimeZone, Diagnostics, Collections, WMI, LINQ, Pipes

System.Core.dll (part 1 of 7) System.Diagnostics. EventSchemaTraceListener High Performance, Logs XML to disk. Disk logging options e.g. circular logging across files Eventing.EventProviderTraceListener Logs to ETW Thread-safe Most performant Eventing.Reader.* PerfomanceData.* Vista-only: wraps Perf* APIs in advapi32.dll 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 OS required MD5 MD5Cng

Windows Vista SHA-1 SHA1Cng Windows Vista SHA256CryptoServiceProvider Windows 2003 SHA256Cng Windows Vista

SHA384CryptoServiceProvider Windows 2003 SHA384Cng Windows Vista SHA512CryptoServiceProvider Windows 2003 SHA512Cng Windows Vista SHA-256

SHA-384 SHA-512 System.Core.dll (part 4 of 7) System.Security.Cryptography Symmetric Algorithms Algorithm Class AES OS required AesCryptoServiceProvider Windows XP SP2 AesManaged

All Supported Platforms Asymmetric Algorithms Algorithm Class OS required Elliptic Curve DSA ECDSACng Windows Vista Elliptic Curve Diffie-Hellman

ECDiffieHellmanCng Windows Vista System.Core.dll (part 5 of 7) System.Collections.Generic.HashSet Unordered collection of unique items Union, intersection and symmetric difference System.TimeZoneInfo Replaces System.TimeZone Convert DateTime from one time TZ to another Create your own TimeZone On Vista, takes advantage of Dynamic Time Zone System.Core.dll (part 6 of 7) System.Threading.ReaderWriterLockSlim

Perf-critical, scalable ReadWriterLock Deadlock-free upgradable read support System.IO.Pipes.* Wrapper for Win32 API Named and anonymous Synchronous and async System.Core.dll (part 7 of 7) LINQ System.Linq.* System.Runtime.CompilerServices.* well see this later in this session Peer To Peer Technology Peer Name Resolution Protocol Name registration

Name resolution No DNS Server Involved Peer to Peer Peer Collaboration API Register applications Discover Peers Invite them to apps More to come? PNRP V1 supported from Windows XP Service Pack 1 onwards V2 supported in Vista (not compatible with V1 ) ( Collaboration - Windows Vista feature) ( All reliant on IPV6 )

P2P Mesh 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 Server Sync

Provider Sync Adapters Sync Table Client DB Sync Group Workflow & Communication Foundation(s) Workflow WCF Send/Receive WorkflowServiceHost Rules Communication Foundation HTTP without SOAP

XML or JSON serialisation RSS + ATOM Support Partial Trust Support Where weve Been, Where were 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 AddIn Model Language Design Goals Simplify querying data Integrate query and transform operations Unify query of data object, relational, and XML And Dont tie language to specific APIs Remain 100% backwards compatible 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 Ribbon Designer Outlook Form Region Designer Custom Action Panes ClickOnce Deployment? ( maybe? )

Mobility in Orcas timeframe mini AGENDA Visual Studio for Devices .NET Compact Framework 3.5 Device Emulator v3 Windows Mobile 6 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 SP2 and 3.5 Updated Compilers , MFC Libraries, Tools Managed

.NET Compact Framework v3.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 v3.5 Windows CE 4.2 ARM, MIPS II, MIPS IV, SH4, X86 Runtime support Windows CE 5.0

ARM, MIPS II, MIPS IV, SH4, X86 Includes headless devices Windows CE 6.0 ARM, MIPS II, MIPS IV, SH4, X86 Includes headless devices Windows Mobile 2003 ARM Pocket PC Pocket PC Phone Edition

Windows Mobile 5.0 ARM Pocket PC Pocket PC Phone Edition Smartphone Windows Mobile 6.0 ARM Classic Standard Professional Device Emulator v2

Faster Performance and Bug fixes Windows Vista support Tablet PC support Skins Updated Config UI Automatic funckey detection Networking Device Emulator v3 Device Emulator Manager interface fully automated Enumerate all installed device emulators images Programmatically connect and cradle emulators Fully automated COM interface IDEMVirtualMachineManager 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 v2 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 itemName in srcExpr join itemName in srcExpr on keyExpr equals keyExpr (into itemName)? let itemName = selExpr where predExpr orderby (keyExpr (ascending | descending)?)* select selExpr group selExpr by keyExpr into itemName query-body Object Relational Mapping API Code Gen Tools LINQ to XML (System.Xml.Linq)

LINQ Pattern from itemName in srcExpr join itemName in srcExpr on keyExpr equals keyExpr (into itemName)? let itemName = selExpr where predExpr orderby (keyExpr (ascending | descending)?)* select selExpr group selExpr by keyExpr into itemName query-body New XML API System.AddIn, System.AddIn.Contract Host provides service to addin or vice versa Discovery is attribute-based with smart caching Reflection only loading from pre-specified directory

find and activate add-ins in 3 lines of code AddIns can be activated in separate AppDomain or process sanboxed and isolated Previous versions can continue to work with new hosts! AddIn Pipeline Summary Visual Studio Orcas Great for Windows Vista Development Great for Office 2007 Development Great for LINQ & .NET Framework v3.5 Great for Web Development

Pretty Spiffy for .NET 2.0 projects too! Multitargeting (and no new CLR) Use the new C#3 and VB9 language features Codename Orcas 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.

Recently Viewed Presentations

  • George Orwell & 1984 - KHHS Super Seniors

    George Orwell & 1984 - KHHS Super Seniors

    George Orwell. Real name is Eric Blair. Born in 1903 in Bengal, a part of the British colony of India. Attended various boarding schools in England from the age of 5 until the age of 18. Lived in Burma after...
  • Présentation PowerPoint - IFA Mauritius - HOME

    Présentation PowerPoint - IFA Mauritius - HOME

    What people have to say about Africa? Tony Blair once described Africa as : "There is no doubt: Africa is changing for the better, the perceptions of Africa are Changing for the better. There is a new sense of hope...
  • PITT Black MBA Network By Kevin Cameron and

    PITT Black MBA Network By Kevin Cameron and

    PITT Black MBA Network By Kevin Cameron and Dr. Pauline Long PITT Alumni Association University of Pittsburgh Alumni Association Clubs Affinity Groups Schools & Colleges Katz Graduate School of Business PBAN Liaison with other Groups - Specifically Affinity Group -...
  • CHAPTER 5: The Integumentary System

    CHAPTER 5: The Integumentary System

    Chapter 5: The Integumentary System ... Lunula ("moons") pale crescent at base of nail where underlying blood vessels may be obscured Structure of a Nail Figure 5-13 * Cutaneous membrane = epidermis + dermis Parts of the Integumentary System Cutaneous...
  • Module 1: Business Management and Strategy 11% PHR

    Module 1: Business Management and Strategy 11% PHR

    PHR Exam Practice Questions: PHR Practice Tests & Review for the Professional in Human Resources Certification Exams . by PHR Exam Secrets Test Prep Team. www.hrci.org. ... Content of the module accounts for 11% of PHR exam and 30% of...
  • Global Strategy to Improve Agricultural and Rural Statistics

    Global Strategy to Improve Agricultural and Rural Statistics

    However, staff turnover may hinder the work, because of the absence of trained data collectors and the discontinuity of data collection. The use of technological tools facilitates the work of data collectors and supports routine data collections frameworks.
  • Presentazione standard di PowerPoint

    Presentazione standard di PowerPoint

    Since 2006 Ryanair made an effort take over the state-owned AerLingus airline. The strategy made totally sense, the merger will allow Ryanairto increase its market share significantly: 80% of all flights between Ireland and other European countries will be operated...
  • Energy from Fossil Fuels - University of Richmond

    Energy from Fossil Fuels - University of Richmond

    Chemical reactions Consists of breaking and forming bonds The formation of bonds always yields energy The breaking of bonds always requires energy The balance between these two processes determines the net energy yield/requirement of a chemical reaction The Fossil Fuels...