aspnetcore/test/WebSites/ActivatorWebSite
Ryan Nowak 144c1d3cf4 Fix #2151 - Part 4 remove [Activate] support from controllers.
This change completely removes [Activate]. In a controller, you should
constructor injection or [FromServices] to access services.

To access context items (ActionContext, ActionBindingContext, root
ViewDataDictionary) you should use the respected attribute class.

We'd like to consider streamlining this further in the future by getting
down to a single injectable context for controllers, but for now this will
have to do.
2015-05-21 22:57:56 -07:00
..
Components
Controllers Fix #2151 - Part 4 remove [Activate] support from controllers. 2015-05-21 22:57:56 -07:00
Models
Services
TagHelpers Part of #2151 - Remove [Activate] from TagHelpers 2015-05-21 22:57:51 -07:00
Views/View
wwwroot
ActivatorWebSite.xproj
Startup.cs
project.json
readme.md

readme.md

ActivatorWebSite

This web site demonstrates the use of activate attribute on controller properties, view components and tag helpers.