Visual Studio 2008 & .NET 3.5 Overview 4/16/2017 9:31 AM Ken Casada Developer Evangelist Microsoft Switzerland kcasada@microsoft.com http://blogs.msdn.com/swiss_dpe_team Visual Studio 2008 & .NET 3.5 Overview © 2007 Microsoft Corporation. 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.
Clarify version confusion… Visual Studio 2008 .NET Framework 3.5 .NET Framework 3.0 + SP1 .NET Framework 2.0 + SP1 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation Windows CardSpace
Windows Server 2008 What’s included with Windows Server 2008? Fresh Install .NET Framework 2.0 w/SP1 App Server Role .NET Framework 3.0 w/SP1 Windows Update .NET Framework 3.5 What’s included with Windows Server 2008?
Visual Studio 2008 Design Goals Best tool set for Windows Server 2008, Windows Vista & Microsoft Office 2007 .NET Framework 3.5 design surfaces Office 2007 support including ClickOnce and VSTO MFC support for Vista common controls Improvements for Web Developers HTML / CSS designer enhancements Integrated AJAX and JavaScript support Language advances .NET Framework multi-targeting support Improved Data & Language integration in VB / C#
Visual Studio Enhancements Side-by-Side support Visual Studio 2008 side–by-side with previous versions Multi-targeting Target multiple versions of the framework from a single tool - Visual Studio 2008 Supports framework versions 2.0, 3.0, and 3.5 Enables only features available in target framework Toolbox, Project types, References, Intellisense, … Making is easy to upgrade to Visual Studio 2008 Unit Testing Now available in all editions of Visual Studio Professional
VS 2008 Multi-Targeting Support and …
Web Applications Integrated support for ASP.NET AJAX 1.0 Included in the .NET Framework 3.5 ASP.NET AJAX Project Templates Web Application Projects included in Visual Studio Visual Studio makes Javascript a first class development experience with IntelliSense, Debugging and Syntax coloring Richer HTML/CSS Designer Support Split View (simultaneous source and designer) Nested Master Page preview in designer CSS Properties, Manage/Apply Styles windows, and direct style application toolbar Improved CSS/HTML layout and visualization in designer New Web data controls: LinqDataSource, ListView, DataPager
VS 2008 HTML Designer Massively improved HTML designer Same WYSIWYG designer engine as in Expression Web New capabilities: Fast designer/source switching Split view designer enables you to see your HTML from a source and design perspective at the same time. Nested master pages Rich Cascading Style Sheets support: See a filtered list of which styles are being in a page or selection Visually apply styles to elements Intellisense for CSS styles in the markup editor Enable better designer/developer workflow (Expression web understands the Visual Studio project structures and ASP.NET controls)
CSS Design Support
Visual Studio 2008 AJAX Support All ASP.NET AJAX 1.0 features included in .NET 3.5 New enhancements in .NET 3.5 Support for WCF JSON Endpoint Improved Performance JavaScript Intellisense & Debugging Code Intellisense for client-side JavaScript Integrated editor support for ASP.NET AJAX JS Library Intellisense against JSON enabled .asmx web services/WCF services Breakpoints in .aspx documents ASP.NET AJAX Extender Control Support Easy design-time to attach extenders New ASP.NET Controls (<asp:ListView>, <asp:LinqDataSource>…)
ASP.NET AJAX Control Toolkit Separate download from core ASP.NET AJAX Great library of free ASP.NET AJAX enabled controls Download from http://ajax.asp.net/ Developed using a collaborative source model All source freely available with modification license Both Microsoft & non-Microsoft developers can contribute Already contains 40 really cool controls
- VS2008 JavaScript Support - ASP.NET AJAX Integration
ASP.NET "Futures" Release First look at more upcoming features for ASP.NET These will ship as a separate download after Visual Studio 2008 A few features included in it today: <asp:History> control <asp:Diagnostics> control <asp:media> control <asp:xaml> control CSS Control Selectors support in ASP.NET AJAX New Dynamic Data Controls
ListView New data-bound control Evolution of DataList and Repeater Designer-friendly Full control over markup, including container Use CSS to style layout Bind arbitrary elements (e.g. <select>)
DataPager Follows extender model Add paging to any control that supports it (e.g. ListView) Flexible layout – choose from a number of fields to create a customized pager
LinqDataSource Easy data-binding against a LINQ query Supports efficient paging and sorting Optionally allow editing and deleting Filter with “where clauses” Take full advantage of LINQ ORM to do business validation
Windows Applications Visual Studio Designer for WPF (“Cider”) XAML-based editing directly in the IDE Changes reflected in the designer in real-time XAML IntelliSense Selection Synchronization Expression Blend Integration Shared Project Format Firefox Support for XBAPs HTTP Cookie Support Access the data from HTTP Requests Side-by-side support for Winforms ClickOnce Deployment Support for WPF Apps Project Templates, Debugger & Deployment Support
Application Model In 3.0, Web Service Support for XBAPs 4/16/2017 9:31 AM Application Model In 3.0, Web Service Support for XBAPs XML via WebRequest ASMX Web Services In 3.5, WCF Service Support for XBAPs (!) Via basicHttpBinding Huge better-together story © 2007 Microsoft Corporation. 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.
- WinForm and WPF Interop - Visual Studio Designer for WPF
WCF & WF WF Activities to consume WCF services Function similarly to the InvokeWebService activity available today Hosting extensions to expose WF workflows as WCF services (Messaging activities/ send, receive) Integrated developer tools in Visual Studio 2008 Autohost & test client Add Service Reference Integrated WF Designer Project & item templates WCF Configuration Editor New enhancements in .NET 3.5 Partial Trust Syndication JSON serialization & ASP.NET AJAX integration HTTP Programming Model
ADO.NET Data Services (Microsoft Codename "Astoria" ) http://astoria.mslivelabs.com
Visual Studio Tools for Office 2005 Visually build Microsoft Office applications with the power of Visual Studio 2003 2005 SE 2007 2003 Take advantage of key components of the 2007 Microsoft Office system Focus on App-level Add-Ins 3.0 Build Office Business Applications including support for SharePoint workflow VSTO becomes part of VS Pro! 2007 2003
VSTO “3.0” Keys Features Document-level add-ins for Excel 2007 & Word 2007 & InfoPath 2007 Application-level add-ins for most client programs (both Office 2003 & Office 2007) new MS Project Provides integrated visual designers for: Word and Excel documents and templates Fluent Ribbon Task & Action panes Outlook Form Regions Workflow & SharePoint Support Data Binding in Word Content Controls
VSTO “3.0” Keys Features VBA VSTO Interoperability ServerDocument – manipulate documents without automating Office ClickOnce Deployment (just for Office 2007) Prerequisites: .NET FW 3.5 VSTO 3.0 Runtime Office 2007 Primary Interop Assembly
VSTO “3.0" Word, Excel, PowerPoint, Outlook, Visio, Project Office 2003 Office Programs 2007 TaskPanes, Ribbons, Outlook Form Regions, … Add-ins Doc-level VSTO "3.0" .NET 3.5 Word, Excel, PowerPoint, Outlook, Visio, Project Word, Excel Word, Excel, PowerPoint, Outlook, InfoPath, Visio, Project (Outlook Forms Regions Designer) Word, Excel, InfoPath (Content Controls support) - ClickOnce Deployment Ribbon Designer © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
VSTO “3.0” (Word Content Controls)
TaskPanes, Ribbons, Outlook Form Regions, … VSTO "3.0" Office 2003 Pro Edition Office Programs 2007 TaskPanes, Ribbons, Outlook Form Regions, … Add-ins Doc-level VSTO "3.0" .NET 2.0 or 3.0 Word, Excel, PowerPoint, Outlook, Visio, Project Word, Excel - InfoPath .NET 3.5 Word, Excel, PowerPoint, Outlook, InfoPath, Visio, Project (Outlook Forms Regions Designer) Word, Excel, InfoPath (Content Controls support) ClickOnce Deployment Ribbon Designer © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Custom Task & Actions Panes VSTO simplifies and speeds up task pane UI design process with visual designers and .NET hookup Actions Pane Associated with a specific Word or Excel document More robust, easier to program alternative to Office’s built-in “Smart Document” Technology Custom Task Pane The same general idea as Actions Pane, only on the application add-in level, not individual document
Custom Task Panes: MDI vs. SDI New custom task pane model not tied to the document Its behavior is dependent upon the distinction between MDI and SDI MDI (Multiple Document Interface) SDI (Single Document Interface) Applications: Excel, PowerPoint InfoPath, Outlook, Word Window behavior: Single application frame, document windows inside Each document window is in its own application frame Task pane behavior: Single task pane associated with the application frame Each document window has its own task pane
Mobile Applications Visual Studio Tools for Devices Unit Testing for Device Applications Device Emulator 3.0 – Certificate support, Xml config Broad Platform and runtime Support .NET Compact Framework 3.5 Support for LINQ (XML, Objects and Dataset) Windows Communication Foundation CLR Profiler / Performance Monitor BCL enhancements: Compression support, Client-side certificates, Sound APIs
.NET Language Integrated Query LINQ C# 3.0 VB 9.0 Others… .NET Language Integrated Query LINQ to Objects LINQ to DataSets LINQ to SQL LINQ to XML Relational <book> <title/> <author/> <year/> <price/> </book> XML Objects
LINQ to SQL
Resources MSDN developer center Overview of “Orcas” whitepaper 4/16/2017 9:31 AM Resources MSDN developer center http://msdn2.microsoft.com/en-us/vstudio/aa700830.aspx Overview of “Orcas” whitepaper http://go.microsoft.com/?linkid=6625887
4/16/2017 9:31 AM Resources – Cider Cider MSDN Forum http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=169&SiteID=1 Cider Channel9 Wiki http://channel9.msdn.com/wiki/default.aspx/Cider.HomePage Blogs James Nakashima http://blogs.msdn.com/jnak/ Brian Pepin http://www.urbanpotato.net/ Chuck Jazdzewski http://www.removingalldoubt.com/ Richard Bailey http://myfun.spaces.live.com/blog/
Resources – Services & Workflow 4/16/2017 9:31 AM MSDN Developer Center http://msdn.microsoft.com/webservices/ Forums http://forums.microsoft.com/msdn/showforum.aspx?forumid=123 Blogs Matt Winkler http://blogs.msdn.com/mwinkle Justin Smith http://blogs.msdn.com/justinjsmith Vittorio Bertocci http://blogs.msdn.com/vbertocci Steve Maine http://hyperthink.net/blog Community sites http://www.netfx3.com
Resources – VSTO Blogs VSTO Team Blog – http://blogs.msdn.com/vsto2 Eric Carter (VSTO Team Member) - http://blogs.msdn.com/eric_carter/ Andrew Whitechapel (VSTO Team Member) - http://blogs.msdn.com/andreww/default.aspx John Durant (VSTO Team Member) - https://blogs.msdn.com/johnrdurant/default.aspx Paul Stubbs (VSTO Team Member) – http://blogs.msdn.com/pstubbs/ Mike Hernandez (VSTO Product Manager) – http://blogs.msdn.com/mikeh/default.aspx Kathleen McGrath (UE Team Writer) - http://blogs.msnd.com/kathleen Office Zealot Site (Tim Huckaby) - http://www.officezealot.com/VSTO/bloghome.aspx Visual Studio Tools for Office Developer Center on MSDN http://msdn.microsoft.com/office/tool/vsto/default.aspx Forums http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=16&SiteID=1
Resources – Mobile Applications .NET Compact Framework Developer Center http://msdn2.microsoft.com/en-us/netframework/aa497273.aspx MSDN Forums: Smart Device Development http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=11 Blogs .NET Compact Framework Team http://blogs.msdn.com/netcfteam David Kline http://blogs.msdn.com/davidklinems Case Studies http://www.microsoft.com/casestudies/search.aspx?ProTaxID=1714
Questions?
4/16/2017 9:31 AM © 2007 Microsoft Corporation. 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. © 2007 Microsoft Corporation. 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.