Developing Universal Apps and REST APIs using Visual Studio Online
-
Upload
michael-john-pena -
Category
Technology
-
view
528 -
download
0
description
Transcript of Developing Universal Apps and REST APIs using Visual Studio Online
Developing Universal Apps and REST APIs using Visual Studio OnlineMichael John PeñaMicrosoft Student Partner Alumnus@mjtpena
A little about me…
• B.S. Information Technology – UST• Microsoft Student Partner 2011 – 2013• Provoke Solutions 2013 – 2014• Avanade – Present
• I like clouds.• I love to read.• I did not choose to become a geek, the geek life chose me.• Making the world a better place, one line of code at a time.
Agenda For Tonight
What is Visual Studio Online?
Consuming VSO API
Visual Studio Online
Questions, Clarifications, Links and Downloads
What is Universal App?
What codes are shared between Windows Phone and Windows 8?
Universal Apps Questions?
Microsoft Universal App
• Windows 8 and Windows Phone 8 share many components at the operating system level
Shared Windows Core
Apps
XAMLC
C++C#
Visual Basic
HTML
JavaScript
Windows RuntimeWindows
Developing for Windows
Windows 8 PlatformWindows Store Apps
HTMLJavaScrip
t
CC++
C#VB
Desktop Apps
Win32
.NET / SL
Internet Explore
r
Communication
& Data
Application Model
Devices & Printing
WinRT APIsGraphics &
Media
Syst
em
Serv
ices
JavaScript(Chakra)
CC++
C#VB
XAML HTML / CSSVie
wM
od
el
Contr
olle
r
Windows Core OS ServicesCore
Windows Runtime APIs
FundamentalsApplication
Services Threading/Timers Memory Management Authentication Cryptography Globalization
Devices
Geolocation Portable Sensors NFC
User Interface
SVG Tiles Input Accessibility Printing
HTML5/CSS XAML DirectX Controls Data Binding
Communications & Data
Memory Management XML Networking SMS
Notifications Streams
Contracts Local & Cloud Storage Web
Media
Playback Capture PlayTo Visual Effects
• Windows 8.1
• Visual Studio 2013
• 4 GB Ram for Phone Emulator/SDK
• Windows Phone 8.1
Minimum Requirements
The Solution File
• Assets• Images and Files
• App.xaml• Views
• Custom Control
• Code Behind (App.xaml.cs)
• Portable Class Libraries• Model
• ViewModel
• Services
• Helpers / Converters
What are shared?
• References
• App Manifests
• Some Classes :D• Special mention to:
WebAuthenticationBroker
What are not shared?
Visual Studio Online
• Version Control
• Work Items
• Agile and Scrum Tools
• Automated Build
• Service Hooks
What is VSO?
Version Control
Work Items
What can we do with it?
THERE SHOULD BEAN APP FOR THAT!
VSO REST API UNIVERSAL APP
Mobile Visual Studio Online
CALIBURN.MICRO
PROPERTYCHANGED.FODYMVVM Tools
MVVM Light is Cool. Prism is Solid.
Caliburn.Micro is convenient.
Why Caliburn.Micro?
• Binding is Very Straightforward between ViewModel and View for both Actions and Elements.
• No need for ViewModel locator. The ViewModel and View is automatically matched by naming convention.
• Reduced steps for Relay and Callbacks.
• Easy to override Lifecycle events such as OnActivate on ViewModel.
• Navigation is easily implemented with the built in Navigation Service.
• Bindable App Bar
Features:
From This: To This:
PropertyChanged.Fody (Code Weaving)
How it Works?
LOGIN HTTP CALL BIND
HOW TO LOGIN
HTTP METHODS
How to Bind
VIEWMODEL
VIEW
DEMO and QUestions
Resources
Downloads and Links
*Note: All Links are subject for changes, after the date of this presentation.
• Getting Started with Universal Apps• Getting Started with VSO• Source Code• My Blog