Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
James
Montemagno
Principal Program Manager – Mobile Developer Tools,
Microsoft
motz@microsoft.com motzcod.es @JamesMontema...
Visual Studio
Visual Studio for Mac
Visual Studio Code
Visual Studio Mobile Center
Visual Studio Team Services
Download now at
visualstudio.com
Announcing
Visual Studio 2017
General Availability
FUNDAMENTALS CLOUD MOBILE DEVOPS
Photo used under CC http://www.wocintechchat.com/
Getting Started with Xamarin for Visual Studio
Demo
1 Year anniversary:
Xamarin joins Microsoft
Android Nougat
Open Source Xamarin.Android
Open Source Xamarin.Forms
Xamarin included in Visual Studio InspectorXamarin.Fo...
MOBILE DEVOPS
AUTOMATED
5-STAR APPS
MADE EASY
Xamarin: Anything you can do in Objective-C,
Swift, or Java, you can do in C# and Visual Studio
• Native user interface
• ...
Shared C# logic
Windows C# UIAndroid C# UIiOS C# UI
Xamarin’s unique approach
Shared C# codebase • 100% native API access ...
Xamarin Native approach
3 Native User Interfaces
Shared App Logic
Shared C# Logic
Windows C#Android C#iOS C#
Xamarin.Forms approach
Shared C# Logic
Shared UI Code
Shared (Native) User Interfaces
Shared App Logic
How Xamarin Works
Windows APIs
Microsoft.Phone Microsoft.Networking Windows.Storage Windows.Foundation Microsoft.Devices
System.Data System....
Android – 100% API coverage
Text-to-speech ActionBar Printing Framework Renderscript NFC
System.Data System.Windows System...
iOS – 100% API coverage
MapKit UIKit iBeacon CoreGraphics CoreMotion
System.Data System.Windows System.Numerics System.Cor...
Native performance
Xamarin.iOS does full Ahead Of Time
(AOT) compilation to produce an ARM
binary for Apple’s App Store.
X...
✓ Always up-to-date
Same-day
support:
• iOS 5
• iOS 6
• iOS 7
• iOS 8
• iOS 9
• iOS 10
Full support for:
• Apple Watch
• A...
Compilers Languages Runtime components
COMMON INFRASTRUCTURE
.NET STANDARD LIBRARY
TOOLS
$_
Inspector
Profiler
Forms previewer
iOS simulator
Connected services
Workbooks
New templates
Test recorder
Photo used under CC http://www.wocintechchat.com/
Building native mobile apps with
Xamarin for Visual Studio 2017
Demo
Trends
Software development is a team sport
Agile & DevOps change the flow
Individual productivity still matters
<//>
public async
Task<int>
{int x = await task;
Development flows left to right and repeats
We can do better
Tighten the cycle
Catch issues before check-in
Identify issues in production
<//>
Continuous integration + real-time experiences = shift left
public async
Task<int>
{int x = await task;
<//>
public async
Task<int>
{int x = await task;
Edit and continue – pulled debugging into the edit/build cycle
<//>
public async
Task<int>
{int x = await task;
<//>
public async
Task<int>
{int x = await task;
Live unit testing – pulls quality further into the inner loop
<//>
public async
Task<int>
{int x = await task;
<//>
public async
Task<int>
{int x = await task;
Live code analysis – immediate feedback loop
<//>
public async
Task<int>
{int x = await task;
docs.microsoft.com/en-us/dotnet/articles/csharp/csharp-7
private static (int Max, int Min) Range(IEnumerable<int> numbers)
{
int min = int.MaxValue;
int max = int.MinValue;
foreac...
public static int DiceSum4(IEnumerable<object> values)
{
var sum = 0;
foreach (var item in values)
{
switch (item)
{
case ...
Photo used under CC http://www.wocintechchat.com/
Productivity improvements and C# 7
Demo
Download now at
www.visualstudio.com
Announcing
Visual Studio 2017
General Availability
+500
extensions
116
launch partners
Visual Studio 2017 launch partners
Pluralsight: 1 year full catalog
Office 365 Dev: 25 seats
Parasoft: 6 months
WhiteSource: 6 months
Announcing
New value fo...
Announcing
New value for Visual Studio
Dev Essentials members
Opsgility: 3 months of Azure and DevOps training
Xamarin Uni...
A mobile-first, cloud-first IDE. Made for the Mac.
Native mobile and Mac apps in C#
Build from the client to the cloud
Ann...
Lets developers build apps, not ops
Easy to adopt
Ready for the enterprise
aka.ms/mobilecenter
Announcing
Visual Studio Mo...
FUNDAMENTALS CLOUD MOBILE DEVOPS
• visualstudio.com
• xamarin.com
• github.com/jamesmontemagno/MyItems-VS2017
• aka.ms/devessentials
• launch.visualstudio....
Thank you.
James
Montemagno
Principal Program Manager – Mobile Developer Tools,
Microsoft
motz@microsoft.com motzcod.es @J...
Introduction to Xamarin for Visual Studio 2017
Introduction to Xamarin for Visual Studio 2017
Introduction to Xamarin for Visual Studio 2017
Introduction to Xamarin for Visual Studio 2017
Introduction to Xamarin for Visual Studio 2017
Upcoming SlideShare
Loading in …5
×

Introduction to Xamarin for Visual Studio 2017

3,315 views

Published on

James Montemagno walks you through how Xamarin for Visual Studio 2017 makes it even easier to deliver fully native Android, iOS, and UWP apps from a single C# codebase. You'll learn what's new, including: the Xamarin Inspector and Profiler, new language features in C# 7, and how Visual Studio 2017 streamlines mobile development for .NET developers everywhere.

Watch webinar recording at https://aka.ms/introtoxamarinvs2017

Published in: Software
  • Follow the link, new dating source: ♥♥♥ http://bit.ly/2Q98JRS ♥♥♥
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❤❤❤ http://bit.ly/2Q98JRS ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • The "Magical" Science Behind The Law of Attraction ■■■ http://scamcb.com/manifmagic/pdf
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Order Manifestation Magic Today For Up To 96% Off The Retail Price. Offer Expires Soon. Over 100,000 Satisfied Customers. Join Today And See For Yourself ◆◆◆ https://bit.ly/30Ju5r6
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • ♣♣ 10 Easy Ways to Improve Your Performance in Bed... ▲▲▲ http://ishbv.com/rockhardx/pdf
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Introduction to Xamarin for Visual Studio 2017

  1. 1. James Montemagno Principal Program Manager – Mobile Developer Tools, Microsoft motz@microsoft.com motzcod.es @JamesMontemagno Weekly development podcast mergeconflict.fm Weekly development show xamarinshow.com
  2. 2. Visual Studio Visual Studio for Mac Visual Studio Code Visual Studio Mobile Center Visual Studio Team Services
  3. 3. Download now at visualstudio.com Announcing Visual Studio 2017 General Availability
  4. 4. FUNDAMENTALS CLOUD MOBILE DEVOPS
  5. 5. Photo used under CC http://www.wocintechchat.com/ Getting Started with Xamarin for Visual Studio Demo
  6. 6. 1 Year anniversary: Xamarin joins Microsoft
  7. 7. Android Nougat Open Source Xamarin.Android Open Source Xamarin.Forms Xamarin included in Visual Studio InspectorXamarin.Forms Native Embedding Xamarin.Forms Previewer Visual Studio for Mac Preview Platform Specifics iOS 10 .NET Standard Xamarin.Forms URL Navigation Remote iOS Simulator on Windows MIT License Mono Embedded Native Controls Multi-process debugging on MacOpen Source Xamarin.iOS WatchOS 3 Open Source Xamarin.Mac Workbooks Xamarin.Forms Tizen BitCode support TLS 1.2Hybrid AOT Vulkan API Skia 2D Graphics
  8. 8. MOBILE DEVOPS AUTOMATED 5-STAR APPS MADE EASY
  9. 9. Xamarin: Anything you can do in Objective-C, Swift, or Java, you can do in C# and Visual Studio • Native user interface • High-fidelity API access • Native performance
  10. 10. Shared C# logic Windows C# UIAndroid C# UIiOS C# UI Xamarin’s unique approach Shared C# codebase • 100% native API access • High performance
  11. 11. Xamarin Native approach 3 Native User Interfaces Shared App Logic Shared C# Logic Windows C#Android C#iOS C#
  12. 12. Xamarin.Forms approach Shared C# Logic Shared UI Code Shared (Native) User Interfaces Shared App Logic
  13. 13. How Xamarin Works
  14. 14. Windows APIs Microsoft.Phone Microsoft.Networking Windows.Storage Windows.Foundation Microsoft.Devices System.Data System.Windows System.Numerics System.Core System.ServiceModel System.Net System System.IO System.Linq System.Xml C#
  15. 15. Android – 100% API coverage Text-to-speech ActionBar Printing Framework Renderscript NFC System.Data System.Windows System.Numerics System.Core System.ServiceModel System.Net System System.IO System.Linq System.Xml C#
  16. 16. iOS – 100% API coverage MapKit UIKit iBeacon CoreGraphics CoreMotion System.Data System.Windows System.Numerics System.Core System.ServiceModel System.Net System System.IO System.Linq System.Xml C#
  17. 17. Native performance Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App Store. Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device. ARM BINARY Runs natively .APPAOT .NET C# Bindings .APKCompile and Link .NET C# Bindings IL + JIT Runs natively .NET C# Bindings
  18. 18. ✓ Always up-to-date Same-day support: • iOS 5 • iOS 6 • iOS 7 • iOS 8 • iOS 9 • iOS 10 Full support for: • Apple Watch • Apple TV • Android Wear • Amazon Fire TV • Google Glass • and much more
  19. 19. Compilers Languages Runtime components COMMON INFRASTRUCTURE .NET STANDARD LIBRARY TOOLS $_
  20. 20. Inspector Profiler Forms previewer iOS simulator Connected services Workbooks New templates Test recorder
  21. 21. Photo used under CC http://www.wocintechchat.com/ Building native mobile apps with Xamarin for Visual Studio 2017 Demo
  22. 22. Trends Software development is a team sport Agile & DevOps change the flow Individual productivity still matters
  23. 23. <//> public async Task<int> {int x = await task; Development flows left to right and repeats
  24. 24. We can do better Tighten the cycle Catch issues before check-in Identify issues in production
  25. 25. <//> Continuous integration + real-time experiences = shift left public async Task<int> {int x = await task;
  26. 26. <//> public async Task<int> {int x = await task;
  27. 27. Edit and continue – pulled debugging into the edit/build cycle <//> public async Task<int> {int x = await task;
  28. 28. <//> public async Task<int> {int x = await task;
  29. 29. Live unit testing – pulls quality further into the inner loop <//> public async Task<int> {int x = await task;
  30. 30. <//> public async Task<int> {int x = await task;
  31. 31. Live code analysis – immediate feedback loop <//> public async Task<int> {int x = await task;
  32. 32. docs.microsoft.com/en-us/dotnet/articles/csharp/csharp-7
  33. 33. private static (int Max, int Min) Range(IEnumerable<int> numbers) { int min = int.MaxValue; int max = int.MinValue; foreach(var n in numbers) { min = (n < min) ? n : min; max = (n > max) ? n : max; } return (max, min); } var range = Range(numbers); Or (int min, int max) = Range(numbers);
  34. 34. public static int DiceSum4(IEnumerable<object> values) { var sum = 0; foreach (var item in values) { switch (item) { case 0: break; case int val: sum += val; break; case IEnumerable<object> subList when subList.Any(): sum += DiceSum4(subList); break; case IEnumerable<object> subList: break; case null: break; default: throw new InvalidOperationException("unknown item type"); } } return sum; }
  35. 35. Photo used under CC http://www.wocintechchat.com/ Productivity improvements and C# 7 Demo
  36. 36. Download now at www.visualstudio.com Announcing Visual Studio 2017 General Availability
  37. 37. +500 extensions 116 launch partners Visual Studio 2017 launch partners
  38. 38. Pluralsight: 1 year full catalog Office 365 Dev: 25 seats Parasoft: 6 months WhiteSource: 6 months Announcing New value for Visual Studio Enterprise subscribers
  39. 39. Announcing New value for Visual Studio Dev Essentials members Opsgility: 3 months of Azure and DevOps training Xamarin University Training Classes Azure Credits So Much More aka.ms/devessentials
  40. 40. A mobile-first, cloud-first IDE. Made for the Mac. Native mobile and Mac apps in C# Build from the client to the cloud Announcing Visual Studio for Mac Preview 4
  41. 41. Lets developers build apps, not ops Easy to adopt Ready for the enterprise aka.ms/mobilecenter Announcing Visual Studio Mobile Center Preview
  42. 42. FUNDAMENTALS CLOUD MOBILE DEVOPS
  43. 43. • visualstudio.com • xamarin.com • github.com/jamesmontemagno/MyItems-VS2017 • aka.ms/devessentials • launch.visualstudio.com
  44. 44. Thank you. James Montemagno Principal Program Manager – Mobile Developer Tools, Microsoft motz@microsoft.com motzcod.es @JamesMontemagno Weekly development podcast mergeconflict.fm Weekly development show xamarinshow.com

×