Visual Studio 2015 initial experience of mobile cross-platform development and 2015 initial experience

Source: Internet
Author: User

Visual Studio 2015 initial experience of mobile cross-platform development and 2015 initial experience

After Microsoft changed its new CEO, the most favorable news for our team was that Visual Studio 2015 supports cross-platform development of mobile applications.

I still don't remember the news that Xamarin announced its partnership with Microsoft a long time ago. Apparently, Xamarin received strong support from Microsoft, while Microsoft directly integrated Xamain into Visual Studio 2015 to reverse its decline in the mobile field.

Maybe you are still worried about whether there is a big pitfall and whether it is not mature enough. I still cannot answer you, but I believe Microsoft and Xamarin will solve these problems soon, especially Microsoft, it has enough motivation to make Visual Studio 2015 cross-platform development popular.

Therefore, this is only a matter of time.

Visual Studio cross-platform development, I think it is worth trying, after all, for us. for a team that started from NET, it is a lot of cost to build a new Android and iOS development team, and the team's technical accumulation in this area is also very weak.

If you have developed. NET and Android, check out the video https://xamarin.com/visual-studio,wow, unlike Windows Form development? Finally, we can free up productivity!

Visual Studio 2015 supports the development of cross-platform mobile applications in several ways:

Use C #/F # To develop a cross-platform Android ios wp native application. Use the Apache Cordova framework to develop cross-platform applications based on HTML technology. Use C ++ to develop Native Android applications.C # cross-platform development

Almost all features of C # can be used. You can use a third-party. NET class library. The native UI can be designed for different platforms using the designer provided by Xamarin (the so-called native technology is original, but integrated into Visual Studio ). You can also use the Xamarin system solution to build a cross-platform interface with only one piece of code. For more information, see the Faq http://xamarin.com/faq.

I actually experienced it, Because C #'s more compact syntax, coupled with VS's high intelligence, is much more efficient than using eclipse for Development (eclipse is too unintelligent in some places ), the structure of the project is basically the same as that of Android Java Development, and the conversion from Java development will be smooth.

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

I feel the pure C # development experience. People who have never done Java Development know how cool the above C # code is written in equivalent Java.

IOS is similar to Android, but deployment and debugging require remote connection to Mac through the network.

Currently, cross-platform application development in Visual Studio 2015 is based on Xamarin. Therefore, you need to install Xamarin (many packages need to be downloaded during the installation process, and FQ is required. If the network is not good, you can download my offline package that has been uploaded to the online storage and install the http://pan.baidu.com/s/1i328fRn one by one ).

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

However, Xamarin charges fees. Although the free version is available, there are some restrictions, such as https://store.xamarin.com /.

 

However, BUSINESS calculates 514 RMB per month for RMB. After registering an account, you can try it for free for 30 days, and one account can be used on two computers (514 RMB for two licenses? To be confirmed ).

If this is really mature enough, it would be a lot more cost-effective than recruiting Android and iOS developers, and anyone in our team who will learn about. NET will be able to get started in a few days.

 

Apache Cordova cross-platform

I have not tried it yet. Since it is a top-level project of Apache, it should be reliable. I will update it if there is research in the future.

 

I think the above is good. I plan to give some complicated cross-platform examples and give feedback at that time.

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

Related Article

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.