Xamarin.Forms 移动开发

Xamarin.Forms跨平台开发
本文深入探讨Xamarin.Forms作为跨平台UI工具包的优势,基于Xaml和C#,支持Android和iOS应用开发。介绍了其背后的开发语言C#,以及IDE Visual Studio的支持。通过对比XamarinNative和其他跨平台技术,如React Native,展示了Xamarin.Forms的性能和灵活性。

Xamarin 提供两种原生app开发技术:
1. Xamarin Native, 包括 Xamarin.Android, Xamarin.iOS, Xamarin.Mac
2. Xamarin 跨平台的 Xamarin.Forms

我"个人"比较喜欢 Xamarin.Forms 这种技术, 原因:
1. 毕竟它是原生技术, 性能不会太差, 硬件API调用也不会有限制.
2. 背后的开发语言是C#, 相对比较熟悉.
3. 代码跨平台, 同时支持 Android 和 IOS.
4. 有微软这样的大公司支持, 虽然微软经常管挖坑不填坑, 但相比另一个跨平台的Delphi, 无论从社区和生态都好很多.


IDE:
Xamarin.Forms 是一个基于 Xaml 和 C# 之上的跨平台UI工具包, 官方推荐的IDE是 Visual Studio, 在 Visual Studio 2017/2019的社区版/专业版/企业版都已经支持.


Xamarin 评估:
1. Xamarin vs React Native and Ionic
https://www.altexsoft.com/blog/engineering/xamarin-vs-react-native-vs-ionic-vs-nativescript-cross-platform-mobile-frameworks-comparison/
2. The good and the bad of Xamarin development
https://www.altexsoft.com/blog/mobile/pros-and-cons-of-xamarin-vs-native/
3. Stackoverflow: When to use Xamarin.Forms vs Xamarin Native?
https://stackoverflow.com/questions/32204807/when-to-use-xamarin-forms-vs-xamarin-native


官方资源:
1. 官方中文文档
https://docs.microsoft.com/zh-cn/xamarin/
2. 官方应用示例
https://developer.xamarin.com/samples-all
3. XamarinComponents
https://github.com/xamarin/XamarinComponents
4. 免费电子书 <<Creating Mobile Apps with Xamarin.Forms>>
https://docs.microsoft.com/zh-cn/xamarin/xamarin-forms/creating-mobile-apps-xamarin-forms/
博客文章:
C#使用Xamarin开发可移植移动应用(2.Xamarin.Forms布局,本篇很长,注意)附源码
https://www.cnblogs.com/GuZhenYin/p/7338709.html
C#使用Xamarin开发可移植移动应用终章(11.获取设备信息与常用组件,开源一个可开发模版.)
https://www.cnblogs.com/GuZhenYin/p/8005817.html
dotNET之家有关 Xamarin.Forms 的系列文章
https://www.jianshu.com/p/6eef47f3193b

Android模拟器Genymotion安装使用教程详解
https://www.cnblogs.com/whycxb/p/6850454.html

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值