if (!app.Environment.IsDevelopment()) { app.UseHttpsRedirection(); }