Visual Studio 2015 express delivery (4)-mobile development with advanced features, studio2015
Series of articles
Visual Studio 2015 Express (1) -- C #6.0 how to use new features
Visual Studio 2015 express delivery (2)-improved efficiency and quality (core competitiveness of VS2015)
Visual Studio 2015 Express (3) -- ASP. NET New Features
It is said that the advanced features of VS2015 are actually not very advanced. It seems that it is indeed "too high", as shown in BUILD2015, you can really just use VS2015 to "get through" all kinds of mobile device applications. Of course, it is a conditional "Get Through". Microsoft has provided a series of solutions, to help achieve this goal.
First of all, we will talk about Hybrid Apps, a popular application in recent years. The outstanding work is Apache Cordova. Although many people believe that mobile Apps are still good at Native, however, it is undeniable that with the advancement of Moore's law, electronic devices are upgrading faster and faster, and the performance differences between local applications and hybrid applications are getting smaller and smaller, the efficiency of the hybrid application is reflected, and you can easily move the single-page application (SPA) written on the previous website directly without making too many changes, release and upgrade. VS2015 provides Visual Studio Tools for Apache Cordova for such Hybrid applications. It was previously called the Multi-Device Hybrid Apps for Visual Studio ), microsoft has enhanced various features in the previous CTP, added several new features, and added them to VS2015.
The previous CTP functions will not be described in detail. Let's talk about the new features here.
- Using a simulator or a Mac machine to remotely deploy and debug iOS applications, I personally feel a little bad. I still need Apple devices, but it is undeniable that VS has taken a big step forward, from then on, we are stepping into the ongoing cross-platform architecture.
- Improved plug-in management makes it easier to install custom plug-ins from git or file systems.
- Improved config. the xml designer adds a platform-based configuration that does not change. This is very useful. For example, you need to develop a sign-in application. on iOS, there is no big difference in hardware. Only cameras (SCAN Code) are available, but the android world is rich and colorful (or strange). You can use cameras (SCAN codes ), rich peripherals such as NFC are also supported, so many different settings are introduced in Cordova through config. xml management, looking at the huge xml file, can not help but worry.
- Supports debugging for more devices. Android supports 4.4/4.3, or jsHybugger for earlier devices. iOS supports 6/7/8; windows Store supports 8.1 (the miserable wp7 is not supported, and lumia's early devices secretly cry)
Next, we came up with another headache for the Android community. As we all know, the simulators of ADT and Android Studio are based on QMENU. Developing on Windows is a simple application, A few coffee cups of coffee are still being deployed. Later, Android came out with an Intel simulator. The performance is greatly improved from the official documentation. However, you need to install HAXM first, an error occurred when I was eager to download it online: hardware is not supported. Why? CPU virtualization support was originally required. In addition, it is critical that Hyper-V is not available, but VS is installed on mobile devices by default. In an instant, the world is full of evil!
Therefore, VS2015 has such an Android simulator. You have not guessed it. Microsoft has said that with it, you will no longer encounter Hyper-V conflicts when switching the simulator! Then I will tell you that it supports many sensor simulations, rotating screens, touch, and network simulations. The key is that it supports Jellybean (API 17) to Lollipop 5.1 (API 22) all the images feature support drag-and-drop apk installation. In addition, you can install this package separately on Windows and use these simulators, in order to replace the built-in QMENU such as ADT (remember that a team in China has developed a virtualbox-based android simulator, which seems to be genymotion. I personally think it is good. If it is not too troublesome, please try again ).
The third appearance was Visual Studio Tools for Universal Windows App Development. Microsoft has been pushing this concept of Microsoft's new interface programming since the concept of Universal Apps was introduced in 2014, in fact, this is not a new thing. Basically, it can be said that it is the streamlining and refining of WPF, the addition of Silverlight extensions, the use of Portable Class Library as a bridge in the background, and a series of packages that Microsoft silently implements at the underlying layer. This new tool of VS2015 is an inevitable product of Microsoft's efforts to achieve a better ecosystem. Originally, Microsoft's product line was very complicated, excluding the most profitable cloud and office software series, only the operating system and development tools are available. However, this is not a success in the form of "Wang maifuo". We also need loyal partners and devout followers, these require a good ecosystem that allows partners and followers to make money.
Then there are various third-party development tools bound by Microsoft, such as Xamarin, which has been a hot event in the last two years. Microsoft has spared no efforts to promote them, its slogan is directed at the Hybrid App-using C # to develop cross-platform local applications!
The grape city control, which is the most advanced in the control field, provides the Xamarin development toolkit called Xuni. It includes some famous star products such as FlexChart and FlexGrid. If you are interested, click the link: http://www.gcpowertools.com.cn/products/xuni.htm for more details.