ASPNetCore 2.2:
In Startup.cs, the Configure property only has {get}, yet it is assigned a reference.
I tried this in a normal .net framework app console, (a very simple "class1" object), and this was not permitted.
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration; // Configuration is readonly?
}
public IConfiguration Configuration { get; }
... etc