Window Application Development PDF
Window Application Development PDF
ANJALI BALIYAN
Roll No.: 1241610007
B.Tech (CSE)
At
IntelliRise Corp.
Microsoft Innovation Center,
Plot No. 2, Knowledge Park III, Greater Noida, U.P.
Acknowledgement
It is always a pleasure to remind the fine people in the
Engineering program for their sincere guidance I received to
uphold my practical as well as theoretical skills in engineering.
Firstly,
I
would
also
like
to
thank_________________________________ for his support and
encouragement so each and every student could excel in studies.
Contents
1.
2.
3.
4.
INTRODUCTION...5
ABOUT COMPANY...6
DETAILS OF THE PROGRAM.7
TRAINING MODULES..7
I.
UNDERSTANDING SOFTWARE DEVELOPMENT
REQUIREMENT8
II. GENERATING SOFTWARE SPECIFICATION
REPORT.8
III. DESIGNING GUI..9
A. SCREENSHOTS OF APPLICATION10
IV. DEVELOPMENT OF APPLICATION...13
A. MVC ARCHITECTURE.13
B. WEB-API.15
C. SQL SERVER.16
D. AZURE17
E. ELEMENTS USED IN PROJECT..18
V. APPLICATION TESTING AND VERIFICATION23
VI. FINALIZING APPLICATION23
5. CONCLUSION..24
INTRODUCTION
We were admitted to study the Windows Store Application
Development. We were taught SDLC for a Windows Store Application
Development. Windows Store Applications are the applications that
targeted to Windows 8/8.1/10 platform. Windows Store Apps are
Windows Runtime-based app. These applications provide an integrated
environment for users to interact with the system to get a desired
output.
About Company:
Intellirise Corp is a startup company situated at Microsoft
Innovation Center, Plot-2, KP-3, Greater Noida, U.P.
Intellirise is an active partener of Microsoft Partener and
Microsoft Bizspark.
Intellirise has an online learning portal www.intellilearn.com
containing tutorials of software development technology.
Intellirise has been involved in developing Applications for
Auto Rickshaw Booking App and Blood Donation App.
Description:
Windows Store App Development Training is training
program to give detailed knowledge of development cycle of a
Windows Store App. A Windows Store App is an application software
that is available for download from Microsoft Windows Store. It can
either be paid or free as per the developers wish. Windows Store Apps
are meant to run on Windows 8/8.1/10. This training program was fully
oriented to development of a Windows Store App. It covered all the
modules that are required in SDLC life cycle of a Windows Store App.
Training Modules:
Microsoft Windows
Microsoft Visual Studio
Adobe Photoshop
SQL Server
Microsoft Azure
Application Specification
Designing GUI
GUI or Graphical User Interface is a type of interface that
allows users to interact with electronic devices through graphical icons
and visual indicators such as secondary notation, as opposed to textbased interfaces, typed command labels or text navigation. GUIs were
introduced in reaction to the perceived steep learning curve of
command-line interfaces (CLIs), which require commands to be typed
on the keyboard.
DEVELOPMENT OF APPLICATION
Development phase is very important phase of Application
Development Life Cycle. In this phase all the function algorithms are
implemented and added to the application.
MVC Architecture
MVC is one of three ASP.NET programming models.
MVC is a framework for building web applications using a MVC
(Model View Controller) design:
The MVC model also provides full control over HTML, CSS, and
JavaScript.
Web-API
ASP.NET Web API is a framework that makes it easy to
build HTTP services that reach a broad range of clients, including
browsers and mobile devices. ASP.NET Web API is an ideal platform
for building RESTful applications on the .NET Framework.
SQL Server
Microsoft SQL Server is a relational database management
system developed by Microsoft. As a database server, it is a software
product with the primary function of storing and retrieving data as
requested by other software applications which may run either on the
same computer or on another computer across a network (including the
Internet).
Microsoft Azure
Microsoft Azure is a cloud computing platform and
infrastructure, created by Microsoft, for building, deploying and
managing applications and services through a global network of
Microsoft-managed and Microsoft partner hosted datacenters. It
provides both PaaS and IaaS services and supports many different
programming languages, tools and frameworks, including both
Microsoft-specific and third-party software and systems. Azure was
announced in October 2008 and released on 1 February 2010 as
Windows Azure, before being renamed to Microsoft Azure on 25
March 2014.
Step 1: On the Project tab at the top, under the Store heading, click on
the Create App Packages and follow the instructions on the screen.
You will have to open up your developer account for this. Login to your
account and follow the steps. You'll get a screen asking for the name of
app package and app name. Reserve it and go next.
To locate the package while uploading onto the store, you'll go to the
location where the project is saved on your hard drive and click on the
folder other than the sln file. Go inside app packages. There you'll find
some files with .appxupload extension. The latest version of this file is
the file package to be uploaded on the store.
Hop you might have got the idea how to upload these packages on the
store. In the next blog we'll discuss about adding button controls. Till
then STAY TUNED!!
Button
To add a button, we will again work on the file with .xaml
extension. Drag and drop the button tool from the toolbox into the
designer window.
ListView
To
add
a
ListView
in
xaml:
1.Add
a
ListView
control
to
a
parent
container.
2.To assign a name to the list view, set the x:Name attribute to a string
value.
To refer to a control in code, it must have a name. Otherwise, a name
is
not
required.
3.Add items to the list view by populating the Items collection or by
binding the ItemsSource property to a data source.
Here's an example of how to populate the Items collection in XAML.
<ListView x:Name="listView1"
SelectionChanged="ListView_SelectionChanged">
<x:String>Item 1</x:String>
<x:String>Item 2</x:String>
</ListView>
TextBox
1. Add a Textbox control to the container.
2. To assign a name to the Textbox, set the x:Name attribute to a string
value.
3. To assign a label to the Textbox, set the Content property to a string
value. XAML
TextBox
x:Name="textBox1" Text="I am a TextBox"
TextChanged="TextBox_TextChanged"
This example shows a read-only TextBox with several properties set
to customize the appearance of the text. XAML.
MediaElement
Add media to your app by creating a MediaElement object
in XAML and set the Source to a Uniform Resource Identifier (URI)
that
points
to
an
audio
or
video
file.
Here is some code that creates a MediaElement and sets its Source
property to the URI of a video file. The MediaElement begins playing
when the page loads. To suppress media from starting right away, you
can set the AutoPlay property to false.
<MediaElement
x:Name="mediaSimple" Source="Videos/video1.mp4"
Width="400" AutoPlay="False"/>
This is the most crucial phase as during this phase only all
the errors and bugs are removed from the application.
FINALIZING APPLICATION
Finally, the application is ready to be published on the store.
To publish an application on the Windows Store one should have a
developer account. If not then one needs to buy a developer account
from Microsoft and then will be able to publish their application.
CONCLUSION