Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Windows Server Containers

You're reading from   Learning Windows Server Containers Build and deploy high-quality portable apps faster

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781785887932
Length 404 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Srikanth Machiraju Srikanth Machiraju
Author Profile Icon Srikanth Machiraju
Srikanth Machiraju
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Exploring Virtualization FREE CHAPTER 2. Deploying First Container 3. Working with Container Images 4. Developing Container Applications 5. Deploying Container Applications 6. Storage Volumes 7. Redis Cache Containers 8. Container Network 9. Continuous Integration and Delivery 10. Manage Resource Allocation and REST API 11. Composite Containers and Clustering 12. Nano Server

Developing ASP.NET 4.5 applications as Windows Server Containers


In the earlier section, we learned how to run an ASP.NET Core application on Kestrel, packaged and deployed as a Windows Server Container image. In this section, we will be converting an existing ASP.NET 4.5 application as a Windows Server Container package which runs on IIS within the windows server core:

  1. Let us start with creating a basic ASP.NET 4.5 MVC application on Visual Studio 2015. Click on File | New | Project or Ctrl + Shift + N from keyboard to create a new project.

 

  1. Select ASP.NET Web Application (.NET Framework) template. Ensure .NET Framework 4.5.2 is selected on the framework section on top. Click OK.
  2. Select c:\samples\aspnet4.5\ as the location for storing the project artifacts. Let us also name the project as WindowsContainerSample:
  1. Select MVC template from ASP.NET 4.5.2 Templates. Click on Change Authentication and select No Authentication. Click OK on the Change Authentication window and then click OK on the...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image