1 / 28

Overview Visual Studio 10 and .NET Framework 4.0

Overview Visual Studio 10 and .NET Framework 4.0. Ken Casada Developer Evangelist Microsoft Switzerland kcasada@microsoft.com http://blogs.msdn.com/swiss_dpe_team/Default.aspx. Introduction. 3.5. 3.0. .NET 1.0. .NET 1.1. .NET 2.0. .NET 4.0. 2002. 2003. 2005-08. CLR 1.0. CLR 1.1.

wattan
Télécharger la présentation

Overview Visual Studio 10 and .NET Framework 4.0

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Overview Visual Studio 10 and .NET Framework 4.0 Ken Casada Developer Evangelist Microsoft Switzerland kcasada@microsoft.com http://blogs.msdn.com/swiss_dpe_team/Default.aspx

  2. Introduction 3.5 3.0 .NET 1.0 .NET 1.1 .NET 2.0 .NET 4.0 2002 2003 2005-08 CLR 1.0 CLR 1.1 CLR 2.0 CLR 4.0

  3. Existing Side-By-Side (SxS) 1.1 add-in 2.0 add-in 3.0 add-in 3.5 add-in 3.5 .NET 1.1 3.0 .NET 2.0 Host Process (e.g. Outlook)

  4. In-Process Side-By-Side (SxS) 2.0 add-in 3.0 add-in 3.5 add-in 4.0 add-in 3.5 .NET 4.0 3.0 .NET 2.0 Host Process (e.g. Outlook)

  5. .NET DynamicProgramming Dynamic vs. Static

  6. C# and Visual Basic Focusing on language co-evolution…

  7. Multi-threading & Parallelism On Single Core Machine • Don’t block the UI • Thread Affinity • Async Operations • Synchronization Issues On Multi-core Machine • As above... • ... plus Improve Actual Performance • ... plus create new user experiences

  8. Parallel Computing Parallel Extensions is a .NET Library that supports declarative and imperative data parallelism, imperative task parallelism, and a set of data structures that make coordination easier. • Parallel LINQ (PLINQ) • Task Parallel Library (TPL) • Coordination Data Structures (CDS) Parallel Extension June 2008 CTP

  9. Parallel LINQ demo

  10. .NET Framework 4.0: Client • Client Profile • Windows Presentation Foundation • Business focused controls • DataGrid, DatePicker, VSM  Today part of the WPF Toolkit (update in March 09)  http://www.codeplex.com/wpf • After .NET 4.0  More controls (Chart controls, …) • Silverlight Synergy (DeepZoom control ?) • Win7 Advances • Multitouch  Windows API CodePack for .NET (http://windowsapicodepack.codeplex.com)

  11. WPF 4.0within Visual Studio 10 demo

  12. ASP.NET & AJAX 4.0 • ASP.NET MVC • Separation of Concerns, Testability • High control over market up • ASP.NET Dynamic Data support for MVC • Easily Create Custom controls and views based on data base • ASP.NET better CSS and ID • ASP.NET AJAX • Javascript UI Templates and Databinding • AJAX Control Toolkit Enhancements • Client-side controls • Addition of JQuery

  13. WCF 4.0 • Messaging enhancements • Protocols - SOAP over UDP, WS-Discovery, WS-BusinessActivity, WS-I BP 1.2 • Duplexdurablemessaging • RESTful enhancements • Simplifying the building of REST Singleton & Collection Services, ATOM Feed and Publishing Protocol Services, and HTTP Plain XML Services using WCF  WCF REST Starter Kit released on Codeplex to get early feedback • Correlation enhancements • Content and context driven, One-way support • Seemless integration with Workflow Services

  14. Workflow Foundation 4.0 • XAML-only workflows are the new default • Unified model between WF, WCF, and WPF • Extended base activity library • More activities will be present on CodePlex • WF 4.0 simplifies data flow by adding: • Arguments, variables, and expressions • Significant improvements in performance and scalability • New FlowChart Workflow • Improved WF 4.0 designer / Designer Rehosting

  15. WF 4.0 Basics demo

  16. WCF and WF • There is great potential in WF + WCF • .NET 3.0 didn't provide any integration • .NET 3.5 added initial WCF support • .NET 4.0 is investing heavily in this area  Workflow Services !!! • Think "WCF on the outside, WF on the inside" • WCF exposes external interface • WF describes internal flow & state transitions

  17. Microsoft Confidential Dublin (after .NET 4) • IIS 7/WAS is today’s hosting environment for WCF service and WF workflows (WorkflowServiceHost class) • Provides valuable hosting and management features for your WCF and WF applications • Part of the Windows Server Application Server role • Extensions built on top of IIS 7 with tracing, monitoring and diagnostic capabilities

  18. Microsoft Confidential Additional Resources • MSDN Developer Centers – .NET 3.5http://msdn.microsoft.com/wcfhttp://msdn.microsoft.com/wf • MSDN Developer Centers – .NET 4.0http://msdn.microsoft.com/wcf/future/http://msdn.microsoft.com/wf/future/ • WF/WCF Team Bloghttp://blogs.msdn.com/endpoint/ • Dublin http://www.microsoft.com/net/dublin.aspx

  19. Office development (No PIA)

  20. ADO.NET 4.0 • Entity Framework v2 • Persistent Ignorance (POCO) • TDD-Support • Foreign-Key Support • Code-First Development • Automatic Lazy Loading

  21. Lazy Loading in EF v1 varcustomers = fromcustindb.Customers where cust.City == “London"select cust; foreach (Customercust in customers) {// avoidsunnecessaryqueries if (!cust.Orders.IsLoaded){cust.Orders.Load();}  foreach (Orderorder in cust.Orders){ // do somethingwithdetail} }

  22. Lazy Loading in EF v2 varcustomers = fromcustindb.Customers where cust.City == “London"select cust; db.DeferreadLoading = true; foreach (Customercust in customers) {foreach (Orderorder in cust.Orders){ // do somethingwithdetail} }

  23. Entity Framework Demo

  24. Your MSDN resourcescheck out these websites, blogs & more! PresentationsTechDays: www.techdays.chMSDN Events: http://www.microsoft.com/switzerland/msdn/de/presentationfinder.mspxMSDN Webcasts: http://www.microsoft.com/switzerland/msdn/de/finder/default.mspx MSDN EventsMSDN Events: http://www.microsoft.com/switzerland/msdn/de/events/default.mspxSave the date: Tech•Ed 2009 Europe, 9-13 November 2009, Berlin MSDN Flash (our by weekly newsletter)Subscribe: http://www.microsoft.com/switzerland/msdn/de/flash.mspx MSDN Team BlogRSS: http://blogs.msdn.com/swiss_dpe_team/Default.aspx Developer User Groups & CommunitiesMobile Devices: http://www.pocketpc.ch/Microsoft Solutions User Group Switzerland: www.msugs.ch.NET Managed User Group of Switzerland: www.dotmugs.chFoxPro User Group Switzerland: www.fugs.ch

  25. Your TechNet resourcescheck out these websites, blogs & more! PresentationsTechDays: www.techdays.ch TechNet EventsTechNet Events: http://technet.microsoft.com/de-ch/bb291010.aspx Save the date: Tech•Ed 2009 Europe, 9-13 November 2009, Berlin TechNet Flash (our by weekly newsletter)Subscribe: http://technet.microsoft.com/de-ch/bb898852.aspx Schweizer IT Professional und TechNet BlogRSS: http://blogs.technet.com/chitpro-de/ IT Professional User Groups & CommunitiesSwissITPro User Group: www.swissitpro.chNT Anwendergruppe Schweiz: www.nt-ag.chPASS (Professional Association for SQL Server): www.sqlpass.ch

  26. Save the date for tech·days nextyear! 7. – 8. April 2010Congress Center Basel

  27. Premium Sponsoring Partners Classic Sponsoring Partners Media Partner

More Related