Wednesday 9 November 2011

Deploying the Web Application or Web Service in IIS.

Question Received:
       How to publish the Web Components into the IIS Server 7.0
from 'MicrosoftVisualStudio2010'.

Solution:
      i. Build the Entire Project and solution.
      ii.Right-Click on the project, select 'Build Deployment Package'.
      iii.Right-Click on the project, select 'Publish'.
      iv.Select 'FileSystem' to deploy.
      v. Browse for Target Location.
      vi. Click 'OK' to publish.
      vii.Go to target location and copy the path.
      viii.Start IIS Manager 7.0 ('inetmgr.exe')
      ix.Right-Click 'DefaultWebSite'-->Add Application.
      x. Give the Application Name and TargetPath.
      xi.Browse the Application from InternetExplorer
      
    That's it. Finished.
[Note:] Best Practices,
              --> Choose 'Delete the files in the targetFolder prior to publish'.
              --> Conform building the project and solution prior to publish.

No comments:

Post a Comment