In Startup.cs I can check if the app in development or product in the following method:
public void Configure(IApplicationBuilder app, IWebHostEnvironment env){ if (env.IsDevelopment()) { } else { }}How can I do the same check in the ConfigureServices method?