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.
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.
Perhaps you are worried about whether there is a big hole in this, is not mature enough, I can not answer you now, but I believe that Microsoft and Xamarin will soon solve these problems, especially Microsoft, it has enough motivation to let Visual Studio 2015 cross-platform development fire up.
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 have 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 the development of cross-platform mobile apps in two ways:
- 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.
Actually experience it, because C # 's more compact syntax plus VS's high intelligence is much more efficient than eclipse development (some parts of eclipse are really too smart), the structure of the project is basically the same as Android Java development, and the transition from Java development will be smooth.
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:
I feel a pure C # development experience, and people who have not done Java development know that the above C # code should be written in the same Java as more verbose.
IOS, like the Android experience, but deployment and debugging, need to connect to the MAC computer remotely over the network.
Currently Visual Studio 2015 's cross-platform application development is based on Xamarin, so you need to install the Xamarin suite (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 disk offline package, one of their own installation of 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/.
However, the business that calculates 514 yuan per month, the registration of an account can be a free trial for 30 days, and an account can be used on two computers (514 yuan to buy two copies of License? Pending confirmation).
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
Darklx
Visual Studio 2015 Mobile cross-platform development first experience