Microsoft Launches Windows 10 Developer Tools Preview
"We believe that API contracts and the extension SDKs will allow you to adapt your code at runtime to deliver user experiences that feel right on the device it's being run on," Simpkins said. "With Windows 10 universal apps, you can choose to tailor your app to light up additional device-specific capabilities using adaptive code patterns," Somasegar said, describing the same process. "You can reference an Extension SDK that supplies either Windows or Windows Mobile specific APIs and write code that checks for the presence of the API when running on any device before code execution." Moreover, all the capabilities Microsoft introduced in previous previews of Visual Studio 2015 are also available for Windows universal apps, including the new diagnostic tools, XAML UI debugging and all of the profiling tools. These tools make debugging and diagnosing Windows apps easier for developers. Meanwhile, Somasegar said that with Windows 10, all .NET apps will be compiled with .NET Native by the Windows Store before being delivered to devices. Apps compiled with .NET Native will have a faster startup time and smaller memory footprint. This preview allows you to compile and run your .NET apps with the .NET Native tool chain on Window 10 PCs and Phones, he said.And to provide insights on usage patterns of apps, this release of Visual Studio integrates Application Insights with Windows 10 applications to provide developers with telemetry data for their applications via the Microsoft Azure portal. Application Insights offers deep visualizations and insights into the usage patterns of applications. For his part, Simpkins noted that the Windows 10 developer documentation is online on the Windows Dev Center and new documentation code samples will be published on GitHub. Microsoft published an initial couple dozen samples, with many more planned for the Build 2015 conference timeframe. Build runs April 29 through May 1.
In addition, all Windows Desktop applications—WPF, Windows Forms and Win32—continue to work on Windows 10 without any changes. With the Visual Studio 2015 tool for Windows 10, developers can now use the new Windows 10 APIs in their Win32 applications. Windows 10 also comes preinstalled with .NET Framework 4.6, which includes many new features including improvements in WPF and Windows Forms.