1th Chapter Development Environment Installation and configuration (i): overview
At present, Android in the world market share of about 75%, the number of Chinese Android mobile phone Holdings is even more than 90% "online to find the introduction, do not care."
Developing mobile applications in C #, it is recommended to prefer VS2015, because the VS2015 built-in is C # 6.0, many of the original implementation of the cumbersome operation, under the VS2015 has become very simple.
1. Cross-platform mobile application development
VS2015 's mobile cross-platform uses the Xamarin architecture, which allows developers who are already familiar with Visual Studio to develop mobile applications directly without being familiar with other development tools.
(1) Win7:vs2015+c# take care of Android, IOS
When you create a project with VS2015 under Win7, you can use the project templates for iOS and Android directly. The development team can also incorporate iOS and Android program code into ALM, and can also use TFS (Team Foundation Server) to manage version creation and configuration.
When writing mobile apps in C #, you can use the full-featured Android and iOS designer to create a 100% native user interface (Native UI Code) customized for each platform. In addition, use. NET to build mobile applications, you also have direct access to more than 20,000. NET libraries and Xamarin components.
(2) Win10:vs2015+c# take care of Android, IOS, Windows Phone
When you create a project with VS2015 under WIN10, you can quickly build mobile apps for multiple platforms (Android, IOS, Windows phone, and Mac) directly in C #, and you can share your business logic and data access programs across different platforms. In addition to saving the time cost of re-writing, there is considerable support for version maintenance and code consistency.
2. Native code improves native performance
When VS2015 compiles applications for iOS and Android platforms, it is actually using Xamarin to compile C # programs directly into the native machine code of the ARM CPU, so that efficiency and performance are no different than Android and iOS applications developed in native mode. Especially on Android, Xamarin does not use Android's Dalvik virtual machine, but instead uses the CLR to implement it, so development efficiency and execution performance are greatly improved, some even more than native applications.
3. Direct access to core platform APIs
In addition to the. NET API, developers have direct access to native core APIs for all platforms in C # without any restrictions.
4. Life cycle management and connectivity to Azure
When you develop mobile apps in C #, you can easily manage your source code repositories, builds, continuous integration deployments, unit tests, and UI tests. You can also run diagnostics in development and production environments to monitor application performance and user behavior in real time through telemetry and analytics.
In addition to having full access to Visual Studio features, C # developed mobile apps can be quickly integrated and configured with Microsoft's Cloud Architecture (Azure) mobile services and seamlessly add services such as data storage in the cloud, customer authentication, push notifications, or offline synchronization. And can be extended to millions of devices at any time.
5. Popular and mature
Mobile development is becoming more and more important for organizations around the world, and thousands of of foreign companies are currently using Xamarin and Visual Studio to build high-quality, mission-critical applications.
With Visual Studio 2015 and Xamarin, organizations can use existing skills and technology investments to accelerate time-to-market and provide mobile apps for all use cases.
Chapter 1th installation and configuration of development environment (i): overview