image2docker–getting older ASP.NET webforms apps onto newer OSes

Image2Docker may be the simplest path for getting your older .NET apps working on newer OSes.  It works by extracting either an entire VM or specific ‘artificats’ from a VM. 

An artifact can be a WebForms App running on .NET 2.0 on Windows 2003. This use case has been tested by the Image2Docker user community.

Steps to Dockerizing older .NET apps

The IIS module (artifact) in Image2Docker uses the ArtifactParam flag to specify a single IIS website to extract into a Dockerfile.

This allows the extraction of a workload (IIS/ASP.NET webapp) from a VM into a Docker Image (.vhd):

ConvertTo-Dockerfile -ImagePath C:\whereever\win-2016-iis.vhd -Artifact IIS -ArtifactParam aspnet-webforms -Verbose -OutputPath c:\whereever\aspnet-webforms

Cloud Advisory Services | Security Advisory Services | Data Science Advisory and Research

Specializing in high volume web and cloud application architecture, Anuj Varma’s customer base includes Fortune 100 companies (dell.com, British Petroleum, Schlumberger).

All content on this site is original and owned by AdverSite Web Holdings, Inc. – the parent company of anujvarma.com. No part of it may be reproduced without EXPLICIT consent from the owner of the content.

Anuj Varma – who has written posts on Anuj Varma, Technology Architect.


Leave a Reply

Your email address will not be published. Required fields are marked *