In the blink of an eye Windows 8.1 has been released four months ago, because the development needs of Windows 8.1 new features have been scattered learning and use, has not been a quiet mind to systematically study. Recently, a number of new colleagues in the Department to join the need for Windows Store application development training, so take this opportunity to comb the Windows 8.1 application development knowledge. Gossip is not much talk, then start the first station, create the first application.
First, let's take a look at development environment requirements: Windows 8.1 + Visual Studio 2013
Then we'll create a new app for Windows 8.1 store, named HelloWorld (well, this may be the most used name) to see how the project is made.
The general information of the AssemblyInfo.cs file control program set in the properties directory, such as the assembly title, description, company, copyright and version, etc.
A reference is a directory that everyone is familiar with, and our references to other assemblies are listed here, and we can add references or delete references;
The assets directory holds the picture files related to the application icon and the splash screen;
App.xaml contains the resources required for application, App.xaml.cs provides access to applications;
HELLOWORLD_TEMPORARYKEY.PFX is the application of digital certificate files;
MainPage.xaml is the first interface that appears after the application starts;
Package.appxmainfest is the application's manifest file, where you can set application names, icons, portals, features, and so on.
Let us now elaborate on the manifest file:
1. Application
The main settings are the name of the application, language, support rotation, supported notification methods, and so on. The big difference between Windows 8 is that you can set the minimum width, the application in the snapped state in Windows 8 has a fixed width of 320px, and the user in Windows 8.1 can change the width of the snapped state application by dragging. Developers can also set a minimum width of 320px, 500px, or default values.