When is an ApiController instance created?

asp.net-mvc, asp.net-web-api

Solution

Instance of ApiController is created new one on every HttpRequest.

Problem

Is a new instance of an ApiController created to service every request, or does it get "pooled" in some way to service subsequent requests? The reason I ask is that I'm wondering about the lifetime of the member variables such as the DbContext member that the scaffolding puts in (but also my own members).

Original source