.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Managed Extensibility Framework: Building Composable Apps in .NET 4 with the Managed Extensibility F

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

Glenn Block explains how the Managed Extensibility Framework, a new library coming in .NET Framework 4.0, tackles the longstanding issue of building applications and components that can be reused and extended by others. Learn how to build apps that can use new functionality introduced by developers, framework authors and third-party extenders.

Glenn Block

MSDN Magazine February 2010

View Complete Post

More Related Resource Links

Trying to use use Managed Extensibility Framework to inject dispatcher into ViewModel



I found this: http://stackoverflow.com/questions/2354438/mvvm-best-practice-to-pass-dispatcher-to-the-viewmodel

And wanted to try, not surprisingly I did not get it to work.

Here is my code:


 public partial class MainWindow : Window, IContext
 public MainWindow()
 #region IContext Members
 bool IContext.CheckAccess()
  return this.Dispatcher.CheckAccess();
 public bool IsSynchronized
  get { return this.IsSynchronized; }
 public void Invoke(Action action)

N-Tier Apps and the Entity Framework: Building N-Tier Apps with EF4


This article is the third in a series about n-tier programming with the Entity Framework, specifically about building custom Web services with the Entity Framework and WCF. This article looks at features coming in the second release of the Entity Framework (EF4) and how you use them to implement the Self-Tracking Entities and Data Transfer Objects (DTOs) n-tier patterns.

Daniel Simmons

MSDN Magazine November 2009

Vista and Office: View Data Your Way With Our Managed Preview Handler Framework


Stephen Toub shows you how to write your own Preview handlers for Windows Vista and Outlook 2007.

Stephen Toub

MSDN Magazine January 2007

Debug Leaky Apps: Identify And Prevent Memory Leaks In Managed Code


When is the .NET Garbage Collector unable to reclaim memory? The answer might surprise you. Stay tuned.

James Kovacs

MSDN Magazine January 2007

DirectX 9.0: Introducing the New Managed Direct3D Graphics API in the .NET Framework


DirectX 9.0 is the latest evolution of the Microsoft 3D graphics technology for Windows. Direct3D, a major component of the DirectX Graphics subsystem, has evolved so rapidly in the last few years that the underlying programming paradigm has changed quite a bit from its origin. This article introduces the fundamental concepts of the unmanaged Direct3D architecture and illustrates how the managed Direct3D layer abstracts the unmanaged layer. Also, the author describes the Geometry, Texture, Device, and other classes and uses code from the Samples SDK.

Yahya H. Mirza and Henry da Costa

MSDN Magazine July 2003

CLR Debugging: Improve Your Understanding of .NET Internals by Building a Debugger for Managed Code


With the release of .NET, the Microsoft scripting strategy has evolved. Script engines can now compile or interpret code for the Microsoft common language runtime (CLR) instead of integrating debugging capabilities directly into apps through Active Scripting. With that change comes a new set of published services for including debugging functionality in a custom host application. You'll see how to use the debugging services published in the .NET Framework to create a full-featured CLR debugger that allows you to set breakpoints, view call stacks, browse variables, view processes, enumerate threads, and perform other important debugging tasks.

Mike Pellegrino

MSDN Magazine November 2002

C# and the Web: Writing a Web Client Application with Managed Code in the Microsoft .NET Framework


When the author wanted to build a middleware Web client to connect to other applications over the Internet, he realized that the XMLHttpRequest COM object was not sufficient for his purposes. In order to build a Web client using managed code, the author had to use the HTTPWebRequest and HTTPWebResponse classes provided by the Microsoft .NET framework. These classes are used in the sample project as a substitute for the less powerful XMLHttpRequest COM object, allowing the author to build a full-featured Web client. They also take advantage of all the benefits that the CLR and managed code have to offer.

Avi Ben-Menahem

MSDN Magazine September 2001

Managed Addin Framework UI Issues


Problem #1: An add-in UI cannot be rotated, scaled, skewed because of which the UI from addin is not getting contained in the container because of which it is blocking the controls.

Problem #2: When focus shifts between controls in an add-in UI, the GotFocus and LostFocus events are neither received nor raised by the host application because of which addin UI sometimes seen on top of other CONTROLS and get refreshed on Mousemove.

Managed Addin Framework , VISUAL STUDIO 2010 breaks


When i am trying to add 3 visual wpf addin using for loop in .net 4.0 framework most of the times all 3 dont turned up some times 2 turned p nd sometime one but same code in f/w 3.5 sp1 works fine ?

In eventvwr i can see the log I can see the message as could not find the remote server . Please help me out from this unusual behaviour of addin .net f/w 4.0. I have istalled the patch as given by previous discussion http://social.msdn.microsoft.com/forums/en-US/wpf/thread/3c8592f2-14a6-418b-ab11-6d18096aaa0c


Crash report is as follows Version=1 EventType=APPCRASH EventTime=129461254346265559 ReportType=2 Consent=1 UploadTime=129461254349927434 ReportIdentifier=6ad7aae3-5c46-11e0-b807-0016e693a899 IntegratorReportIdentifier=6ad7aae2-5c46-11e0-b807-0016e693a899 Response.BucketId=2353269499 Response.BucketTable=1 Response.type=4 Sig[0].Name=Application Name Sig[0].Value=AddInProcess32.exe Sig[1].Name=Application Version Sig[1].Value=4.0.30319.1 Sig[2].Name=Application Timestamp Sig[2].Value=4ba1dfd6 Sig[3].Name=Fault Module Name Sig[3].Value=clr.dll Sig[4].Name=Fault Module Version Sig[4].Value=4.0.30319.315 Sig[5].Name=Fault Module Timestamp Sig[5].Value=4c05f789 Sig[6].Name=Exception Code Sig[6].Value=c0000005 Sig[7].Name=Exception Offset S

Managed AddIn FrameWork Folder Removal



 I have a below scenario...

                   My application will create an AddIntoken and will host the addin in seperate process.My code looks like...

MyHostView businessProcess = aiToken.Activate<MyHostView>(aiProcess, AddInSecurityLevel.Host);

The application will keep the above hostview object returned in aninternal dictionary for calling addin methods later...

Issue : After AddInProcess shutdown, I am not able to delete the addin folder completely...I can see that there will be 2 dlls left( HostSideAdapters.dll and contracts.dll ), and both are locked by my application. 


Can anybody tell me why my application still holds lock on the above dlls even after I shutdown my addin and killed addinprocess?




Smart Client: Building Distributed Apps with NHibernate and Rhino Service Bus, Part 2


Smart client applications are responsive and promote interactivity with the user. In this article, we continue building a smart client application using NHibernate for data access and Rhino Service Bus for reliable communication with the server.

Oren Eini

MSDN Magazine August 2010

Smart Client: Building Distributed Apps with NHibernate and Rhino Service Bus


Smart client applications are responsive and promote interactivity with the user. In this article, we start the processes of planning and building a smart client application using NHibernate for data access and Rhino Service Bus for reliable communication with the server.

Oren Eini

MSDN Magazine July 2010

Practical OData: Building Rich Internet Apps with the Open Data Protocol


See how you can build Rich Internet Applications that take advantage of the OData protocol to creatively interact with Silverlight, PowerPivot, SQL Server, SharePoint, the Windows Azure platform, "Dallas" and more.

Shayne Burgess

MSDN Magazine June 2010

Now Playing: Building Custom Players with the Silverlight Media Framework


The Silverlight Media Framework is an extensible and scalable video framework upon which you can create your own player experiences. We'll walk you through a custom player project that displays suggested videos for further viewing after the current video ends.

Ben Rush

MSDN Magazine May 2010

SOA Simplified: Service Virtualization With The Managed Services Engine


By using Managed Services Engine service virtualization technology, you can begin participating in the cloud by simply configuring virtual service endpoints and operations that integrate with the .NET Service Bus.

Aaron Skonnard

MSDN Magazine May 2009

Geneva Framework: Building A Custom Security Token Service


A Security Token Service, or STS, acts as a security gateway to authenticate callers and issue security tokens carrying claims that describe the caller. See how you can build a custom STS with the "Geneva" Framework.

Michele Leroux Bustamante

MSDN Magazine January 2009

CLR Inside Out: Best Practices For Managed And Native Code Interoperability


There are many factors to consider when building your app with both managed and native code. Find out how to employ interop and how to choose the interop that's right for you.

Jesse Kaplan

MSDN Magazine January 2009

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend