Skip to main content

Windows 8 Blank Application Architecture

Hello geeks .. as we know , knowing the reason of presence of some things is too important .
There are three type of Windows 8 metro style applications.. In this post I'm going to talk about Blank Applications, How they work ? What is the need of each .cs File and Folders ? So you will be able to build applications based on knowledge not just throwing bunch of code to do something and run away !

Blank , Split , Grid Windows 8 Application Create New

Overview

Windows 8 Applications generally gave us much options to develop applications using different programming languages combinations such as : 
Windows 8 Metro Style Apps Options
  • JavaScript With HTML5
  • C# With XAML (Extensible Application Markup Language)
  • Visual Basic .NET With XAML
  • Visual C++ Component extensions (C++/CX) With XAML 
  • Visual C++/CX With Microsoft DirectX

As an example picking C# & XAML , When Creating The Applications , There are some files and folders in the Solution Explorer , In this post we will get to know the most important of them Which are ( AssemblyInfo.cs , References Folder , Assets Folder , Package.apppxmanifest ) those elements are common in the three types of applications ( Blank , Grid , Split ) . 

AssemlyInfo.cs

Try Opening This File under the Properties folder , It contains information about your application like Name , Description , Version and Etc .. 
So simply imagine deleting this file will cause your application compile without information about it . 

References Folder

This folder Contains all the references that your application depends on such as .NET libraries and Windows libraries . ( but those References are default in your Windows 8 applications ) 
So , An Example of References you may need while developing applications that need to store data in databases , you may need SQLite for windows runtime . 

Assents Folder

This folder contains the four images needed for your applications to be set as ( Logo , Small Logo , Splash Screen and Store Logo ) and however those images look , weather you design or whatever , they must be named as the following : Logo.png , SmallLogo.png , SplashScreen.png , StoreLogo.png)

Package.appxmanifest

A very important part of the application as it helps define how your application will run within windows 8 . 
At a very basic level this is where you set things like Name , Description and the default Logos for your applications . 
But let me tell you the meat of the appxmanifest is the ( Capabilities & Declarations ) Sections as it makes you able to tell windows what level of access your application require to run . 

Here we reach to the end of this article , I hope it's useful for you people ^_^ 

You may also read : 

Comments

Popular posts from this blog

C# Full Pharmacy Project With Source code

Hello Geeks .. This post is one of our completely Free Projects  .. It is a Pharmacy Project that can perform a lot of operations you can also find the (.dll) files for the working Barcode Reader Machines in your country and add it to the project .

How To Create A Change Password Form in a C# Application

Hello Geeks .. This little post is a free sample C#  Windows Form that can be used to change password in a SQL Database .

Microsoft Interview - MSP Windows 8 Vertical

Hello Geeks ..It seems to be my return to posting starting today , and i will start by telling about the Interview i just had in Microsoft for MSP - Club . You first need to know that questions are both technical and social , they need to know the real you , weather you understand what you are saying or not , weather you know your limits and able to control it or not . I applied for Microsoft Windows 8 vertical  to be a Microsoft Partner Presenter in my college . MSP Club - Windows 8 Vertical