Transcript Building the Future of .NET - net Developer
Runtime Ecosystem Languages Tools
Every company is becoming a software company.
Enterprise software needs to be innovative, agile
and
polished.
Line of business apps must be cross-device.
Open Source enriches the platform and the community.
Enterprises have existing applications to evolve and keep running.
VS SDK
• • • • • • • • .NET Foundation Open source software Multi-device & Cross-platform Portable Class Libraries & Universal Apps Roslyn .NET Compiler Platform http://SourceOf.net
.NET Native RyuJIT modern JIT compiler
• • • Highly compatible, in-place update of .NET 4, 4.5
Incorporates feedback from 4.5.1 release 7 major features, 109 bug fixes
.NET API for Hadoop WebClient Composition (MEF2) .NET Compiler Platform ("Roslyn") MEF (Managed Extensibility Framework) Windows Phone Toolkit .NET Map Reduce API for Hadoop .NET Micro Framework ASP.NET Web Pages ASP.NET MVC ASP.NET Web API Entity Framework Rx Mimekit (Reactive Extensions) Xamarin.Mobile
Mailkit ASP.NET SignalR Web Protection Library WnsRecipe Couchbase for .NET
System.Drawing
Xamarin.Auth
OWIN Authentication Middleware Linq to Hive Windows Azure .NET SDK
http://visualstudio.uservoice.com
http://visualstudio.uservoice.com
• • Microsoft NuGet packages and Portable Class Libraries (PCLs) are licensed to work cross-platform PCLs work in Visual Studio Express & Xamarin tools
• • • • Portable Class Libraries can depend on WinRT APIs PCLs can be exposed to other languages as WinMD WinRT is converging across Windows platforms Increasing the set of APIs available on all platforms
• • • • Share source & assets between Windows 8.1 and Windows Phone 8.1 platforms You can even share XAML UI in the designer Share your project directly—no need to create Portable Class Library binaries Create an app for both platforms from one project
Conditional constants… #if WINDOWS_PHONE_APP Windows.Phone.UI.Input.
HardwareButtons .BackPressed
#endif += this.HardwareButtons_BackPressed
; …drive IntelliSense, syntax highlighting, emulators, etc.
• • • • • • • • .NET Foundation Open source software Multi-device & Cross-platform Portable Class Libraries & Universal Apps Roslyn .NET Compiler Platform http://SourceOf.net
.NET Native RyuJIT modern JIT compiler
MSIL bytecode Machine code
• • • In C# and VB instead of in C++ Exposes rich public APIs Source is shared on CodePlex • • APIs provide diagnostic analysis, symbol analysis Unify tools and diagnostics frameworks Extend VS capabilities
http://SourceOf.net
Browse .NET Framework source code online • • • Rosyln Hyperlinked source code Browsing features include Step through .NET Framework sources when debugging your code
MSDN http://www.msdn.com/roslyn Download preview http://aka.ms/Roslyn CodePlex http://roslyn.codeplex.com
Roslyn source browser http://source.roslyn.codeplex.com
See also: OSS for F# http://visualfsharp.codeplex.com
• • • Next Generation Compiler in the Cloud builds upon Triton for Windows Phone Apps compiled with .NET Native start up to 60% faster and use ~25% less memory Developer Preview available at http://aka.ms/dotnetnative Wordament on .NET Native: Scenario Cold Startup Warm Startup Memory Usage Improvement (%)
39.32% 31.21% 12.68%
Enable .NET Native for your project Debug and test your app with .NET Native
• • • • Throughput measures how fast a compiler Because a JIT compiler runs before user code throughput dominates startup.
generates
app code. Code quality measures how fast the
generated code
compiled once and run for a long time.
runs. Code quality matters most in a long-running process where code is JIT 32-bit JIT emphasizes
throughput
over
code quality
64-bit JIT emphasizes
code quality
over
throughput
• • • RyuJIT is based on JIT32 for fast throughput RyuJIT brings optimizations from JIT64 for great code quality Having one JIT codebase means faster innovation • Try out CTP3 today: http://aka.ms/RyuJIT
• • • • • • • • .NET Foundation Open source software Multi-device & Cross-platform Portable Class Libraries & Universal Apps Roslyn .NET Compiler Platform http://SourceOf.net
.NET Native RyuJIT modern JIT compiler
Blog @dotnet E-mail dotnet MSDN Forums UserVoice