MSDN Dec2007


Published on

This is the deck I presented at Irvine, CA and Riverside, CA in December 2007

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Have you ever had to test code under development against the "production" version of your database, simply because it was the only copy that was the "truth?" If so, you know first-hand the challenges of managing a database as it moves throughout the software development life cycle. Visual Studio Team Edition for Database Professionals (VSTE-DB Pro), scheduled for release in late 2006, extends the Visual Studio Team System with progressive tools that make it easier to create and test applications that work with databases. In this session, you'll learn best practices for keeping your development, test and production databases in sync from a schema and data perspective. We'll explore how to create and version database schemas, and how to utilize schemas for 'off-line' development against a database schema. You'll see how to create test data that truly mimics real data, and how to use Unit Tests to validate your application against a database. Finally, we'll explore how to manage database schema changes using Team Foundation Server – making database development a true participant in the software development life cycle. --- Virtually all software today supports a discrete series of business steps known as a workflow. Until now, applications needed to implement their own workflow management framework. With Windows Workflow Foundation, one of the pillars of the .NET Framework 3.0, you get a programming model, engine and toolkit for quickly building workflow-enabled applications on Windows. In this session, we’ll introduce you to concepts including activities, business rules, control flow, state management, and more. You’ll see how to model both human and system workflow and we’ll explore the architecture of Windows Workflow Foundation, including how to design, build and debug workflows. At the end of this session, you’ll know how to effectively use workflows in everyday applications. --- designers that supports today’s modern Web standards, including XHTML, CSS, XML and XSLT. Strong support for standards enables designers and developers to create Web sites that will render more accurately across multiple Web browsers, saving time and frustration. Expression Web also includes integrated support of ASP.NET 2.0, which enables you to work with controls in Expression Web and Visual Studio. Adding Expression Web to your toolset complements your development experience in Visual Studio with a great design experience. In this session, you’ll get up close and personal with Expression Web’s top features and learn how they can simplify your Web design and development process. You’ll gain a deeper understanding of user experience, the professional user interface of Expression Web, and Expression Web’s powerful CSS functionality. You’ll also learn how to work with XML data and ASP.NET 2.0 controls in Expression Web. Finally, we’ll show you how to deploy your applications to the Web.
  • MSDN Dec2007

    1. 1. <ul><li>Lynn Langit Southern California MSDN developer evangelist </li></ul><ul><li> </li></ul><ul><li> </li></ul>
    2. 2. BUSINESS AND TECHNICAL EXECUTIVES SMALL BUSINESS IT PROFESSIONALS IT DEVELOPERS PARTNERS <ul><ul><li>Events designed to show business and technical executives how to streamline operations and increase efficiency through technology </li></ul></ul>Information for small business decision makers who want to improve productivity, efficiency, and security in their workplace “ How-To” sessions delivering highly technical content -- direct from a Microsoft technology specialist with real-world experience <ul><ul><li>Sessions designed for developers to get the latest tools and tips, chat with fellow developers and learn how to create rich new applications </li></ul></ul>Designed for technology providers who are seeking to enhance technical knowledge, to improve selling skills and to learn about various programs and offers for partners.
    3. 3. <ul><li>Microsoft Expression Suite –including Expression Web Designer, Expression Graphic Designer, and Expression Interactive Designer </li></ul><ul><li>Visual Studio Team System for Database Professionals CTP </li></ul><ul><li>.NET Framework 3.0 (WinFX) </li></ul><ul><li>Videos, Slides and source code posted at: </li></ul>Our way of saying “Thanks for attending” !!!
    4. 4. <ul><li></Sponsors> </li></ul>
    5. 5. <ul><li>Please set all cell phones to silent </li></ul><ul><li>Evaluations are important!! </li></ul><ul><ul><li>9 = A </li></ul></ul><ul><ul><li>8 = B </li></ul></ul><ul><ul><li>7 = C </li></ul></ul><ul><ul><li>If < 7 please include comments </li></ul></ul><ul><li>Resource DVD – our way of saying “Thanks!” </li></ul><ul><li>Giveaways!! </li></ul>
    6. 6. <ul><li>.NET Tech Briefings – Dec 11 Irvine, Dec 12 LA, Dec 13 San Diego </li></ul><ul><li>New MSDN event – Jan 15 - LA </li></ul><ul><li>TwiistUp – Jan 16 – Venice, CA </li></ul><ul><li>Launch Feb 27 - LA </li></ul><ul><li>SoCal code camp Fullerton – Jan 26/27 </li></ul><ul><li> </li></ul><ul><li>ITPro event – Jan 23 - Irvine </li></ul>
    7. 7. <ul><li>Help you to keep up with technology changes </li></ul><ul><li>Show what’s possible – now & near future </li></ul><ul><li>Have some fun on the way – get some free stuff </li></ul>
    8. 8. <ul><li>What’s new for Web Devs in Visual Studio 2008 </li></ul><ul><li>Accessing Data “in the Cloud” with Astoria </li></ul><ul><li>Bringing together AJAX & Silverlight </li></ul>
    9. 9. Today’s Schedule – Irvine, CA (am) <ul><li>8:00 am to 9:15 am – VS2008 </li></ul><ul><li>9:30 am to 10:30 am – Astoria </li></ul><ul><li>10:45 am to 11:45 am – Silverlight & AJAX </li></ul><ul><li>11:45 to Noon – Raffle </li></ul>
    10. 10. Today’s Schedule – Irvine, CA (pm) <ul><li>Presented by David Chou – Architect Evangelist </li></ul><ul><li>1 pm to 5pm – architecture focus </li></ul><ul><ul><li>S+S </li></ul></ul><ul><ul><li>Live </li></ul></ul><ul><ul><li>Office </li></ul></ul><ul><li>You could win an Xbox 360! </li></ul>
    11. 11. Today’s Schedule – Riverside, CA <ul><li>1:00 PM to 1:05 PM – Introduction </li></ul><ul><li>1:05 PM to 2:15 PM – VS2008 </li></ul><ul><li>2:15 PM to 2:30 PM – Break </li></ul><ul><li>2:30 PM to 3:30 PM – Astoria </li></ul><ul><li>3:30 PM to 3:45 PM – Break </li></ul><ul><li>3:45 PM to 4:45 PM – Silverlight & AJAX </li></ul><ul><li>4:45 PM to 5:00 PM – Raffle </li></ul>
    12. 13. <ul><li>Multi-Targeting </li></ul><ul><li>Improved Editor Performance and functionality </li></ul><ul><li>Enhanced JavaScript Support </li></ul><ul><li>Smart controls – Data (LINQ) & AJAX </li></ul><ul><li>Dynamic Languages – IronPython </li></ul><ul><li>New WCF tools and functionality </li></ul>
    13. 14. <ul><li>Visual Studio 2008 is the successor to VS2005 </li></ul><ul><li>VS 2008 is Microsoft’ s 6 th release of it’s flagship IDE </li></ul><ul><li>Productivity, productivity, productivity! </li></ul><ul><li>With VS 2008 you can create: </li></ul><ul><ul><li>Windows Forms Applications </li></ul></ul><ul><ul><li>Web Applications (AJAX) and Web Services </li></ul></ul><ul><ul><li>WCF Services, WF </li></ul></ul><ul><ul><li>VSTO Applications </li></ul></ul><ul><ul><li>Mobile Applications </li></ul></ul><ul><ul><li>Business Intelligence objects – cubes, reports, mining models </li></ul></ul><ul><ul><li>More… </li></ul></ul>
    14. 15. <ul><li>API Changes </li></ul><ul><li>New Hosting API </li></ul><ul><li>Full 64-bit Support </li></ul><ul><li>Generics in .NET CLR </li></ul><ul><li>New Web Controls </li></ul><ul><li>New Data Controls </li></ul><ul><li>Themes, Skins, Webparts </li></ul>.NET Framework 2.0 .NET Framework 3.0 <ul><li>Windows Presentation </li></ul><ul><li>Foundation (WPF) </li></ul>.NET Framework 3.5 <ul><li>Windows Communication </li></ul><ul><li>Foundation (WPC) </li></ul><ul><li>Windows CardSpace </li></ul><ul><li>C# 3.0 </li></ul><ul><li>VB.NET 9.0 </li></ul><ul><li>LINQ Queries </li></ul><ul><li>AJAX integration </li></ul><ul><li>Extension Methods </li></ul><ul><li>Anonymous Types </li></ul><ul><li>WCF Enhancements </li></ul><ul><li>WF Enhancements </li></ul><ul><li>And more… </li></ul><ul><li>Windows Workflow Foundation (WF) </li></ul>
    15. 16. VS 2005 Vista VS 2008 time Version = Assembly references + compilers No new CLR runtime .NET 3.0 .NET 3.5
    16. 17. Developer Productivity Team Collaboration Support for the Latest Platforms
    17. 18. Architects Developers Designers Testers Project Managers Hobbyists Enthusiasts Students Database Edition Development Edition Architecture Edition Test Edition Team Foundation Server
    18. 19. <ul><li>VS 2008 supports targeting multiple versions of .NET Framework – easy switching </li></ul><ul><ul><li>.NET Framework 2.0, 3.0 or 3.5 </li></ul></ul><ul><li>Visual Studio IDE adjusts to show features for selected version </li></ul><ul><ul><li>Toolbox, Add New Item, References, Intellisense, and more… </li></ul></ul>
    19. 20. <ul><li>Enhanced Design View Functionality </li></ul><ul><li>Tight CSS integration within IDE </li></ul><ul><li>Improved JavaScript and Ajax Support </li></ul><ul><li>JavaScript Debugging </li></ul><ul><li>Native support for multiple .NET assemblies (Fx 2.0 – 3.5) </li></ul><ul><li>Reduced code required to query database using LINQ </li></ul><ul><li>Support for dynamic language such as IronPython </li></ul>
    20. 21. <ul><li>Improved CSS Editing Support </li></ul><ul><ul><li>CSS Manager </li></ul></ul><ul><ul><li>CSS Property & Inheritance viewer </li></ul></ul><ul><ul><li>CSS Intellisense </li></ul></ul><ul><li>Nested master pages fully supported </li></ul><ul><li>Split Views allow the viewing of design and source code simultaneously </li></ul><ul><li>Faster designer/source switching </li></ul>
    21. 22. <ul><li>{New templates} </li></ul><ul><li>{Multi-targeting} </li></ul><ul><li>{Improved editor performance} </li></ul><ul><li>{New SplitView functionality} </li></ul><ul><li>{Nested Master Pages} </li></ul><ul><li>{New CSS Enhancements and Integration} </li></ul><ul><li>{IronPython} </li></ul>
    22. 23. <ul><li>JavaScript Intellisense </li></ul><ul><ul><li>Code intellisense for client-side JavaScript </li></ul></ul><ul><ul><li>Integrated editor support for ASP.NET AJAX JS Library </li></ul></ul><ul><ul><li>Intellisense against JSON enabled .asmx web services </li></ul></ul><ul><ul><li>JavaScript Debugging </li></ul></ul><ul><ul><li>Improved discoverability </li></ul></ul><ul><ul><li>Add Breakpoints in .aspx documents </li></ul></ul><ul><ul><li>New visualization features for variables </li></ul></ul><ul><ul><li>Build-time syntax checking </li></ul></ul>
    23. 24. <ul><li>{JavaScript Intellisense} </li></ul><ul><li>{JavaScript Debugging} </li></ul>
    24. 25. <ul><li>ListView </li></ul><ul><ul><li>Free form data templating with the editing features similar to those of the datagrid </li></ul></ul><ul><ul><li>Greater control over the layout </li></ul></ul><ul><li>DataPager </li></ul><ul><ul><li>Serves as an external control to provide paging features </li></ul></ul><ul><ul><li>Allows for non-restricted placement of the pager on the page </li></ul></ul><ul><li>LINQ Data Source </li></ul><ul><ul><li>Connects data controls to LINQ object models </li></ul></ul>
    25. 26. <ul><li>Native query syntax in C# 3.0 and VB 9.0 </li></ul><ul><ul><li>Supports querying in a type-safe way </li></ul></ul><ul><li>Works with all types and shapes of data </li></ul><ul><ul><li>Relational database, XML, Objects </li></ul></ul><ul><li>Dramatically reduce the amount of code required to work with data </li></ul><ul><li>Integrated visual designer allows for data mapping to be auto-generated </li></ul>
    26. 27. ADO.NET Accessing data today Queries in quotes Loosely bound arguments Loosely typed result sets No compile time checks
    27. 28. Classes describe data Tables are like collections Strongly typed connections Integrated query syntax Strongly typed results
    28. 29. from c in db.Customers where c.City == &quot;London&quot; select c.CompanyName LINQ Query SQL Query SELECT CompanyName FROM Cust WHERE City = 'London' Rows Objects SubmitChanges() DML or SProcs db.Customers.Add(c1); c2.City = “Seattle&quot;; db.Customers.Remove(c3); INSERT INTO Cust … UPDATE Cust … DELETE FROM Cust … SQL Server Application LINQ to SQL
    29. 30. <ul><li>ASP.NET AJAX 1.0 features ship standard in VS 2008 </li></ul><ul><li>Works on top of ASP.NET 2.0 and VS 2005 </li></ul><ul><ul><li>New Server Controls Added </li></ul></ul><ul><ul><ul><li>UpdatePanel, Timer, UpdateProgress </li></ul></ul></ul><ul><ul><li>ASP.NET AJAX Futures CTP to be included in near future </li></ul></ul><ul><ul><li>AJAX Control Toolkit updated for VS 2008 </li></ul></ul>
    30. 31. <ul><li>{ListView and DataView} </li></ul><ul><li>{LINQ} </li></ul><ul><li>{AJAX Support} </li></ul><ul><li>{Dynamic Languages and Smart Controls} </li></ul>
    31. 32. <ul><li>Microsoft’s platform for distributed systems </li></ul><ul><li>Build WCF services in Visual Studio 2008 using any .NET Language </li></ul><ul><ul><li>Intelligent code editing, IDE Extensions for WCF, debugging, re-factoring, code snippets, Autohost, test, client, config editing, etc. </li></ul></ul><ul><ul><li>Visual Basic .NET, Visual C#, etc. </li></ul></ul><ul><li>Runs on </li></ul><ul><ul><li>Microsoft Windows Vista </li></ul></ul><ul><ul><li>Microsoft Windows XP </li></ul></ul><ul><ul><li>Microsoft Windows Server 2003 </li></ul></ul><ul><ul><li>Microsoft Windows Server 2008 </li></ul></ul>
    32. 33. <ul><li>GET support added to WCF Service Operations </li></ul><ul><li>Support for URI templates </li></ul><ul><ul><li>Used to define specific pattern of URIs </li></ul></ul><ul><ul><li>SyndicationFeed </li></ul></ul><ul><ul><li>Supports XML, JSON formatter </li></ul></ul><ul><li>Support for REST style services </li></ul>
    33. 34. <ul><li>{WCF} </li></ul>
    34. 35. <ul><li>Multi-Targeting </li></ul><ul><li>Improved Editor Performance and functionality </li></ul><ul><li>Enhanced JavaScript Support </li></ul><ul><li>New Server Controls </li></ul><ul><li>LINQ Support </li></ul><ul><li>Built in AJAX Controls </li></ul><ul><li>New WCF tools and functionality </li></ul>
    35. 36. Today’s Schedule <ul><li>1:00 PM to 1:05 PM – Introduction </li></ul><ul><li>1:05 PM to 2:15 PM – VS2008 </li></ul><ul><li>2:15 PM to 2:30 PM – Break </li></ul><ul><li>2:30 PM to 3:30 PM – Astoria </li></ul><ul><li>3:30 PM to 3:45 PM – Break </li></ul><ul><li>3:45 PM to 4:45 PM – Silverlight & AJAX </li></ul><ul><li>4:45 PM to 5:00 PM – Raffle </li></ul>
    36. 38. Future Technology
    37. 39. <ul><li>Languages </li></ul><ul><ul><li>.NET - C# or VB.NET </li></ul></ul><ul><ul><li>DB access language such as T-SQL (SQL WR 3) </li></ul></ul><ul><li>Enterprise Architecture – SOA, web services, etc… </li></ul><ul><li>ORM or Data mapping </li></ul><ul><ul><li>XSD DataSets> </li></ul></ul><ul><ul><ul><li>LINQ>LINQ to SQL </li></ul></ul></ul><ul><ul><ul><ul><li>LINQ to Entities> </li></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>Astoria (ADO.NET Web Data Services (subset of WCF) </li></ul></ul></ul></ul></ul>
    38. 42. XAML events methods Media – wmv, mp3, etc… Proxy – [ScriptService] + LINQ HTML Java Script
    39. 45. <ul><li>Patterns and libraries enabling data to be exposed as a data service that can be consumed by web clients– goal is FLEXIBILITY </li></ul><ul><ul><li>Based on WCF (via URIs over HTTP) </li></ul></ul><ul><ul><li>Uses new data-retrieval model built on LINQ (to Entities) </li></ul></ul><ul><ul><li>Return types – POX, JSON(P), others </li></ul></ul><ul><ul><li>Designed to work with AJAX & Silverlight </li></ul></ul>
    40. 46. <ul><li>Physical – SSDL (Storage or Store) schema </li></ul><ul><li>Mapping schema – MSL </li></ul><ul><ul><li>can re-map if data store db structure changes </li></ul></ul><ul><ul><li>FLEXIBILITY! </li></ul></ul><ul><li>Conceptual – CSDL (Logical) schema </li></ul>Data Source SSDL – physical Conceptual Schema Definition Files CSDL 1 CSDL 2 MSL - mapping
    41. 47. <ul><li>Next Gen (ADO.NET) </li></ul><ul><ul><li>First component to support the Entity Data Model </li></ul></ul><ul><li>App dev against conceptual rather than logical store </li></ul><ul><li>New ADO.NET Provider </li></ul><ul><ul><li>ObjectContext </li></ul></ul><ul><li>Query support via LINQ </li></ul>ADO.NET Providers Entity Client Dataset Object Services LINQ to Dataset LINQ to Entities
    42. 48. <ul><li>Creating an EDM from an existing Database </li></ul><ul><li>Using LINQ to Entities to Query data </li></ul>
    43. 51. <ul><li>View an Astoria Data Service and Browse Data via URI </li></ul><ul><li>Project “Astoria” with a simple AJAX based web application. </li></ul>
    44. 52. <ul><li>Service Operations </li></ul><ul><ul><li>Auditing, logging, more </li></ul></ul><ul><li>Interceptors </li></ul><ul><ul><li>Controls over specific operations </li></ul></ul><ul><li>More granular security </li></ul>
    45. 53. XAML events methods Media – wmv, mp3, etc… URI query to WebDataService – [WebGet] + LINQ New or custom Silverlight controls HTML MIniCLR + Javascript
    46. 54. <ul><li> = Try It now! </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul>
    47. 55. ASP.NET Custom Controls (with AJAX and Silverlight)
    48. 56. Agenda <ul><li>Understanding AJAX data retrieval to update Silverlight 1.0 objects in a custom control </li></ul><ul><li>Using ASP.NET Futures Silverlight 2.0 controls </li></ul>
    49. 57. Silverlight 1.0 – build your own controls XAML events methods Media – wmv, mp3, etc… Proxy – [ScriptService] + LINQ HTML Java Script
    50. 58. Silverlight 1.0 in AJAX Controls <ul><li>Silverlight 1.0 </li></ul><ul><ul><li>Cross-platform scriptable vector graphics, media, and animation capabilities </li></ul></ul><ul><li>ASP.NET AJAX controls </li></ul><ul><ul><li>Incorporate Silverlight while preserving AJAX development model </li></ul></ul>AJAX Control (Script) ASP.NET AJAX Server Control
    51. 59. Silverlight and ASP.NET AJAX Data Exchange in the Photo Viewer control
    52. 60. AJAX Controls with Silverlight 2.0 <ul><li>Silverlight 2.0 (was 1.1) = code behind in .NET </li></ul><ul><ul><li>Many controls coming </li></ul></ul><ul><ul><li>Includes XAML (futures) controls – XAML and Media </li></ul></ul><ul><ul><li>Toolkit includes controls & extenders </li></ul></ul><ul><ul><li>AJAX incorporated in controls </li></ul></ul>ASP.NET AJAX Server Control AJAX Control (Script) Silverlight Component (XAML, .NET)
    53. 61. ASP.NET Futures Controls
    54. 62. Silverlight 2.0 – customize or build controls XAML events methods Media – wmv, mp3, etc… URI query to WebDataService – [WebGet] + LINQ New or custom Silverlight controls HTML MIniCLR + Javascript
    55. 63. Resources <ul><li>Silverlight Community Site </li></ul><ul><ul><li> </li></ul></ul><ul><li>Blogs </li></ul><ul><ul><li> </li></ul></ul><ul><ul><li> </li></ul></ul><ul><ul><li> </li></ul></ul>
    56. 64. Please fill out your eval. When you are done, pass them all to the left.  
    57. 65. Thanks for attending! Lynn Langit MSDN Developer Evangelist – Southern California