Pinned Loading
-
-
How to host classic ASP with your AS...
How to host classic ASP with your ASP.NET Core project 1# Host classic ASP in an ASP.NET Core 8 project
2I have a situation where I need to migrate a very old classic ASP website gradually into an ASP.NET Core 8 website.
34In my research I found many people asking how but never found a fully working example, so I want to share this for others.
5 -
How to synchronize classicASP sessio...
How to synchronize classicASP session with ASP.NET Core 8 1# How to synchronize classicASP session with ASP.NET Core 8
23This is related to my [other gist](https://gist.github.com/ktownsend-personal/fc7246d1b02952eb8d2474e720f69e1b) where I use both ASP.NET Core 8 and classic ASP in the same website. You'll probably want to read that too if you're needing to do what I describe in this gist.
45My original version of this was for MVC 5 several years ago. I have a separate [gist of the MVC 5 version here](https://gist.github.com/ktownsend-personal/f5097181c7fda9189be143b5feca18ac). It worked so well I decided to refactor it for a new project I'm working on.
-
How to synchronize classicASP sessio...
How to synchronize classicASP session with ASP.NET MVC 5 1# How to synchronize classicASP session with ASP.NET MVC 5
23This is related to a gist I wrote for doing this with ASP.NET Core 8, which was a refactor based on this code. I'm just dumping the old code here for reference. Read [that gist](https://gist.github.com/ktownsend-personal/4d72f269d95a10acf9da57d284820ab8) for full description of the strategy and challenges I had to overcome.
45This older version is using ActionFilter on the MVC 5 side of things to coordinate sync and puts a class holding the data and helper methods in the controller's ViewBag with a handy extension method to access it. The new refactor for ASP.NET Core 8 is using a scoped service class you can inject where you need it.
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.