Building Modular Silverlight Applications with the Managed Extensibility Framework Ben Dewey twentysix New York

Slides:



Advertisements
Similar presentations
Lambda Expressions Matt Van Horn Software Engineer Iverson Gaming Systems, Inc.
Advertisements

Extending Eclipse CDT for Remote Target Debugging Thomas Fletcher Director, Automotive Engineering Services QNX Software Systems.
Towards a GRID Operating System: from GLinux to a Pervasive GVM Domenico TALIA DEIS University of Calabria ITALY CoreGRID Workshop.
An OCW Installer for Sakai using OKI v3 OSIDs Mark J. Norton Nolaria Consulting July 2008.
RIA 1.0 AA We need…. We need….. BBCC RIA 1.0 We need….. DDEEFFGGHHIIJJKK We need….
A guided tour of MEF in Silverlight 4 Mike Taulty Microsoft UK
An overview of… Luis Guerrero Plain Concepts
 Glenn Block  Program Manager Microsoft Corporation TL33 TL49 Related sessions.
Building a Rich Internet Application with jQuery Ben Dewey twentysix New York Fill this space.
Change the Rules Silverlight 4 – What’s New? ( part 2 ) Mike Taulty, Microsoft UK
MITK Diffusion (under the hood)
Rewrite Twitter in an hour Steve Degosserie & Georges Legros.
Managed Extensibility Framework Georges
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Getting data into Silverlight on SharePoint Neil Iversen
By, Ben Dewey Senior Software Developer Tallan, Inc.
Developing iPhone Apps with MonoTouch Bobby Chopra
By, Ben Dewey Senior Software Developer twentySix New York
By, Ben Dewey Senior Software Developer Tallan, Inc
SharePoint 2010: BCS m Business Connectivity Services.
By, Ben Dewey Senior Software Developer twentySix New York
Page 1Prepared by Sapient for MITVersion 0.1 – August – September 2004 This document represents a snapshot of an evolving set of documents. For information.
Composite Application Guidance Prism 2 A Rainbow of Possibilities.
Sponsorship Packages Celebrate. Remember.Fight Back. Relay for Life Charity Golf Classic All proceeds benefit the American Cancer Society Team Member $100.
Enterprise Portal Development Microsoft Dynamics AX 2009 Diwakar Bedekar
June 13, 2012 The Betty T. Ferguson Center 11:00 am to 3:00 pm.
GPPC Connections 2011 | November 6-8 | Las Vegas, NV Dynamics GP12 Web Client Today and in the Future Kevin Racer, Sr. Program Manager.
Service-Learning in Action : Your poster title here Your name(s) here Service Activities: Use this entire box to describe activities you did for your service.
Change the Rules Silverlight 4 – A Guided Tour of MEF Mike Taulty, Microsoft UK
HeuristicLab. Motivation  less memory pressure no DOM single pass linear process  less developer effort no interfaces to implement  modularity & flexibility.
Silverlight Technology. Table of Contents 1.What is Silverlight Technology? 2.Silverlight Overview. 2.1 How it works 2.2 Silverlight development tools.
AMPol-Q: Adaptive Middleware Policy to support QoS Raja Afandi, Jianqing Zhang, Carl A. Gunter Computer Science Department, University of Illinois Urbana-Champaign.
Jumpstart: Silverlight Presenter: Kevin Grossnicklaus November 6 th, 2010.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Business Plug-In B17 Organizational Architecture Trends.
Reston Raiders Sponsorship Program “Fun Hockey for Kids”
March 27, 2007HPC 07 - Norfolk, VA1 C++ Reflection for High Performance Problem Solving Environments Tharaka Devadithya 1, Kenneth Chiu 2, Wei Lu 1 1.
Tradepoint Enterprise – Sneak Peek at Version 3.0 Power Point Template.
10/28/2002 (c) 2002 Orbonyx Corp. All Rights Reserved. GotDotNet – Building Upon the Framework Roy Ogborn, Lead Consultant Orbonyx Corp.
Visual Studio 2010 and.NET Framework 4 Training Workshop.
Visual Studio 2010 and.NET Framework 4 Training Workshop.
Building a real-world, Internet- scale stock trading application Naveen Prabhu Quadwave Consulting Pvt. Ltd.
What the heck is MEF? And why should I care? Jason Offutt Software Engineer Central Christian Church
Welcome to the Minnesota SharePoint User Group. Introductions / Overview SharePoint 101 High level overview of SharePoint Differences between SharePoint.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
TUESDAY, 3:30 – 3:50PM David Riley, CONNECT Lead (Contractor) Federal Health Architecture Office of the National Coordinator for Health IT CONNECT 3.0.
Bart J.F. De Smet Software Development Engineer Microsoft Corporation Session Code: DTL315.
04 |Sharing Code Between Windows 8 and Windows Phone 8 in Visual Studio Ben Riga
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
Sports and Entertainment Marketing 1
Radare >1.0 &&
Assorted Pieces from the Angular2 Chocolate Box
Thank you to our generous sponsors! DIAMOND
Managed Extensibility Framework
Use Case Realization Describes a collaboration among analysis classes that shows how a specific use case is realized Consists of flow-of-events analysis,
Glenn Block MEF in the real world Glenn Block
Service-centric Software Engineering
SWIM TEAM SPONSORSHIP OPPORTUNITIES SPONSORSHIP OPPORTUNITIES
Silverlight Technology
Present by Andie Saizan, MCP
Dependency Injection with MEF and Unity
A platform for Linked Data publishing
SSRS Data-Driven Subscriptions
Modular Object- Oriented Dynamic Learning Environment.
IASSIST 2014 – Toronto, Ontario
Shakopee Lacrosse Association Sponsorships
Colectica 5 A New Generation of Open Metadata Tools
Dependency Injection Carolyn Schroeder May 16, 2017.
Metadata Development in the Earth System Curator
How and When to Use MEF: Too Much Is Never Enough
9/14/2019 6:51 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Presentation transcript:

Building Modular Silverlight Applications with the Managed Extensibility Framework Ben Dewey twentysix New York

We thank the following companies for their gracious sponsorship Platinum Sponsors Gold Sponsor

Assumptions Basic knowledge of – Silverlight – Model-View-ViewModel Nice to have knowledge of – Loosely Coupled Application Architecture – Inversion of Control Containers

Overview What is the Managed Extensibility Framework MEF Basics – Export, Import, Compose Describing your exports with Metadata Loading Packages Dynamically Questions

Preface Loosely Couple Architecture – Extract functionality to Interfaces Inversion of Control Containers – Dependency Injection IPlugin obj = new MyPlugin(); IPlugin obj = IoC.Resolve ();

What is MEF MEF is the Managed Extensibility Framework – Create based on the needs of the VS2010 team – MEF Preview 9 for SL3 and In the Box for SL4 Why would you want to use it? – Loosely Coupled Application – Plugin Architecture – Limit initial XAP download time.

MEF Basics Export Import Compose – Populates the entire object graph CompositionInitializer.SatisfyImports(this); [Import] public IPlugin Plugin { get; set; } [Export(typeof(IPlugin))] public class MyPlugin : IPlugin { } [ImportMany] public IEnumerable Plugin { get; set; }

Describing your Exports with Metadata Use the ExportMetadataAttribute (0-many) Binds using the Lazy object to a strongly typed interface [Export(typeof(IPlugin))] [ExportMetadata(“Order”, 1)] public class MyPlugin : IPlugin { } public interface IPluginMetadata { int Order { get; set; } }

Recomposition Imports get set whenever new Exports become available [ImportMany(AllowRecomposition=true)] public IEnumerable Shapes { get; set; }

Loading Packages Dynamically DeploymentCatalog, DeploymentCatalogService *DeploymentCatalogService is not included in System.ComponentModel.Composition, comes with the DeploymentCatalogSample Sample application DeploymentCatalogService.AddXap("MefHolidayShapes.xap"); var catalog = new DeploymentCatalog("MefHolidayShapes.xap"); catalog.DownloadCompleted += catalog_DownloadCompleted; catalog.DownloadAsync();

Links – Building Extensible Rich Internet Applications with the Managed Extensibility Framework (Glenn Block)

New York City Spring March 27, 2010

Thank You