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. |
||
|---|---|---|
| .. | ||
| ClientUIStubController.cs | ||
| ControllerWithConstructorInjection.cs | ||
| ControllersFromServicesClassLibrary.xproj | ||
| EmployeeRecords.cs | ||
| GenericController.cs | ||
| Inventory.cs | ||
| NestedControllerOwner.cs | ||
| QueryValueService.cs | ||
| ResourcesController.cs | ||
| TimeScheduleController.cs | ||
| project.json | ||