Presentation is loading. Please wait.

Presentation is loading. Please wait.

Create great mobile apps with Visual Studio and Xamarin

Similar presentations


Presentation on theme: "Create great mobile apps with Visual Studio and Xamarin"— Presentation transcript:

1 Create great mobile apps with Visual Studio and Xamarin
<Speaker Name/Title/…>

2 Agenda Mobile development challenges
Native Android, iOS and Windows applications Create mobile experiences Connected to the cloud Faster development cycles

3 Mobile represents the single largest technology innovation of all time

4 Smartphone adoption is happening
10X Faster than the PC boom of the 80s 2X Faster than the Internet boom of the 90s 3X Faster than the recent social networking explosion

5 Mobile apps are part of a broader modernization
1/8/2018 Mobile apps are part of a broader modernization Core-business Applications Extend to any device Take advantage of cloud scale and economics Business agility Mobile Cloud Agile

6 How Microsoft can help Create mobile experiences…
1/8/2018 How Microsoft can help Create mobile experiences… New applications or new end points to existing applications for Android, iOS, and Windows Xamarin Visual Studio …connected to the business… Enterprise-ready platform that integrates modern mobile experiences with existing business assets Microsoft Azure …with mobile- era agility Achieve speed with faster development cycles and continuous measure and learn Visual Studio Team Services HockeyApp

7 Enterprises are going mobile on multiple platforms
According to Gartner, by 2016, 70% of the mobile workforce will have a smartphone, and 90% of enterprises will have two or more platforms to support Enterprises are going mobile on multiple platforms It’s important on this slide that we stress the need of supporting multiple platforms, we are going to introduce one of the possible ways of creating cross-platform applications, Xamarin + Visual Studio

8 Cross-platform mobile strategy choices
IMPORTANT: This deck is not about cross-platform mobile development options, is about cross-platform mobile development with XAMARIN. Assumes that: the customer would get benefits with a c#/.NET approach, rather than a web mobile/hybrid/c++ native approach. All these scenarios are supported by Visual Studio, but for teams or companies with .NET investments/teams/skills the Visual Studio + Xamarin scenario will be more likely to be the preferred one.

9 Sweet spot for the successful mobile enterprise
Great apps delivered to the user’s choice of device End user experience + Development agility to move at mobile speed - + Better TCO, productivity, and developer experience

10 Silo’ed approach Building native apps multiple times means
Objective-C, Swift XCode Building native apps multiple times means Client development is completely different for each device type Only the Services (server-side) can be reused, with certain differences when consuming them TCO grows exponentially Java Eclipse C#, JS, C++ Visual Studio

11 The Silo’ed approach Multiple teams and multiple code bases are expensive and slow
Great apps delivered to the user’s choice of device End user experience + Development agility hampered by multiple code bases and fragment toolsets - + Better TCO, productivity, and developer experience

12 Write-once-run-anywhere approach
CSS • HTML • TypeScript • JavaScript • Ionic • … Write-once-run-anywhere box Hybrid apps. Presentation written in HTML/CSS and behavior written in JavaScript/TypeScript Highest code reuse ratio at UI expense Performance depends on the container Apache Cordova/Ionic

13 The write-once-run-anywhere approach HTML Hybrid scenarios like Apache Cordova
End user experience + Performance tradeoff Great option for teams with HTML5 web skills. Tooling maturity - + Better TCO, productivity, and developer experience

14 Platform Specific Framework
1/8/2018 Xamarin approach iOS C# UI iOS Android C# UI Windows C# UI Fully native apps written entirely in C# Build apps with beautiful UX and native performance for Android, iOS & Windows Be productive with templates, Intellisense, debugger, designer integration, emulators, deployment Code share with PCLs Create specific UI or share UI with Xamarin.Forms Use C# APIs with 100% of platform APIs exposed Connect to Azure for backend enterprise systems Xamarin.Forms Shared App Logic Platform Specific Framework © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 Sharing code across Android, iOS, and Windows accelerates development

16 Visual Studio and Xamarin unique approach The best of all worlds
Native performance and UI End user experience + Mature development tools Share and reuse code - + Better TCO, productivity, and developer experience

17 Xamarin is native in all 3 ways The best of all worlds
Native user interface Apps are built with standard, native user interface controls for easy and familiar interactions High-fidelity API access Apps have access to the full spectrum of functionality exposed by the underlying platform and device Native performance Apps leverage platform-specific hardware acceleration, and are compiled as native binaries, not interpreted at runtime

18 Always up-to-date Same-day support: Full support for: iOS 5 iOS 6
Apple Watch Google Glass Android Wear Amazon Fire TV And much more Always up-to-date Apple has a developer preview where Xamarin has alphas ready. Google does not offer this. Android versions are usually 4 to 8 weeks out for a stable release, but alphas and betas are usually earlier. Xamarin realizes how important having iOS ready because within 24 hours a large portion of iOS users upgrade Android on the other hand is much different. After 4 months on the market Android 4.4 only had 1% adoption

19 Anything you can do in Objective-C, Swift, or Java; can be done in C#

20 Demo Sample Xamarin application
Cross-platform UI framework Xamarin.Forms Create a simple new Xamarin application with Visual Studio. Walk the audience through the project type and show it running on different platforms. Idea: to demonstrate the difference in the UI, I’d recommend to show also an apache cordova app. There is a step by step howto on

21 The Xamarin SDK The Xamarin Runtime is the piece that enables Xamarin applications on different devices.

22 OSS Xamarin SDK http://open.xamarin.com
Full OSS runtime with MIT license Part of the .NET Foundation Mono contributed to the .NET Foundation No better time to be a .NET developer

23 No better time to be a .NET developer
1/8/2018 No better time to be a .NET developer .NET Framework Comprehensive solution Modern device experiences Universal Windows Platform Xamarin Modern cloud experiences .NET Core ASP.NET Core No better time to be a .NET developer Momentum of .NET No better time to be a .NET developer – you have more scenarios at your finger tips than ever, using the technology you love and make you productive. Support points: 6M .NET developers worldwide (source: internal DET survey). 95% increase in .NET job offers in Spain last year (source: ticjob.es) With the full .NET framework you have access to a comprehensive solution for desktop and web applications. We are continuously innovating providing new capabilities for you to become more productive. Innovation in the languages, compilers, class libraries, runtime… But .NET is not stopping there. We have big plans for .NET to help you target the modern scenarios for the applications of today: With .NET you can create modern device experiences across any Windows device. The Universal Windows Platform makes it easy to build Windows experiences that are more personal and engaging, using a single .NET code base. You can go beyond that and also reuse your code and skills on .NET to natively target iOS and Android devices. We keep increasing our partnership with Xamarin to help you create native applications tailored for each device, while maximizing your productivity with all the developer richness of .NET. We are also taking .NET to the cloud, optimizing it for the needs usually found in modern cloud, micro services based applications. .NET Core and ASP.NET Core provide unprecedented power for you to target these new scenarios: Lightweight: .NET Core is fully modular and lightweight. You can deploy locally with your service, allowing thousands of micro services to be running and updated in the same machine side by side. Cross-platform: You can run .NET Core services on Windows, Linux or OSX. Deploy them on Docker containers. Debug locally on a Mac using VS Code. Live debugging a Linux server from Visual Studio. New scenarios that now you have available to have more flexibility than ever. High performance: Because we are tailoring for services we can boost the performance of .NET Core. We just broke a record for ASP.NET reaching 1.15 million of requests per second in a single machine. That’s 6x the performance of node.js for example. And the best part of this exciting road ahead for .NET is that you can be part of it: .NET is fully developed in the open: Open Source Open to community contributions Open process: roadmap, design docs, standups… We are excited to see the community momentum behind enabled by this openness: 145 repositories Over 23,000 forks Over 4,000 contributors Your involvement is having a profound impact in .NET. We are excited to see that from all those contributors 68% are from the community, not from Microsoft. As an example, the performance gains that broke the record I mentioned before are ~40% directly caused by community contributions. Innovative • Cross-platform • Open © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 .NET ecosystem 6M >100K 1.8B Top 10 6x
1/8/2018 .NET ecosystem 6M .NET developers >100K ASP.NET Core developers Pre-release builds 1.8B .NET Framework installs .NET Users Data from Build 2016 C# has been the top 10 language on GitHub since In 2015 it went from #10 to #8. ASP.NET Core number comes from 84K Visual Studio 2015 users + 23K of VSCode usage in our telemetry. So over 100K ASP.NET Core devs on pre-release builds We are excited to see the community momentum on GitHub. The .NET Foundation currently has 145 project repositories Over 23,000 forks Over 4,000 contributors 68% of the contributors are from the community and have contributed 23% of the accepted pull requests in the aspnet and dotnet organizations on GitHub. On average these pull requests are merged in 4 days. Community involvement is having a profound impact in .NET. As an example, the ASP.NET performance gains that broke the record are ~40% directly caused by community contributions. Top 10 Language=C# GitHub 6x Faster than Node.js ASP.NET Core 145 repositories >23K forks >4K contributors >68% community .NET Foundation © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

25 The Visual Studio family
Most complete developer IDE Code optimized editor Developer services for teams Talking about .NET is also talking about Visual Studio. The combination of the two makes you extremely productive. You can develop .NET with many other tools, and you can use Visual Studio to develop for many other technologies but bring the two together and you will have a perfect symbiosis. The flag ship is of course the Visual Studio IDE. Recognized by the industry as the most powerful and productive IDE in the market. But we are extending the Visual Studio family. In this new world for developers, you need more than an IDE to be successful. We are extending the Visual Studio family to serve all developers in all their needs. A good example is Visual Studio Code. Announced last Build, Visual Studio Code is optimized for code editing and runs on any OS including Linux and OSX. The VS family also provides cloud development services. Visual Studio Team Services (previously Visual Studio Online) helps you to embrace agile development and DevOps very easily, empowering collaboration and continuous delivery in a development team. Best-in-class tools for every developer

26 The Visual Studio family
VS 2015 downloads 1.7M unique installations 4M registered developers Momentum We see tremendous traction in this new journey of the Visual Studio family. The last version of Visual Studio has been the most successful ever. With 12.7 million downloads since its launch, VS 2015 is the most adopted IDE in the planet. Visual Studio Code which is still in beta is having also great success million unique installations, more than a third of them in Linux and MacOS, definitely bringing new developers to the VS family. And finally Visual Studio Team Services, which has been in continuous growth since its inception, reaching now 4 million developers. Best-in-class tools for every developer

27 Xamarin and Visual Studio integration
1/8/2018 Xamarin and Visual Studio integration A single solution for Android, iOS, and Windows development Leverage the entire Microsoft ecosystem Visual Studio Team Services (VSTS) ReSharper Your favorite code coverage and profiling tools © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

28 Native UI designers Create UI with drag and drop simplicity
1/8/2018 Native UI designers Create UI with drag and drop simplicity Target multiple screen sizes, resolutions, and OS versions Layouts saved in native resource formats World’s best Android and iOS designers available in Visual Studio © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

29 Visual Studio Enterprise
Embedded assemblies Gain insights on the application performance and behavior Xamarin Inspector Preview Xamarin Profiler Preview Deliver higher quality by testing on real devices Xamarin Test Cloud Discount Ent. Features on Visual Studio and Xamarin Studio

30 Xamarin Studio – OS X IDEs on your favorite OS

31 Xamarin Studio Android and iOS native designers
1/8/2018 Xamarin Studio Android and iOS native designers Code completion, refactoring, debugging, integrated version control, F# support and more Publishing Announced at Evolve (Apr 2016): - New Xamarin Studio Release Candidate - Better UX : Over 5k new icons, a dark theme, improved syntax highlighting - Type system based on Roslyn, so it has better refactoring, code completion, C#6 support… - New project model Source: © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

32 How Microsoft can help Create mobile experiences…
1/8/2018 How Microsoft can help Create mobile experiences… New applications or new end points to existing applications for Android, iOS, and Windows Xamarin Visual Studio …connected to the business… Enterprise-ready platform that integrates modern mobile experiences with existing business assets Microsoft Azure …with mobile- era agility Achieve speed with faster development cycles and continuous measure and learn Visual Studio Mobile Center

33


Download ppt "Create great mobile apps with Visual Studio and Xamarin"

Similar presentations


Ads by Google