440 likes | 548 Views
Mobilitet för företag och organisationer Mikael Håkansson Enfo Zign Microsoft MVP. Enterprise Mobility. Integration? Business Intelligence? Client infrastructure? Business Consultant? Mobile Developer?. Challenges. Native ? Web? Hybrid?. LOB System. Format? Transport?
E N D
Mobilitet för företag och organisationer Mikael Håkansson Enfo Zign Microsoft MVP
Enterprise Mobility Integration? Business Intelligence? Client infrastructure? Business Consultant? Mobile Developer?
Challenges Native? Web? Hybrid? LOB System Format? Transport? Availability? Security? ? Distribution? Management?
Outline 12:00 09:00 Break Transport & Format Availability Security & Authentication Web based Applications Native Applications Q & A
WCF | REST | JSON AZURE | Service Bus | ACS STS | ADFS | Token basedauthentication MVC | ASP.NET iOS | Android | Windows Phone
Mikael Håkansson mikael.hakansson@enfo.se @wmmihaa
Challenge #1 – Transport & Format LOB System ? REST Gateway
REST (in short) SOAP HTTP(S) SOAP Envelope XML POST Verb oriented REST HTTP(S) Any XML/JSON/* GET/POST/PUT/DELETE Focus on resources Protocol Body Format Data Format Supported Verbs
Challenge #2 – Availability DMZ LOB System Gateway
Challenge #2 – Availability LOB System RelayBinding Azure Gateway
Availability – Check! • Price: ~$15/1.000.000 msgs (<=64kb) • Supports LB • Queuesarealsoavailable in SB LOB System Gateway Relay
Challenge #3 – Security (Access) 2 1 LOB System realm, username, password ACS Gateway Relay
Challenge #4 – Federated Authentication STS ”issuer” Trust ”token” Relay ”relying party application”
Challenge #4 – Federated Authentication LOB System ACS Gateway Relay ADFS SAML Active Directory
Challenge #4 – Federated Authentication 2 3 1 LOB System SWT/JWT ACS Gateway Relay realm, username, password ADFS SAML SAML SWT/JWT Active Directory
End part 1 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 Welcome 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
Xamarin.Mobile Common API • Contacts • Camera • Geolocation • Compass & Accelerometer • Notifications
Xamarin Conditional Compilation
Xamarin Studio || Visual Studio Important! MonoTouch (iOS) needs to compile on a Mac! Use Xamarin Studio ifyouwant to usexCode to createyour UI
MonoTouch.Dialog Framework 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 publicclassExpense { [Section("Expense Entry")] [Entry("Enter expense name")] publicstring Name; [Section("Expense Details")] [Caption("Description")] [Entry] publicstring Details; [Checkbox] publicboolIsApproved = 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
Complete demo! 2 3 1 LOB System SWT/JWT ACS Gateway Relay ADFS SAML SWT/JWT Active Directory
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
TACK! Mikael Håkansson mikael.hakansson@enfo.se @wmmihaa
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/