Why use the Configure method of startup class?
It can specify how the app makes requests to HTTP.
It can be used to configure the application services.
It can ensure that middleware runs before or after middleware added by libraries at the start or end of the app's request processing pipeline.
It can specify how the app respondes to HTTP requests.