370 likes | 527 Vues
Explore the powerful features of Visual Studio "Orcas" and .NET Framework 3.5 in this comprehensive overview by Mike Taulty and Daniel Moth from Microsoft. Learn about the innovations in LINQ, data querying with integrated operations, and the introduction of language design goals aimed at simplifying developer tasks. Discover enhancements in client and server development, support for Office 2007, and the development of online/offline applications. This session will provide insights into the multitargeting capabilities and new IDE features that enhance productivity for developers working with Microsoft technologies.
E N D
Visual Studio “Orcas” & .NET Framework v3.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
Agenda • Timeline, Packaging • Languages • Working with Data • .NET Framework v3.5 • Client Development • Server Side Development
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 Query expressions var contacts = from c in customers where c.City== "Hove" select new { c.Name, c.Phone }; Local variable type inference Lambda expressions var contacts = customers .Where(c => c.City== "Hove") .Select(c => new { c.Name, c.Phone }); Extension methods Object initializers Anonymous types
LINQ to SQL (System.Data.Linq) LINQ Pattern fromitemNameinsrcExpr join itemNameinsrcExpronkeyExprequalskeyExpr (intoitemName)? letitemName= selExpr wherepredExpr orderby(keyExpr(ascending| descending)?)* selectselExpr group selExprbykeyExpr intoitemName query-body Object Relational Mapping API Code Gen Tools
LINQ to XML(System.Xml.Linq) LINQ Pattern fromitemNameinsrcExpr join itemNameinsrcExpronkeyExprequalskeyExpr (intoitemName)? letitemName= selExpr wherepredExpr orderby(keyExpr(ascending| descending)?)* selectselExpr group selExprbykeyExpr intoitemName query-body New XML API
ADO.NET Synchronisation Services • Synchronisation Framework • Online/Offline Applications • 2-tier, N-tier architectures • Client Database • SQL Server Compact Edition • Server Database • Any OLEDB compliant store • “Service” Based Approach Server DB Client DB
Agenda • Timeline, Packaging • Languages • Working with Data • .NET Framework v3.5 • Client Development • Windows, Office, Web • Server Side Development
Fx 3.5 - “Green Bits” and “Red Bits” v3.0 v2.0 RTM v3.5.xxxx.xx v2.0. 50727.42 v2.0. 50727.42 v3.0.xx Vista RTM v2.0. 50727.xx v3.0 v3.5 Vista Redist v3.5 Redist v2.0. 50727.312
Fx 3.5 (green bits) • System.Data.Linq.dll • System.Xml.Linq.dll • System.Web.Extensions.dll • System.DirectoryServices.AccountManagement.dll • System.Management.Instrumentation.dll • System.AddIn.dll, System.AddIn.Contract.dll • System.Net.dll • System.WorkflowServices.dll • System.ServiceModel.Web.dll • System.Core.dll
Windows Applications • Windows Presentation Foundation • Visual Designer Integrated into IDE • Windows Forms • ClickOnce For FireFox • Consume ASP.NET Provider Services • Better WPF Interoperablity • UAC Manifests
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? )
Web Applications • Microsoft AJAX Libraries • IDE Enhancements • New HTML Editor • Rich support for CSS • Javascript IntelliSense
Mobility in “Orcas” timeframe • Mini Agenda • Visual Studio for Devices • .NET Compact Framework 3.5 • Device Emulator v3 • Windows Mobile 6
Workflow & Communication Foundation(s) • Workflow • WCF Send/Receive • WorkflowServiceHost • Communication Foundation • HTTP without SOAP • XML or JSON serialisation • RSS + ATOM Support • Partial Trust Support
Summary Codename “Orcas” • 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
http://www.danielmoth.com/Blog • http://www.mtaulty.com