Xamarin使用什么框架? [英] What framework is used by Xamarin?

查看:121
本文介绍了Xamarin使用什么框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xamarin使用什么框架来创建跨平台应用程序?

它是否使用.Net Framework?

它是否与我们用于创建应用程序的.Net Framework相同Windows?

那么,我可以通过Xamarin将现有的.Net应用程序移植到Android吗?



我只是不知道如何Xamarin工作,因为我找不到有用的东西。

What framework does Xamarin use to create cross platforms apps?
Does it use .Net Framework?
Is it the same .Net Framework we use to create apps for Windows?
So, can i just port my existing .Net App to Android via Xamarin?

I just don't get exactly how Xamarin works, because i couldn't find something useful.

推荐答案

Xamarin已经移植了.NET框架的一个子集,可以与Android,iOS和OSX一起使用。  最近,微软推出了一个新的配置文件(可移植类库项目),确保跨Xamarin(Android和iOS)和Windows Phone的跨平台兼容性。



移植,我的意思是Xamarin通过C#绑定公开Android和iOS API,允许您使用C#构建应用程序,更轻松地在不同的移动平台上共享非UI代码。  Xamarin Forms是一种扩展,可以更轻松地跨这些平台共享UI代码。 但是,Xamarin Forms最适合简单的应用程序。



有关详细信息,请参阅此链接: Xamarin是如何工作的? [ ^ ]



/ ravi
Xamarin has "ported" a subset of the .NET framework to work with Android, iOS and OSX.  Recently, Microsoft has made available a new profile (Portable Class Library project) that ensures cross-platform compatibility across Xamarin (Android and iOS) and Windows Phone.

By "porting", I mean Xamarin exposes the Android and iOS APIs via C# bindings, allowing you to build apps using C#, and more easily share non-UI code across the different mobile platforms.  Xamarin Forms is an extension that makes it easier to share UI code across these platforms.  However, Xamarin Forms is best suited for simple apps.

See this link for more info: How does Xamarin work?[^]

/ravi


这篇关于Xamarin使用什么框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆