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

Programming Languages Ranking | Feb 2015 | JavaScript Greatest Performance

This is my second post along the blog speaking about programming languages ranking according to  TIOBE  for software quanlity. Before heading off to speak about the ranking, I would like to point out that this rank is based on the amount of searches and content availiable on the web for each programming language, You can read the full definition of TIOBE index  here .

5 Strategies to make money with Google AdSense

Hello geeks .. Before we start talking about those strategies you need to be sure that there's nothing called "Best Strategy" toward making money with  Google AdSense  as every one has his own experience and way of making money with this program and what may success with one person may fail with another person . So let us know some of those strategies for making money with AdSense Program .

Think Outside The Box

It was very much about not believing the traditional way of doing things. Don’t be afraid. Just because people tell you it can’t be done, that doesn’t necessarily mean that it can’t be done. It just means that they can’t do it. I think it’s always fun to think outside of the box and try to find new solutions to existing problems. I think simplicity is always a winner. If you can find a simpler solution to something—that has certainly for me been a guiding principle. Always try to make it simpler. I think to be really good at something, you have to be passionate about it too. That’s something you can’t learn. That’s just something that you have, I think. I got into programming not because I wanted to make lots of money or because someone told me to. I got into it because I just got totally absorbed by it. You just could not stop me. I had to write programs. It was the only thing I wanted to do. I was very, very passionate about it. You have to have that passion to get really good ...