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.
The ghosts from the EPiServer 4 era are unfortunately very much still alive. Here's why you should minimize ViewState on your sites.
One issue I often see poorly implemented in EPiServer is language menus in combination with different hosts. And that’s not difficult to comprehend as even EPiServer struggles on their own site.
Replace EPiServer's archive job and organize expired content in a hierarchical structure based on published date.
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.
Never instanciate a WCF service client with an empty BasicHttpBinding contructor. This will disable you from being able to configure your service through web.config.
A website configured with Windows Authentication in IIS caused HTTP 401.1 errors when browsing to it from the local machine. The problem was caused by a security feature in .NET 3.5 SP1.
If your app is having trouble sending mail, your antivirus software may be to blame.
How to add map markers with Google API's geocoder.getLocations(countryCode, addToMap)