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 : 

Popular posts from this blog

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 .

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 C# Chat Application

Hello Geeks .. Today I gonna show you How to make a Chat Application Using Microsoft C#.NET 5.0 .
You Can Use Older Versions Since there is nothing special in the application that only belongs to C# 5.0 .

This Application Was Created To Allow Two Computers To "Chat" Using IP Addresses Also you Can Open two Clients On The Same Computer and Use Same IP Address But Different Port.. It is simple and Easy to Use And Develop .. I also Uploaded The Full Working Project With It's Source Code On MediaFire.. You Will Find The Link At The End Of the Post :)