Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

[Proposal][Fixes #4187] Get rid of DNX services #4379

Closed
wants to merge 1 commit into from
Closed

Conversation

javiercn
Copy link
Member

We don't need IAssemblyProvider anymore as we have application parts, this commit removes support for IAssemblyProvider from MVC and DNX assembly provider. For customers running on RC1 using DNX that want to use nightly bits, the alternative is to add their assemblies manually to the IMvcBuilder.ApplicationPartManager during startup.

@rynowak
Copy link
Member

rynowak commented Mar 30, 2016

@javiercn - do they have to add the 'entry' assembly or do they get that for free?

/// <summary>
/// A type that uses Roslyn to compile C# content and <see cref="ILibraryExporter"/> to find out references.
/// </summary>
public class DnxRoslynCompilationService : ICompilationService
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might need to find an alternative for this. Can we make the default implementation make use of ApplicationPartManager to get the list of referenced assemblies?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a different matter entirely. These are not the same.

@javiercn
Copy link
Member Author


namespace Microsoft.AspNetCore.Mvc.Infrastructure
{
public class DnxAssemblyProvider : IAssemblyProvider
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't we just port this? The API doesn't seem significantly different and it avoids breaking people again.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, please 👍

@pranavkm
Copy link
Contributor

:shipit:

@javiercn
Copy link
Member Author

javiercn commented May 2, 2016

059ec0f

@javiercn javiercn closed this May 2, 2016
@dougbu dougbu deleted the jcn4187 branch July 15, 2018 03:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants