480 likes | 627 Views
Mobilitet för företag och organisationer Mikael Håkansson. Enterprise Mobility. Integration Business Intelligence Client infrastructure Business Consultant Mobile Developer. Consumer app. App. Back-end. Enterprise app. App. Back-end. Challenges. Native ? Web? Hybrid?. LOB System.
E N D
Mobilitet för företag och organisationer Mikael Håkansson
Enterprise Mobility Integration Business Intelligence Client infrastructure Business Consultant Mobile Developer
Consumer app App Back-end Enterprise app App Back-end
Challenges Native? Web? Hybrid? LOB System Format? Transport? Availability? Security? ? Distribution? Management?
Outline 21:00 18:00 Break Transport & Format Availability Security & Authentication Building native applications Mobile communication patterns Q & A
WCF | REST | JSON AZURE | Service Bus | ACS STS | ADFS | Token basedauthentication iOS | Android | Windows Phone
Challenge #1 – Transport & Format LOB System REST/JSON ? BizTalk
REST (in short) SOAP HTTP(S) SOAP Envelope XML POST REST HTTP(S) Any XML/JSON/* GET/POST/PUT/DELETE Protocol Body Format Data Format Supported Verbs
XML vs JSON <person id=”1234> <name>Magnus Norberg</name> </person> { "id": “1324", "name": “Magnus Norberg" }
XML vs JSON • <persons> • <person id=”1234> • <name>Magnus Norberg</name> • </person> • <person id=”5678> • <name>Kritster Ranta</name> • </person> • </persons>
XML vs JSON [ { "id": "1234", "name": ”Magnus Norberg" }, { "id": "5678", "name": ”Krister Ranta" } ]
REST with BizTalk Server 2013 • GET- & DELETE payload is passed in context only • Only supports XML (BUG) • Exception handling is difficult • Limited to Isolated host (IIS) • Doesn’t work with Service Bus (BUG)
Challenge #2 – Availability DMZ LOB System BizTalk
Challenge #2 – Availability LOB System RelayBinding Azure BizTalk
Availability – Check! LOB System Gateway Relay
Challenge #3 – Security (Access) 2 1 LOB System realm, username, password ACS BizTalk Relay
Challenge #4 – Federated Authentication STS ”issuer” Trust ”token” Relay ”relying party application”
Challenge #4 – Federated Authentication LOB System ACS BizTalk Relay ADFS SAML Active Directory
Challenge #4 – Federated Authentication 2 3 1 LOB System SWT/JWT ACS BizTalk Relay realm, username, password ADFS SAML SAML SWT Active Directory
<part1/> upnext: Building Mobile Apps
Building Mobile Apps Native Web based Hybid Tightly integrated Homogeneous design Require developer specialists Designated distribution channel Time consuming Development standards Simplified deployment Rapid development Not integrated with device Generic design Tightly integrated Simplified deployment Rapid development Generic design
The Work Order Application Welcome Work Orders Details Work Order #1 Work Order #1 Demo Name: Title: … Description: Work Order #2 **** Password: New Status: Work Order #3 17 Effort: Work Order #4 Work Order #5 Edit Delete Login Back
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 bothiOS (MonoTouch) and Android (Mono for Android)
Building Native Apps using Visual Studio C# only Compiles to nativecode Native UX controls Huge community Xamarin Studio | Visual Studio
Xamarin - Architecture REUSE
MonoTouch.Dialog Framework to programmatically create standard user interface using code only Works with Visual Studio
MonoTouch.Dialog 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
Complete demo! 2 3 1 LOB System SWT/JWT ACS BizTalk Relay ADFS SAML SWT/JWT Active Directory
Mobile communication patternsusing Azure Mobile Services • Data (SQL Azure + node.js) • API (node.js) • Scheduler (node.js) • Push • Identity • Preconfigured apps for all platforms
Mobile communication patterns Request/Reply BizTalk
Mobile communication patterns Request/Reply Fire n’ forget BizTalk BizTalk
Mobile communication patterns Request/Reply Fire n’ forget Callback BizTalk BizTalk BizTalk
Mobile communication patterns Request/Reply Fire n’ forget Callback BizTalk BizTalk BizTalk BizTalk Cache
Mobile communication patterns Request/Reply Fire n’ forget Callback BizTalk BizTalk BizTalk BizTalk Cache
About Xamarin Starter Indie Business Enterprise • Publish to app stores • Xamarin Studio • Size capped to 32kb • Build your first app! • Xamarin Studio • Unlimited app size • 1 Year Subscription • Licensed per user • Business Features • Email Support • Xamarin Studio • Visual Studio Support • 1 Year Subscription • Licensed per seat • 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 Directory http://bit.ly/15xJ2Io Windows Azure Mobile Services http://bit.ly/188Llcg Microsoft BizTalk Services http://bit.ly/11ELOcK
For more info… Federated Authentication for Azure Service Bus bit.ly/1d1VAPu Azure Service Bus bit.ly/1cw2K0I Xamarin http://xamarin.com/