asp.net mvc 4 - Steps Involved in Publishing Site to Production Environment -


i got question triggered in interview. neccessary steps involved publish asp.net mvc4 application production environment?

i told this

  1. changed release mode , publish site.
  2. look connection variables in web.config
  3. look application settings
  4. then create application in iis
  5. create application cycle it
  6. then map source path application in iis

but expecting lot. ideas?

ideally before deploying production, site/application has been tested in test environment (ideally prod-like environment), should case of promoting deployment package prod-like prod , applying relevant config transforms/token substitutions things connection strings, service endpoints , credentials.

more holistically, of things for:

  • have binaries been compiled optimisations turned on, , pdb set either 'none' or 'pdbonly' (i.e. not 'full')
  • are referenced assemblies , full transitive tree going resolvable in target server - i.e. not in 'bin' directory of deployment package must resolvable through gac or dropped in separately 'bin' directory
  • the web.config should set appropriate values production environment, includes things such as:
    • correct prod connection strings
    • debug set 'false'
    • correct prod wcf endpoints , configuration (bindings, certs, etc)
    • any non-prod/dubug handlers , modules removed
  • ssl certs correctly set if https being used
  • application created in iis, appropriate app pool (integrated pipeline, asp.net version 4) associated (ideally app pool specific app, i.e. not shared other apps/sites)
  • ensure asp.net 4 has been correctly registered iis on target server
  • ensure prod config has runallmanagedmodulesforallrequests set 'true'
  • ensure 'http redirection' installed on target server
  • anything else depending on errors come up

but really, of stuff should getting flushed out in pre-prod environment mimics prod set up, missing being applied both environments (prod , pre-prod) , further testing carried out on pre-prod environment, before rolling out prod.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -