In this blog let us discuss about the visual studio with
some simple examples for windows store applications.
Visual studio is a IDE which is used to build, create and
deploy different kinds of applications like windows forms, WPF, ASP.net web
forms, Console applications and many more. This visual studio tool is developed
by Microsoft which supports different languages. Most of the developers use
some of the languages to develop applications. Some of them are Visual C#,
VB.net, F#, ASP.net managed C++ etc. We use dot net framework from the earlier
2.0 stable version to the current 4.5 version particularly in Visual studio
2013.
Tools required to develop applications using Visual studio
2013 are
- Windows 8.1(This operating system is necessary to develop particularly windows store and windows phone applications)
- Visual studio 2013 Community edition/academy edition tool (We can also include Blend and Phone emulators during installation)
After installation start new project and rename it. We can
also browse our desired location to save our project files
In this above diagram we can see how to add a new project.
We should particularly select the language before you select the type of
application. After selecting the language we should select the type of
application to be developed. We can see many templates in the dialog box. These
templates are used to develop the applications similarly but it only differs in
theme. We can also change the name of our application. We can change the directory
of our project files by clicking on browse button.
In Solution explorer we can see the files with respect to
our project.
Our main page, code behind file, App.xaml.cs, Assets, and we
can also see package.appmanifest files in our solution explorer.
In this App.xaml.cs page is already predefined with some
code by developer. It is the code behind file for App. Xaml page. Every
application consist of one xaml page and one .cs page where we can include all functionalities
of the app. These both files together makes a complete module of one page. It
also contains a constructor that calls InitializeComponents() method. No need of declaring this initialize
component, we can find it in every page.
In Mainpage.xaml we can design our user interface of our
app. The tools from the toolbox also can be added directly to our UI. We can
also add these tools in xaml code. Mainpage.xaml.cs is the file that contains
the functionalities and attribute values where we can add event handlers and we
can implement methods.
I am really impressed the way you have written the blog. Hope we are eagerly waiting for such post from your side. HATS OFF for the valuable information shared!
ReplyDeleteDOT NET Training Institute in Chennai
DOT NET Course in Chennai
DOT NET Training in Chennai