O'Reilly logo

Professional C# 6 and .NET Core 1.0 by Christian Nagel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 45 Deploying Websites and Services

What’s in this Chapter?

  • Deployment preparations
  • Deployment to Internet Information Server
  • Deployment to Microsoft Azure
  • Deployment using Docker

Wrox.com Code Downloads for This Chapter

The wrox.com code downloads for this chapter are found at www.wrox.com/go/professionalcsharp6 on the Download Code tab. The code for this chapter is found in the following examples:

  • WebDotnetFramework
  • WebDotnetCore

Deploying Web Applications

ASP.NET web applications traditionally have been deployed on Internet Information Server (IIS). Also, it was important to have on the server the same version of the .NET Framework as was used during development. Using .NET Core, this is no longer the case. .NET Core not only runs on Windows, but also on Linux. Also, the runtime that is needed with the application is delivered as a part of the application. These changes give you more deployment options to run your application.

This chapter shows different options for deploying web applications. One, of course, is to deploy the application on a local Internet Information Server. It’s also easy to deploy to Microsoft Azure. Using Microsoft Azure, you can easily scale applications, and you don’t need to buy all the systems you probably need up front. You also add additional systems as needed and only buy for the time you need these systems.

This chapter shows you how to create a Docker image with Visual Studio. Docker allows you to prepare the infrastructure you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required