News

Q&A: Sam Basu on Using Xamarin, AI, Cloud Services and More for Mobile Apps

Expert advice on using the latest techniques with Xamarin for your mobile development.

Telerik Developer Advocate Sam Basu is an expert on usinng Xamarin to develop mobile apps, and now he's putting a new twist on things -- showing developers how to integrate artificial intelligence into the mix! Ahead of his talk on this topic at Visual Studio Live! Austin 2018 in late April, we got a chance to ask him about all of the above and more:

What advantage does understanding the Xamarin technology stack give developers?
There are various nuances to building Xamarin apps -- like Xamarin.iOS, Xamarin.Android or Xamarin.Forms and developers should know which approach works best for their app. One can also mix & match or use solutions that straddle the line between native vs abstracted UI, like Forms/Native Embedding.

What benefits Xamarin.Forms offer developers going forward?
Xamarin.Forms allows .NET developers to get around having to know native platform UI and maximize code sharing.

"Xamarin.Forms is also starting to support a lot more platforms -- like MacOS, smartwatches, Samsung Tizen, WPF & Web. It's a real good time to be a Xamarin developer and the story will keep getting better."

Sam Basu, Developer Advocate, Telerik

Xamarin.Forms is also starting to support a lot more platforms -- like MacOS, smartwatches, Samsung Tizen, WPF & Web. It's a real good time to be a Xamarin developer and the story will keep getting better.

What role does .NET Standard play for Xamarin developers?
.NET Standard is the clear way forward to code share between various .NET platforms. Xamarin developers can abstract their shared code as .NET Standard libraries and reap benefits by taking their code places.

What are the various ways to deploy Xamarin apps?
A: Xamarin mobile apps can be deployed to a variety of iOS/Android/UWP device simulators on Windows & Mac. Additionally deployments to real devices is getting easier across the table with Xamarin Live Player coming of age.

Must developers use Cloud Backend-as-a-Service?
You don't have to, but you really should. Cloud BaaS services offer a lot for mobile apps -- like social auth, push notifications, CDNs, scalabity and serverless architectures. It is hard for developers to do it all from scratch.

What can AI do for Xamarin apps?
Everybody is making mobile apps -- how can you make your apps stand out? Make them intelligent. AI can help provide customizable intelligence, recognize trends, conversational bots and create engaging UX. AI is everywhere and smarter apps will win the day.

How can developers get started with AI?
AI is vast and very mathematical at its core. But Xamarin developers can do a lot with AI just from the surface - thanks to cloud based intelligence and vast computational power. Azure Cognitive Services and VS Tools for AI make it a low barrier to entry.

How can Alexa integrate with Xamarin apps?
Voice assistants are everywhere and Alexa is getting smarter each day. Xamarin developers can provide continuity of UX across devices and even embed voice services within their apps - all powered by serverless cloud functions.

What are some handy utilities for Xamarin developers that you recommend?
Everyone has the basic tools for Xamarin development .. but are you accounting for the edge cases? Little tools can really augment everyday development tasks - think network sniffers, mirroring utilities, UI previewers and code improvement tools. It's all there, just waiting to be added to your developer arsenal.

You also talk about DevOps and mobile apps: Why do mobile apps need DevOps?
Mobile apps have unique lifecycle needs - like builds, CI/CD pipes, private deployments, device testing, crash reporting and analytics. Thankfully, there are unified services that do it all for Xamarin apps -- VS App Center is here to help.

Want more check out Sam's sessions at Visual Studio Live! Austin as well as all the rest of the great content at the show!

About the Author

Becky Nagel is the former editorial director and director of Web for 1105 Media's Converge 360 group, and she now serves as vice president of AI for company, specializing in developing media, events and training for companies around AI and generative AI technology. She's the author of "ChatGPT Prompt 101 Guide for Business Users" and other popular AI resources with a real-world business perspective. She regularly speaks, writes and develops content around AI, generative AI and other business tech. Find her on X/Twitter @beckynagel.

comments powered by Disqus

Featured

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

Subscribe on YouTube