Just like other Visual Studio development scenarios, application architecture for the Windows Phone platform consists of three major components:
Events, application user interfaces (APIs), UI elements, and code models exposed by the operating system
The runtime libraries for implementing functionality
Logic, custom code, and UI elements that you write (in other words, your app)
All those components are running on top of the ...