* Added ViewComponentFeture and ViewComponentFeatureProvider to perform view component discovery. * Changed view component discovery to use application parts. * Changed ViewComponentDescriptorProvider to make use of Application parts. * Added AddViewComponentsAsServices method on IMvcBuilder that performs view component discovery through the ApplicationPartManager and registers those view components as services in the service collection. Assemblies should be added to the ApplicationPartManager in order to discover view components in them in them. |
||
|---|---|---|
| .. | ||
| Components | ||
| wwwroot | ||
| AnotherController.cs | ||
| ControllersFromServicesWebSite.xproj | ||
| NotInServicesController.cs | ||
| Startup.cs | ||
| ValueService.cs | ||
| ViewData.cshtml | ||
| project.json | ||
| readme.md | ||
readme.md
Functional test site for verifying that controllers registered as services can be consumed by DefaultControllerFactory.