O'Reilly logo
  • Johny Jean Michel thinks this is interesting:

builder.AddJsonFile("webserviceendpoints.{envEnvironmentName}.json", op-
tional: true);

From

Cover of ASP.NET Core Application Development: Building an application in four sprints (Developer Reference)

Note

Typo - should be builder specific to AddXMLFile();