Reputation:
I just got this question triggered in interview. What are the neccessary steps involved to publish asp.net mvc4 application to production environment?
I just told this
But they are expecting a lot. Any ideas?
Upvotes: 0
Views: 399
Reputation: 4914
Ideally before deploying to production, the site/application has been tested in a test environment (ideally a prod-like environment), so it should just be a case of promoting the deployment package from Prod-Like to Prod and applying the relevant config transforms/token substitutions for things like connection strings, service endpoints and credentials.
More holistically, some of the things I would look for:
Debug
set to 'false'runAllManagedModulesForAllRequests
set to 'true'But really, all of this stuff should be getting flushed out in a pre-prod environment that mimics the prod set up, with anything missing being applied to both environments (prod and pre-prod) and then further testing carried out on the pre-prod environment, before finally rolling out to prod.
Upvotes: 1