First, the "xap" file.
1. The xap file is a Silverlight application.Program. It includes the resources required by appmanifiest. XAML, The Silverlight project set (. dll) compiled and output, and the Silverlight application. You can decompress the package through WinRAR to view the resources in the package. Of course, you need to change the extension.
You can use the <asp: Silverlight> label to load the ". xap" file on the "aspx" page. You can also use the "<Object>" tag to load the. xap file in HTML.
2. It is usually located in the "bin \ debug" folder of the project.
3. SL components must be loaded on Web pages.
4. You can directly install and deploy the SDK in WP development. (For details about how to use SL for Windows Phone alone, stay tuned. If you have time, you will write your own Windows Phone software (wpbox mobile phone safe-winning works) and share it with you .)
Second, the "XAML" file.
1. App. XAML file.
Declares "shared resources", such as brushes and various style resources. Its RearCodeThe "app. XAML" file is used to process global application events. For example, startup, exit, and unhandledexception.
It is similar to Asp.net's "Global. asax ".
2. "Page. XAML" file.
This is the default "XAML" file and a virtual start page. It does not contain any UI elements. "usercontrol" is the highest level of control, and "Grid" is "layout panel". All UI elements must be placed in it.
3. You can change the default ". XAML" page by setting "application. rootvisual. In "application_startup" in "app. XAML. cs.
Sort out the basic knowledge after completing the SL project...
Because there are still some projects in hand, please write them slowly.
The latest resource inventory, transmission array