Visual Studio 2015 Mobile cross-platform development first experience

Source: Internet
Author: User

Microsoft has changed a lot after the new CEO, and the best news for our team is that Visual Studio 2015 supports mobile app cross-platform development.

> Do you remember how long ago Xamarin announced that it was a partner with Microsoft? It is clear that Xamarin has received strong support from Microsoft, while Microsoft has directly fused Xamain into Visual Studio 2015 to reverse its decline in the mobile world.

> Maybe you're worried about whether there's a pit or not, and I can't answer you right now, but I'm sure Microsoft and Xamarin will solve these problems soon, especially Microsoft, which has enough incentive to fire up the Visual Studio 2015 cross-platform development.

So, it's just a matter of time.

Visual Studio Cross-platform development, I think it's worth trying, after all, for our. NET start-up team, the cost of building a new Android and IOS development team is minimal, and the team's technical accumulation is weak.

If you've done. NET and Android Development, then look at this video https://xamarin.com/visual-studio,Wow, like Windows Form development? Can finally liberate the productivity!

visual Studio 2015 supports several ways to develop cross-platform mobile apps:

use C #/F # to develop a cross-platform Android IOS WP native app. Use the Apache Cordova framework to develop cross-platform applications based on HTML technology. Develop native Android apps using C + +. C # Development cross-platform

You can use almost all of the features of C #. You can use a third-party. NET Class Library. The native UI can be designed for each platform using the designer provided by Xamarin (the so-called native, that is, the technology used is original, but integrated into Visual Studio). You can also use the Xamarin system scheme, which allows you to build cross-platform interfaces with just one piece of code. Other you think of, now almost can do, see Faq http://xamarin.com/faq.

> Actually, because C # 's more compact syntax plus VS's high intelligence is much more efficient than eclipse (some parts of eclipse are really too smart), the structure of the project is basically the same as Android Java development, and it's going to go well from Java development.

For example, I used the task library in. NET to open an asynchronous thread and then update to the interface using a third-party JSON library to generate a JSON:

Feel the pure C # development experience, the people who have not done Java development can know that the above C # code if the equivalent of Java write more verbose.

IOS, like the Android experience, but deployment and debugging, need to connect to the MAC computer remotely over the network.

Now the Visual Studio 2015 cross-platform app development is based on Xamarin, so you need to install the Xamarin kit (the installation process needs to download many packages, need FQ, the network is not very good friends, can download I have been uploaded to the network on the offline package, an installation of their own Span class= "Apple-converted-space" > http://pan.baidu.com/s/1i328frn  ).

In addition, Xamarin can also be integrated in VS 2012/2013.

But Xamarin is charged, although there is a free version, but some restrictions, https://store.xamarin.com/.

If it's really mature, it's a lot more cost-effective than recruiting two groups of Android and IOS developers, and one of our teams can learn a few days to get started.

Apache Cordova Cross-platform

Have not yet tried, since it is the top of the Apache project, should still be reliable, follow-up if there is research, I will update.

Above, I feel good, intend to follow up to do some of the cross-platform complex points of the example, then give a feedback.

Xamarin Faq:http://xamarin.com/faq

Visual Studio 2015 Mobile cross-platform development first experience

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.