Chapter 19Deploying Your Website

What you will learn in this chapter:

  • How to get your application ready for deployment
  • Using values stored in configuration files
  • Managing multiple environment settings
  • Introduction to Windows Azure, Web Apps, and Azure SQL
  • Publishing your application
  • The importance of validating your deployment

Code Downloads for this Chapter:

The wrox.com code downloads for this chapter are found at www.wrox.com/go/beginningaspnetforvisualstudio on the Download Code tab. The code is in the chapter 19 download and individually named according to the names throughout the chapter.

Eventually, it is hoped that your application gets to a point where other people want to use it as well. The easiest way to do that is to deploy it to another server where other people can look at it themselves. Also, at some point you will need to deploy the application to a production environment so that it can interact with the public—doing the job that it was designed for.

Moving it from your local development machine to a remote server is a big step. It means you have to ensure that your application can handle multiple environments, and these multiple environments generally require different configurations, including SQL Server connection strings, so you have to manage those different values as part of your deployment strategy.

Part of this whole process is ensuring that you have a remote system to which you can deploy. Once that system is appropriately configured, your application ...

Get Beginning ASP.NET for Visual Studio 2015 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.