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

Specializing in high volume web and cloud application architecture, Anuj Varma’s customer base includes Fortune 100 companies (dell.com, British Petroleum, Schlumberger).
Anuj also offers a 1-day ‘technology for executives, crash course’ focused on emerging technologies.
For Anuj’s specialized one-on-one executive seminars, visit ANUJ.COM
All content on this site is original and owned by anujvarma.com.

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 *