当前位置 : 主页 > 手机开发 > 无线 >

Xamarin.Forms 移动开发

来源:互联网 收集:自由互联 发布时间:2021-06-10
Xamarin 提供两种原生app开发技术: 1. Xamarin Native, 包括 Xamarin.Android, Xamarin.iOS, Xamarin.Mac 2. Xamarin 跨平台的 Xamarin.Forms 我"个人"比较喜欢 Xamarin.Forms 这种技术, 原因: 1. 毕竟它是原生技术, 性能

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

网友评论