Application that are written for targeting Silverlight 2.0 platform using managed code uses Silverlight Application model. Application model refers to application packaging and the common functionality encapsulated by the Application class. The application model helps you to develop both simple applications and complex, extensible applications that can share resources across a network. Silverlight offers two different programming model for developing Silverlight applications.

  • The managed API for Silverlight
  • The JavaScript API for Silverlight

You can not use both these programming models at same time with in the single application. Managed API model provides more functionality as compare to JavaScript model because application using managed API model can also access lightweight .Net framework classes.