Upload
jacquelyn-danley
View
266
Download
3
Tags:
Embed Size (px)
Citation preview
Mobilitet för företag och organisationer
Mikael HåkanssonEnfo Zign
Microsoft MVP
Enterprise Mobility Integration?Business Intelligence?Client infrastructure?Business Consultant?Mobile Developer?
Challenges
Format?Transport? Availability?
Security?LOB System
Distribution? Management?
Native? Web?
Hybrid?
?
Outline
Transport & Format
Availability Security & Authenticatio
n
Web based Applications
Native Applications
Q & A
Break 12:0009:00
WCF | REST | JSONAZURE | Service Bus | ACS
STS | ADFS | Token based authenticationMVC | ASP.NET
iOS | Android | Windows Phone
Mikael Hå[email protected]
@wmmihaa
Challenge #1 – Transport & Format
LOB System
Gateway
REST ?
REST (in short)
ProtocolBody FormatData FormatSupported Verbs
SOAP
HTTP(S)SOAP EnvelopeXMLPOSTVerb oriented
REST
HTTP(S)AnyXML/JSON/*GET/POST/PUT/DELETEFocus on resources
Demo”the Gateway”
DMZ
Challenge #2 – Availability
LOB System
Gateway
LOB System
Azure
Gateway
Relay Binding
Challenge #2 – Availability
Demo”Azure Service Bus - Relay”
LOB System
Gateway
Availability – Check!
Relay
• Price: ~$15/1.000.000 msgs (<=64kb)• Supports LB• Queues are also available in SB
Can anyone access my service?????
LOB System
Gateway
Challenge #3 – Security (Access)
Relay
ACS
1
2realm
, use
rname, p
assword
Demo”Acquire a token from ACS”
Challenge #4 – Federated Authentication
Challenge #4 – Federated Authentication
STS
”issuer”
Relay
Trust”token”
”relying party application”
LOB System
Gateway
Challenge #4 – Federated Authentication
Relay
Active Directory
ADFS
ACS
SAML
Demo”Acquire a token from ADFS”
LOB System
Gateway
Challenge #4 – Federated Authentication
Relay
ACS
Active Directory
ADFS1
2
3
SAML
SWT/JWT
realm, username, password
SAML
Demo”Acquire a token from ACS using a SAML
token”
End part 1
up next: Building Mobile Apps
Building Mobile Apps
Native Web basedTightly integratedHomogeneous design
Require developer specialistsDesignated distribution channelTime consuming
Development standardsSimplified deploymentRapid development
Not integrated with deviceGeneric design
HybidTightly integratedSimplified deploymentRapid development
Generic design
The Work Order ApplicationWelcome
Name: Demo
Password: ****
Login
Work Orders
Work Order #1
Work Order #2
Work Order #3
Work Order #4
Work Order #5
Welcome
Title:
Description:
Back
Status:
Effort:
Work Order #1
…
New
17
EditDelet
e
Demo”Building a Web based Application”
Building Native Apps using Visual Studio
• Cross-platform .Net Framework• Founded in 2001 by Novel• Mono 1.0 released in 2004• Supported by Xamarin in 2011• Now supports both iOS
(MonoTouch) and Android (Mono for Android)
Building Native Apps using Visual Studio
• C# only• Compiles to native code• Native UX controls• Huge community• Xamarin Studio | Visual Studio
Xamarin - Architecture
REUSE
Xamarin.MobileCommon API
• Contacts• Camera• Geolocation• Compass & Accelerometer• Notifications
XamarinConditional Compilation
Xamarin Studio || Visual StudioImportant! MonoTouch (iOS) needs to compile on a Mac!
Use Xamarin Studio if you want to use xCode to create your UI
Demo”Building my first iPhone app”
MonoTouch.DialogFramework to programmatically create your user interface using Visual Studio only
• Reflection API (High Level)• Elements API (Lower Level)
Works with Visual Studio
MonoTouch.Dialog - Reflection API
public class Expense{ [Section("Expense Entry")]
[Entry("Enter expense name")] public string Name;
[Section("Expense Details")]
[Caption("Description")] [Entry] public string Details;
[Checkbox] public bool IsApproved = true;}
MonoTouch.Dialog - Elements API
UIWindow - The Application Window
- UINavigationController - Handles navigations between dialogs
- DialogViewController - A dialog
- RootElement - Top-level container for the items
- Section - Grouping element
- Element - Controls
MonoTouch.Dialog - Elements API
UINavigationController- DialogViewController - RootElement - Section - Element
Demo”Building an iOS Application using Visual
Studio”
LOB System
Gateway
Complete demo!
Relay
ACS
Active Directory
ADFS1
2
3
SAML
SWT/JWT
About Xamarin
Starter• Publish to app stores• Xamarin Studio• Size capped to 32kb• Build your first app!
Indie• Xamarin Studio• Unlimited app size• 1 Year Subscription• Licensed per user
Business• Business Features• Email Support• Xamarin Studio• Visual Studio Support• 1 Year Subscription• Licensed per seat
Enterprise• Priority Support (SLA)• Premium Components• Xamarin Studio• Visual Studio Support• 1 Year Subscription• Licensed per seat
Free $299 $999 $1899
Related technologies…
Windows Azure Active Directoryhttp://bit.ly/15xJ2Io
Windows Azure Mobile Serviceshttp://bit.ly/188Llcg
Microsoft BizTalk Serviceshttp://bit.ly/11ELOcK
For more info…
Federated Authentication for Azure Service Busbit.ly/1d1VAPu
Azure Service Busbit.ly/1cw2K0I
Xamarinhttp://xamarin.com/
Q&A ”Building an iOS Application using Visual
Studio”