Deploying / Publishing ASP.NET Sites

  1. Delete all files from UI’s project /bin
  2. Set to Release mode configuration
  3. Build | Clean Solution
  4. Build | Build Solution
  5. Right click on UI project and select Publish
  6. Specify target location (Disk path: c:\publishedSite)
  7. Click Publish
  8. Upload all files in target location to FTP

Be cognizant of configuration files between environments (example web.config)

You can exclude /lib as well.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s