Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Visual Studio for Mac (AltConf 2017)

375 Aufrufe

Veröffentlicht am

Creating end-to-end mobile apps from the phone to the cloud, using Visual Studio for Mac (with C#, ASP.NET, and Xamarin)

Veröffentlicht in: Technologie
  • Login to see the comments

Visual Studio for Mac (AltConf 2017)

  1. 1. Creating end-to-end mobile apps from the phone to the cloud Craig Dunn Microsoft Corporation
  2. 2. Visual Studio for Mac The IDE loved by millions, now on the Mac Productivity for teams across PC and Mac Build apps, games, and services for mobile, web, and cloud An IDE natively designed for the Mac
  3. 3. Xamarin.Forms ASP.NET Core web site/service Windows, Mac, or Linux Microsoft Azure Web, Mobile, Functions iOS Embed with Xcode Visual Studio for MaciOS Android From the phone to the cloud… macOS 3D Games Git / collaborate with Windows (preview)
  4. 4. Developing with Visual Studio App Architecture Business logic Data others Shared business logic native code native code native codenative code native code Unity3D IoT Linux Other mobile iOS Android WindowsmacOS native UI native UI native UInative UI Web site HTML CSS Web services Notifications Shared business logic (optional) Embed
  5. 5. AndroidmacOS Windows Developing with Visual Studio for Mac & Xamarin.Forms App Architecture iOS others native code native code Shared UI (XAML) Unity3D IoT Linux Other mobile native codenative codenative code Business logic Data Shared business logic Web site HTML CSS Web services Notifications Shared business logic
  6. 6. Visual Studio for Mac Demo
  7. 7. Info.plist Entitlements Properties Storyboard ViewControllers AppDelegate Kimono Demo Native: • Menus • Window • Listboxes • Color picker https://github.com/xamarin/KimonoDesigner https://blog.xamarin.com/introducing-the-kimono-designer-for-skiasharp/
  8. 8. Project Structure iOS - Info - Entitlements - Properties - Storyboard - Acquaint Native Demo Android - Properties - Manifest - XML - https://github.com/xamarinhq/app-acquaint
  9. 9. Project Structure - ASP.NET core back end / Mobile front end - Xamarin.Forms Git integration NuGet integration ASP.NET Core Demo XAML Previewer Debug client & backend simulatenously Publish to Azure https://docs.microsoft.com/en-us/aspnet/core/mobile/native-mobile-backend https://github.com/xamarin/xamarin-forms-samples/tree/master/WebServices/TodoREST
  10. 10. Project Structure MVC - Intellisense - HTML - CSS - Javascript ASP.NET Web Demo Add > Docker Support File > New > ASP.NET Core web app
  11. 11. Visual Studio - Project Structure - RUN unit tests Xcode - Show framework - Show header & compare RUN Embeddinator Demo https://github.com/mono/Embeddinator-4000 https://github.com/jamesmontemagno/embeddinator-weather
  12. 12. Create cross-platform games with Unity Best-in-class script editor Edit Unity scripts with full code completion and syntax highlighting A solution explorer specific to Unity games A great debugging experience One-click debugging of your games
  13. 13. Embed .NET in your Swift or Objective-C app Share code with your .NET friends Easily interact with their back-end services by incorporating their client code objcgen my_csharp.dll --target=framework --platform=iOS https://mono.github.io/Embeddinator-4000/
  14. 14. C# Language Quick reference Compare C# and Swift https://aka.ms/scposter
  15. 15. Visual Studio for Mac Included in Visual Studio SubscriptionAvailable for free* *https://www.visualstudio.com/license-terms/mlt553321/ Licensed for enterprise Collaborate seamlessly between PC and Mac Publish to the cloud with peace of mind, using monthly Azure subscription credits Create free and paid apps Target Android, iOS, macOS, web, and cloud Host your code anywhere with Git support Access free tools and courses with Visual Studio Dev Essentials Work in dev teams on apps for mobile, web, and cloud Access to Xamarin Inspector and Xamarin Profiler
  16. 16. Features in Enterprise VISUAL STUDIO FOR MAC
  17. 17. Xamarin Live Inspector Rapid Design Experimentation Live Inspector and Workbooks to programmatically interact with a running app Enables rapid design experimentation and iteration
  18. 18. Xamarin Profiler A Full-Featured Profiling Tool Profiling tool made specifically for Xamarin apps Quickly identify memory and performance issues Provides analysis of code running in the Mono runtime
  19. 19. Visual Studio for Mac Get Visual Studio for Mac today https://www.visualstudio.com/ Craig Dunn @conceptdev
  20. 20. © 2017 Microsoft Corporation. All rights reserved.