330 likes | 346 Views
Explore the evolution and capabilities of the .NET platform, including .NET Core, Xamarin, and common infrastructure. Discover the benefits of .NET Standard Library and interop features of .NET Framework and Xamarin.
E N D
Overview of the .NET Platform Scott Hunter Partner Director Program Manager - .NET BRK2190
61% YoY Growth .NET Active Developers (VS 2012+) 40% .NET Core downloads by new developers 62% GitHub contributions from outside of Microsoft (corefx / coreclr repos)
A new world for .NET WINDOWS APPLICATIONS CROSS-PLATFORM SERVICES MOBILE APPLICATIONS .NET FRAMEWORK XAMARIN .NET CORE
Unified platform .NET FRAMEWORK WINDOWS APPLICATIONS CROSS-PLATFORM SERVICES XAMARIN MOBILE APPLICATIONS .NET CORE TOOLS Visual Studio .NET STANDARD LIBRARY Visual Studio Code COMMON INFRASTRUCTURE Xamarin Studio Compilers Languages Runtime components
Windows applications .NET FRAMEWORK WINDOWS APPLICATIONS CROSS-PLATFORM SERVICES XAMARIN MOBILE APPLICATIONS .NET CORE TOOLS Visual Studio .NET STANDARD LIBRARY Visual Studio Code COMMON INFRASTRUCTURE Xamarin Studio Compilers Languages Runtime components
Windows applications .NET Framework 4.6.2 Base class libraries improvements (e.g. long path support) CLR improvements (e.g. Better NullReference exceptions) ASP.NET (e.g. caching performance) WPF (per monitor DPI) Modernizing your .NET Framework apps Desktop Bridge (Centennial): Distribute your .NET Framework app in the Windows Store Windows containers: Run your ASP.NET applications on Windows containers
Demo ASP.NET 4.x and Windows containers
Cross-platform services .NET FRAMEWORK WINDOWS APPLICATIONS CROSS-PLATFORM SERVICES XAMARIN MOBILE APPLICATIONS .NET CORE TOOLS Visual Studio .NET STANDARD LIBRARY Visual Studio Code COMMON INFRASTRUCTURE Xamarin Studio Compilers Languages Runtime components
.NET Core Cross-platform Windows, Linux and macOS. Fast 8x faster than Node.js, 3x faster than Go Lightweight No impact deployment and a modular development model perfect for containers Open source Runtime, libraries, compiler, languages and tools developed in the open in GitHub
Age of Ascent Benchmarks http://web.ageofascent.com/asp-net-core-exeeds-1-15-million-requests-12-6-gbps/ ASP.NET 4.6 ASP.NET Core on CoreCLR
.NET Core Available now: .NET Core 1.0 Full supported RTM runtime Includes .NET Core SDK and tools Preview 2 Coming next .NET Core 1.1: ASP.NET Core, .NET Core Runtime and Entity Framework updates ASP.NET: URL Rewriting, Response Caching, View Precompilation, Azure integration EF Core: Connection Retries, SQL In Memory Tables . NET Core Tooling RTM: Unified tools for all .NET Platforms based on enhanced MSBuild
Continuous innovation Current Long Term Support (LTS) • Use the current release to get the latest features • Supported as long as you keep updating to the latest • Use the Long Term Support release as the most stable platform • LTS is fully supported for 3 years and receives regular important updates • You can mix and match your strategy (even in the same machine!)
Demo ASP.NET Core on Linux containers
Mobile applications .NET FRAMEWORK WINDOWS APPLICATIONS CROSS-PLATFORM SERVICES XAMARIN MOBILE APPLICATIONS .NET CORE TOOLS Visual Studio .NET STANDARD LIBRARY Visual Studio Code COMMON INFRASTRUCTURE Xamarin Studio Compilers Languages Runtime components
.NET Standard Library .NET FRAMEWORK WINDOWS APPLICATIONS CROSS-PLATFORM SERVICES XAMARIN MOBILE APPLICATIONS .NET CORE TOOLS Visual Studio .NET STANDARD LIBRARY Visual Studio Code COMMON INFRASTRUCTURE Xamarin Studio Compilers Languages Runtime components
Tools .NET FRAMEWORK WINDOWS APPLICATIONS CROSS-PLATFORM SERVICES XAMARIN MOBILE APPLICATIONS .NET CORE TOOLS Visual Studio .NET STANDARD LIBRARY Visual Studio Code COMMON INFRASTRUCTURE Xamarin Studio Compilers Languages Runtime components
.NET Standard Library One library to rule them all Learn one API Reuse your code across .NET platforms Easily consume third party / OSS libraries .NET Standard 1.x Russian doll model (1.0 – 1.6) across all existing PCL profiles and target frameworks Much simpler and straightforward model. Use them now! Two constraints: API surface relatively small, because .NET Core was small Can’t reference the vast number of libraries already available for .NET Framework
.NET Standard 2.0 Much bigger API surface Extended to cover intersection between .NET Framework and Xamarin .NET Core will bring the new API surface to comply with .NET Standard 2.0 .NET Framework interop Compatibility shim allows .NET Standard based libraries to reference existing .NET Framework binaries No recompile required Limited to .NET Framework libraries that only use APIs in .NET Standard (which are most of them)
APIs in .NET Standard 2.0 XLinq • XML Document • XPath • Schema • XSL XML BinaryFormatter • Data Contract • XML SERILIZATION Sockets • Http • Mail • WebSockets NETWORKING Files • Compression • MMF IO Threads • Thread Pool • Tasks THREADING Primitives • Collections • Reflection • Interop • Linq CORE
.NET Standard 2.0 interop with .NET Framework MY .NET CORE APP MY .NET FRAMEWORK APP MY XAMARIN APP MY STANDARD LIBRARY EXISTING PORTABLE CLASS LIBRARY EXISTING .NET STANDARD LIBRARY EXISTING .NET FRAMEWORK LIBRARY
Visual Studio “15” VISUAL STUDIO APP SCENARIOS EXPANDED • Best tool for microservices and containers • Mobile native development for Windows, iOS and Android • Evolve and modernize existing applications VISUAL STUDIO PRODUCTIVITY BOOSTED • Smarter code editing • Easily searching and navigating your code • Next generation of code analysis and helpers • More productive and advanced debugging VISUAL STUDIO FOUNDATION REDEFINED • Lightweight and modular acquisition • Great performance • Expanded support for any language, coming from any tool
Demo Visual Studio “15”
Common .NET FRAMEWORK WINDOWS APPLICATIONS CROSS-PLATFORM SERVICES XAMARIN MOBILE APPLICATIONS .NET CORE TOOLS Visual Studio .NET STANDARD LIBRARY Visual Studio Code COMMON INFRASTRUCTURE Xamarin Studio Compilers Languages Runtime components
Languages C# Powerful, flexible, for any kind of app Innovation principles: Forefront of language design, responsibly bringing latest language trends to enable complex applications. VB Easy to get started, approachable Innovation principles: Focus on simplicity and productivity for the most common scenarios. Great interoperability with C# for most complex scenarios. F# Productive functional programming and analytics Innovation principles: Create the most productive functional language in the market with full integration and interoperability with .NET.
Demo What’s new in C# and VB
Free IT Pro resourcesTo advance your career in cloud technology Plan your career path Cloud role mapping Expert advice on skills needed Self-paced curriculum by cloud role $300 Azure credits and extended trials Pluralsight 3 month subscription (10 courses) Phone support incident Weekly short videos and insights from Microsoft’s leaders and engineers Connect with community of peers and Microsoft experts Microsoft IT Pro Career Center www.microsoft.com/itprocareercenter Get started with Azure Microsoft IT Pro Cloud Essentials www.microsoft.com/itprocloudessentials Demos and how-to videos Microsoft Mechanics www.microsoft.com/mechanics Connect with peers and experts Microsoft Tech Community https://techcommunity.microsoft.com
Please evaluate this session Your feedback is important to us! From your PC or Tablet visit MyIgnite at http://myignite.microsoft.com From your phone download and use the Ignite Mobile App by scanning the QR code above or visiting https://aka.ms/ignite.mobileapp