Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MEF docs for .NET Core #7613

Open
nathanaw opened this issue Sep 10, 2018 — with docs.microsoft.com · 16 comments
Open

MEF docs for .NET Core #7613

nathanaw opened this issue Sep 10, 2018 — with docs.microsoft.com · 16 comments
Labels
doc-enhancement Improve the current content [org][type][category] dotnet-framework/svc Pri2
Milestone

Comments

Copy link

It seems like most documentation for MEF is related to .NET Framework. It would be very helpful to provide details on the state of the .NET Core implementation. What's supported? What's changed? What's the roadmap?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@mairaw
Copy link
Contributor

mairaw commented Sep 24, 2018

@terrajobst is there any support or planned support for MEF on .NET Core?

@mairaw mairaw added waiting-on-feedback Waiting for feedback from SMEs before they can be merged 🔍 Under Investigation labels Sep 24, 2018
@mairaw mairaw added this to the Backlog milestone Sep 24, 2018
@terrajobst
Copy link
Member

MEF v1 is available for .NET Core/Standard via the System.ComponentModel.Composition NuGet package, which is also part of the Windows Compat Pack. However, MEF v1 also works cross-platform.

MEF v2 has always been available for .NET Core/Standard via the System.Composition NuGet package.

@mairaw
Copy link
Contributor

mairaw commented Sep 25, 2018

Ok, thanks for the info @terrajobst. Our content on MEF is not extensive but this probably should be moved under the .NET Guide then since it's not Framework specific.

@mairaw mairaw removed the waiting-on-feedback Waiting for feedback from SMEs before they can be merged label Sep 25, 2018
Copy link

Nice Framework!

@arieradle
Copy link

Is there any up-to-date statement regarding MEF v1 lifecycle? Is it deprecated/EOL? Or is it still officially supported?

@terrajobst
Copy link
Member

terrajobst commented Jul 15, 2019

Same as the rest of .NET Core, so it's supported.

Copy link

Boggin commented Aug 29, 2019

System.Composition (MEF v2) is in need of some examples. In fact, it could do with some documentation on how to use it as there's none available.

@GF-Huang
Copy link

GF-Huang commented Nov 5, 2019

Any examples of System.Composition (MEF v2) ? I have read this article. The ConventionBuilder is inside System.Composition.Convention namespace. How about the others ?
Can anyone tell me which namespaces are involved in v2?

Copy link

Even I am looking to have some documentation or samples of it's usage in .NET Core 2x or 3x. I have found something in this link - https://docs.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support. Not sure if MEF team has any other roadmap for .NET core

@tdykstra tdykstra added doc-enhancement Improve the current content [org][type][category] P2 labels Nov 20, 2019
Copy link

https://docs.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support is about using .NET Core DI - it doesn't use system.composition (MEF V2)

@talynone
Copy link

Here's some migration docs from MEF V1 to MEF V2 I found:

https://blog.softwarepotential.com/porting-to-net-standard-2-0-part-2-porting-mef-1-0-to-mef-2-0-on-net-core/

@WonkySoft
Copy link

I have to second that MEF v2 docs are seriously lacking.

Is there at least comprehensive example code put out by Microsoft somewhere?

@ricardok1
Copy link

Any update on docs?

@dotnet-bot
Copy link
Contributor

This issue has been closed as part of the issue backlog grooming process outlined in #22351.

That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the @dotnet/docs team for visibility.

@dotnet-bot dotnet-bot added the won't fix Issues that were closed as part of automated backlog grooming label Jan 25, 2021
@chances
Copy link

chances commented Jan 31, 2021

@dotnet Please reopen this. I'd like to see proper documentation for MEF in modern .NET

@BillWagner
Copy link
Member

reopening per comment.

@BillWagner BillWagner reopened this Jan 31, 2021
@dotnet-bot dotnet-bot removed the won't fix Issues that were closed as part of automated backlog grooming label Jan 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-enhancement Improve the current content [org][type][category] dotnet-framework/svc Pri2
Projects
None yet
Development

No branches or pull requests