AI OnAI Off
Here is how you can use Web API in an EPiServer CMS 7 MVC project with dependency injection in the API controllers.
The ServiceLocator is nice and real handy, but wouldn’t it be nice to get dependency injection right there in your controller’s constructor?
In CMS 7 Mvc projects the views folder can get messy. Here is an attempt to simplify the folder layout.
Access denied error handling in EPiServer CMS 7 using MVC and a base page controller class instead of the old timer PageBase class in web forms.