ASP.NET Core 2.0: How to Pass Data Into a Model Using DI

Imagine you have an ASP.NET Core web page and you would like to edit some data in a form, but you’d like to default that data to something (maybe initially specified in the Web.Config).
I’m sure there are dozens of ways to achieve this, but this is one.