Sunday, 5 April 2015

Developer Tools for building Windows 10 Apps

The SDK for Windows 10 Apps has been released just last week. In this blog post we shall see how what are the required tools and how to use them.


To get the  tools, developers need to sign up for the Windows Insider Program, install the latest Windows 10 technical preview release and install both Visual Studio 2015 Community Technology Preview (CTP) 6 and the Tools for the Windows 10 Technical Preview, which include the Windows 10 software development kit (SDK).



Below are the steps to download  Visual Studio Preview for Windows 10 Apps:

  1. Sign up for the Windows Insider Program, if you haven't already.
  2. Install, or upgrade to, the latest flight of Windows 10 Technical Preview to best support Windows Universal App Platform development.
  3. Run Windows Update to check for the latest updates.
  4. If you're running CTP5 or earlier, uninstall your previous version of Visual Studio 2015.
  5. Install Visual Studio 2015 CTP6.
  6. Install the Tools for Windows 10 Technical Preview, which are required when developing for the Windows Universal App Platform. (To install the .iso file, download the files, right-click the local copy, and then select Mount.)
Before moving to Visual Studio, its's good to see the Windows Core and Universal App Platform (UAP) to understand the major change in the SDK that allows developers to target nearly "all" devices.

The new universal app platform (UAP)that Microsoft is building with Windows 10 will sit on top of the Windows core. The UAP is a superset of WinRT, the Windows 8 and Windows RT runtime. The migration path to Windows 10 UAP apps is from 'universal' 8.1 apps.

     Source: zdnet

Windows 8.1 and Windows Phone 8.1 apps target an operating system (OS): either Windows, or Windows Phone. 
With Windows 10 Technical Preview you no longer target an operating system but target your app instead to one or more device families. 
A device family identifies the APIs, system characteristics, and behaviors that you can expect across devices within the device family. 
It also determines the set of devices on which your app can be installed from the Store. 
Here is the device family hierarchy. Source: MSDN

Once all the tools installed, you may start developing Apps for Windows 10 using UAP.
When doing File > New Project, Select Windows 10 > Blank Application (UAP)

image

When you've done that, notice that only one project appears in Solution Explorer. That's because your app is now truly adaptive and you only need one project to build it. The project contains one page but you can add others. Each page renders on all devices that your project targets so you don't have to create multiple versions of them.

More details on the Adaptive UI Controls of the Windows 10 SDK  in my next blog post.


Happy Coding!

4 comments:

  1. We are Premium Windows App Development Company. We are Masters of App Development , Android/IOS/Windows Mobile. Over decade of experience. Contact us for more details

    ReplyDelete
  2. Admiring the commitment you put into your blog and detailed
    information you provide. It's nice to come across a blog every once in a
    while that isn't the same outdated rehashed information. Fantastic read!
    I've bookmarked your site and I'm including your RSS feeds to my Google account.



    Look at my site :: Rumah Bukit Palma Citraland

    ReplyDelete
  3. Thanks extremely helpful. Will share website with my good friends.
    daftar harga .

    ReplyDelete
  4. You're an extremely helpful site; couldn't make it without ya!

    daftar harga
    .

    ReplyDelete