Skip to content

Instantly share code, notes, and snippets.

View ktownsend-personal's full-sized avatar

Keith Townsend ktownsend-personal

  • 18:22 (UTC -05:00)
View GitHub Profile
@ktownsend-personal
ktownsend-personal / (aspNetCore + classicASP).md
Last active March 12, 2026 19:09
How to host classic ASP with your ASP.NET Core project

Host classic ASP in an ASP.NET Core 8 project

I have a situation where I need to migrate a very old classic ASP website gradually into an ASP.NET Core 8 website.

In my research I found many people asking how but never found a fully working example, so I want to share this for others.

If you end up using any of this, my only ask is that you link to this gist and give me some credit in your code for the next developer to discover... and of course tell me about how it saved your life in the gist comments ☺

Solution Summary:

  • install IIS on your machine, with the ASP engine and ISAPI so they are available to IIS Express
  • add ISAPI handler in web.config for each file extension to process as classicASP