Antonio Luevano Senior Premier Field Engineer

Slides:



Advertisements
Similar presentations
Building Scalable Web Apps with Windows Azure Name Title Microsoft Corporation.
Advertisements

.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
Windows 8 Introduction Mark Rosenberg Development Instructor New Horizons.
Amit Chopra APP209 Introducing “Orcas” Huh ? What’s “Orcas”?
Building a social networking portal on Windows Azure in 1 hour Saranya Sriram Developer Evangelist Microsoft, India.
What’s new in.NET 4.5 Antonio Luevano Senior Premier Field Engineer.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Web & Cloud Development Jason Keicher - Microsoft.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
 Joshua Goodman Group Program Manager Microsoft Corporation.
Building Windows Runtime Components in C++ Harry Pierson Program Manager, Windows Runtime Experience Team Microsoft Corporation.
RuntimeLibraries Languages Tools.NET First, a look at.NET 4.5 Client & Device Async – for UI responsiveness Windows Store apps -- WinRT Windows Phone.
Modernizing your. NET applications with. NET Standard,
Unleash .NET 2015 in your apps
Microsoft Virtual Academy
5/15/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Data centric apps for web, desktop and mobile with EF5
ASP.NET Core: Web apps, cloud apps, and containers
6/2/2018 4:08 AM BRK3327 Ten things you didn't know about building .NET UWP apps in Visual Studio 2017 Daniel Jacobson Program Manager – Visual Studio.
The Modern ASP.NET Tech Stack!
Julie Strauss Senior Program Manager Microsoft
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Build data-driven collection and list apps using XAML
Manual testing of Windows Metro style apps built using HTML
End to end app development ASP.NET, WCF, WF, EF, & RIA Services
Exceedra + Azure Mark Rendle Principal Software Architect
DNN Connect 2017 Microsoft Keynote
Building real-time web apps with WebSockets using IIS, ASP.NET and WCF
Building Modern Web Apps with ASP.NET MVC 6
DotnetConf 11/14/2018 3:27 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Building real-time web apps with HTML5 WebSockets
11/18/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
.NET 4.5.1, what’s up Doc? Jose Luis Latorre Millás Software Engineer
Building event-driven, long-running apps with Windows workflow
Building Windows 8 and Windows Azure apps
Overview of Silverlight 2
Building responsive apps and sites with HTML5 web workers
F# 3.0: data, services, Web, cloud, at your fingertips
F# for Parallel and Asynchronous Programming
Microsoft Virtual Academy
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
M318.
Windows Phone application performance and optimization
Tech Ed North America /1/ :36 AM Required Slide
Jim Nakashima Program Manager Cloud Tools
ASP.NET 4 Core Runtime for Web Developers
ASP.NET 4.0 State Management Improvements – Deep Dive
LitwareHR v2: an S+S reference application
Create experiences that span devices
From Development to Production: Optimizing for Continuous Delivery
Platform for Metro style Apps
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms
TechEd /3/ :48 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Developing for Windows Azure
Best practices for packaging and distributing device drivers
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Silverlight 2 Mike Taulty Developer & Platform Group Microsoft Ltd
From Development to Production: Optimizing for Continuous Delivery
Brandon Bray Principal Group Program Manager Microsoft Corporation
Ward Bell VP Technology IdeaBlade, Inc.
Enterprise Developer Camp Jumpstart
Service Template Creation from the Ground Up
ASP.NET Roadmap: One ASP.NET – Web Forms, MVC, Web API, and more
Build /15/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
7/19/2019 2:53 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Virtual Academy
Getting Productive with ASP.NET MVC 3
Bringing existing managed code into Metro style apps
Erik Porter Program Manager ASP.NET Microsoft Corporation
Presentation transcript:

Antonio Luevano Senior Premier Field Engineer 5/12/2018 12:10 PM What’s new in .NET 4.5 Antonio Luevano Senior Premier Field Engineer Microsoft Corporation © 2010 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.

What’s new in .NET 4.5 WHO WILL BENEFIT FROM THIS TALK TOPICS WHAT YOU’LL LEAVE WITH .NET Developers (C#, VB, Managed C++, PowerShell, F#, etc.) What is .NET 4.5 Win8 Support Faster! Easy Data Access Top developer requests An overview of what’s new in .NET More talks to see A strong desire to use .NET 4.5

What is .NET 4.5 In this section: Parts of the Framework .NET Versions Compatibility .NET 3.5 on demand What is .NET 4.5

Quick Reminder – What Is .NET Entity Frame-work ASP. NET WCF WPF Win Forms Work Flow And more! Base Class Libraries The CLR JIT & NGEN Garbage Collector Security Model Exception Handling Loader & Binder Profiling& Debugging APIs

.NET Versions .NET 4.5 is an in-place update 5/12/2018 12:10 PM .NET Versions .NET 4.5 is an in-place update You can chain it in for your installers on Win7, Win2K8, etc. You get it automatically with Windows 8 and Windows Server 8 On Windows Update for supported downlevel OSes 3.5 3.0 4.5 .NET 1.0 .NET 1.1 .NET 2.0 .NET 4.0 2002 2003 2005 2005-08 2010 -Win8 © 2008 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.

Compatibility of in-place releases Compat for in-place releases is challenging Bug fixes Perf improvements Internals Ways we preserve compat Compat lab Review bug fixes Review features Rerun old tests unchanged Tools to check for common problems

Call to Action: Compat Testing Binary compat Try your 4.0 app on 4.5 Try your 3.5 app on 4.0; if it works, try on 4.5 Source compat Same, but recompile Serialization compat 3.5 or 4 client talking to your .NET 4.5 server 4.5 client saving/opening files for your 3.5/4 client Try it now, and we’ll fix the bugs

.NET 3.5 Feature-On-Demand Each .NET version on a user’s machine has costs Size of images Servicing cost But want Win8 desktop highly compatible with Win7 Solution: Feature-on-demand. Option 1 (preferred) Your setup tries to install 3.5 MSI 3.5 MSI shim installs correct Win8 version Typical for apps that support XP Option 2: App tries to use 3.5 App use detected, 3.5 is installed, restart app Edge cases: App lights up when 3.5 is installed OEMs and Enterprise can pre-install 3.5

Windows 8 Support In this section: Windows Runtime .NET for Metro Style Apps Portable Libraries Windows 8 Support

Support for Windows Runtime Windows Runtime code feels natural for C# and VB coders using Windows.Storage; using Windows.Storage.Pickers; var picker = new FileOpenPicker(); picker.FileTypeFilter.Add("*"); var files = await picker.PickMultipleFilesAsync(); foreach (StorageFile file in files) {     listBoxFiles.Items.Add(file.FileName); }

.NET for Metro style apps Provide simple, well-designed, and light-weight base class library APIs to C# and VB developers programing Metro style apps API Cleanup No obsolete or inapplicable APIs No duplication with Windows Runtime APIs Natural for C# & VB developers

.NET for Metro style apps .NET and WinRT Metro style app for C# or VB .NET for Metro style apps CLR Windows WinRT APIs Win32 APIs

Portable Libraries MVVM – Helps port your existing Windows Phone, Silverlight, Desktop, and X-box code to Windows 8 MVVM – Model and View Model can be shared Rewrite UI, app model (Contracts), device interaction, etc. for Windows 8

Faster! In this section: Async programming Task Parallel Library Improvements Improved server Garbage Collector Faster ASP.NET startup Faster!

Await: More responsive applications Client UI Code Easy to write client UI code that doesn’t block Business logic Easy to write code that fetches data from multiple sources in parallel Server code Better scalability – no need to have a thread per request. New APIs in BCL, ASP.NET, ADO.NET, WCF, XML, WPF async void DisplayUserInfo(string userName) { var image = FetchUserPictureAsync(userName); var address = FetchUserAddressAsync(userName); var phone = FetchUserPhoneAsync(userName); await Task.WhenAll(image, address, phone); DisplayUser(image.Result, address.Result, phone.Result); } LEARN A LOT MORE Hands on Lab: Asynchronous Programming in the .NET Framework 4.5 with Visual C# and Visual Basic 

TPL Dataflow Complements .NET 4 parallel programming .NET 4: “Data first. Now set up computation.” New in 4.5: “Set up computation. Now here’s data.” Primitives for in-process message passing

Other Parallel Computing Additions Combinators Task.WhenAll, Task.WhenAny Timer integration Task.Delay(TimeSpan), CancellationTokenSource.CancelAfter(TimeSpan) Task scheduling ConcurrentExclusiveSchedulerPair Fine-grained control DenyChildAttach, HideScheduler, LazyCancellation, EnumerablePartitionerOptions ThreadLocal<T>.Values PERFORMANCE (“it’s just faster”)

GC Improvements Background Server GC 5/12/2018 12:10 PM GC Improvements Background Server GC Shorter pauses when doing Gen2 Collections (Server GC) Scalable Marking for full blocking GCs Large Object Heap Allocation Improvements Better use of free space on LOH (Server only) Balancing the LOH allocations across processors © 2010 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.

Faster ASP.NET Startup Two ways to run ASP.NET Start app, keep it running Start when a request comes in (e.g. Hosters) 35% faster cold start Multi-core JIT Windows Server 8 pre-fetch option Working set improvements

Better Data Access In this section: Entity Framework ADO.NET WCF Websockets Better Data Access

Developer Workflows Designer Centric Code Centric Model First New Database Model First Create .edmx model in designer Generate database from .edmx Classes auto-generated from .edmx Code First Define classes & mapping in code Database auto-created at runtime Existing Database Database First Reverse engineer .edmx model Classes auto-generated from .edmx Code First Define classes & mapping in code (Reverse engineer tools available)

Pillars of EF 4.5 Improve Developer Productivity (.NET 4.5) Pillars of EF 4.5 Improve Developer Productivity Enable SQL Server and Azure Features Increase Enterprise Readiness Enums Migrations Batch Sproc Import Designer highlighting and coloring EF 4.1 (Magic Unicorn) EF 4 (.NET 4.0) Spatial (Geometry and Geography) Table-valued functions Sprocs with multiple result sets EF 1 (.NET 3.5 SP1) Multiple diagrams per model TPT query optimizations Automatic compiled LINQ queries

New ADO.NET Features Even more support for SQL Server 2008 Null bit compression for sparse columns Support for new Denali features Support for High Availability Just set the correct keyword in the connection string Fast Failover across multiple subnets Support for new Spatial Types More good stuff Passwords encrypted in memory Async support

WCF Scalable modern communication stack Interoperable UDP multi-cast channel TCP support for high-density scenarios (partial trust) Async Improved streaming support Continued commitment to simplicity Further config simplification, making WCF throttles/quotas smarter & work for you by default! Better manageability via rich ETW & e2e tracing

Websockets New bidirectional communications standard (W3C & IETF) Low latency Low bandwidth Client: IE10, .NET, Win 8 Metro style apps Server: Windows 8 Server – ASP.NET, WCF, IIS Example applications: Stock tickers, chat applications, interactive games

Top Developer Requests In this section: WPF Workflow BCL MEF ASP.NET Top Developer Requests

WPF Ribbon licensing Itemscontrol scaling MVVM Improvements 24.5s 2.3s OOM at 7 min 24.5s 2.3s

Workflow C# Expressions State machines Versioning Contract First Services Runtime Performance Designer Improvements Performance Usability Better Integration with VS

BCL Improvements to WeakReferences ArraySegment Streams ReadOnlyDictionary Compression Bigger than 2GB Objects

New MEF Features All your objects are MEF now Generics POCO Explicit Wiring (wire specific MEF parts the way YOU want) MEF problems are easy to diagnose Break on First Chance Exceptions Visualize the exception Fix your problem!

ASP.NET Cloud ASP.NET providers natively support SQL Azure Better Web than ASP.NET 4 HTML 5 Templates and Support Web Form Model Binders Unobtrusive Javascript Validators Anti-XSS Encoders

Review

.NET 4.5 is an in-place update Help us make sure it is highly compatible.

.NET 4.5 makes it easy and natural to write Metro style apps using C# and VB

NET 4. 5 makes your apps run faster: Faster ASP .NET 4.5 makes your apps run faster: Faster ASP.NET startup, fewer pauses due to Server GCs, and great support for Asynchronous programming

.NET 4.5 gives you easy, modern access to your data, with support for Entity Framework Code First, and recent SQL Server features, and Websockets

.NET 4.5 addresses the top developer requests in WPF, Workflow, BCL, MEF, and ASP.NET

thank you

5/12/2018 12:10 PM © 2011 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. © 2011 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.