Answers from Microsoft WinRT developers

Source: Internet
Author: User

Original article Panel: Answers from Microsoft Developers Who Built WinRT

 

Chris Anderson, Chris Guzak, Jerry Dunietz, Kamen Moutafov, Martyn Lovell, and Elliot H Omiya guides developers to develop different WinRT components. They answered some urgent questions about running on the 2012 platform, the answer to the most important question of the abstract is as follows.

 

CLR is a DLL collection used for desktop and app store applications. However, the calling method of a desktop program is different from that of WinRT.

 

Asynchronous WinRT calls may cause problems. For example, when someone wants to debug one hundred file names, It is very troublesome to throw an exception during each debugging. The Team believes that this problem will be solved in the future.

Microsoft did not disclose any information about future. net or WinRT versions, but they will release it at a certain time in the future. They will say that the current version is a WinRT version of win8.

 

Opening a file that has been opened exclusively by the desktop program through the windows store app will fail. To avoid this conflict, you need to open the file. Underlying File System in read-only mode.

It is the same for WinRT and desktop programs.

 

An Executed thread is separated from a dedicated thread pool managed by the windows operating system. Because there are a large number of asynchronous operations called from the UI thread, they may return

The application must be released. If the application is running multiple asynchronous calls, we recommend that you Batch Execute the application so that it will not be overloaded in the system.

 

There is a new string type in WinRT. To meet the needs of different languages, WinRT provides a common processing method. when a string is created in languages such as C #, C ++, and JavaScipt

The content will not be automatically copied. Only the reference is winrt passed for performance reasons, but it can be copied when necessary.

 

Windows
The store authentication process only includes basic tests to ensure application compatibility with winrt devices, such as the surface, which is not exhaustive. Extensive testing is required,

To ensure that the application runs properly on the target device

 

 

Microsoft does not provide hardware information for programmatic access to the system-such as battery power.
-This prevents developers from using it in winrt to change the basic behavior of applications. Our idea is to make different

The device and system status, the application has consistent behavior.

The Windows 8 development portal provides information about devices and Windows versions when an application is running.

 

It is difficult or impossible to write winrt applications of the system management type. The system prohibits or restricts access to certain system resources.

There is no programming method to query or execute an application to serve a specific protocol, such as which applications play MP3 file protocols, which decide to be left to users.

For information interaction between desktops and store apps, one of the team members said: "We try to solve the problem that cannot work .",
The only way to communicate is to associate the protocol with the file type in user control.

A winrt application can run multiple views in a separate thread.
Windows considers this as a single application view, which means that users cannot

The application switching mechanism of the system is used, but the opinions on switching between applications developed by this mechanism are as follows.

Windows Store applications can open ports and communicate with each other, but the Web server port cannot be 80.

 

 

 

 

 

 

 

 

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.