Using MEF to build scalable Silverlight applications

Source: Internet
Author: User
Tags silverlight

The Managed Extensibility Framework (Managed Extensibility Framework, referred to as MEF), is Microsoft. NET Framework to increase application and component reusability to maximize the reuse of components. Using MEF to convert statically compiled. NET applications into dynamic combinations will be a good way to create scalable applications, extensible frameworks, and application extensions. It will be published as part of the. NET Framework 4.0. Now, the MEF will also be included in Silverlight 4.0.

So how does the MEF work? This is a simple three-step process:

Export (output)

Import (Input)

Compose (Combination)

To briefly describe how MEF works, the core of the MEF consists of a catalog and a compositioncontainer. Category is used to discover extensions, while container is used to reconcile creation and grooming dependencies. Each configurable part provides one or more export, and typically relies on one or more externally provided services or Import. Each part manages an instance that runs for the application.

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.