Skip to content
View ktownsend-personal's full-sized avatar
  • 00:42 (UTC -05:00)
Block or Report

Block or report ktownsend-personal

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. RetroPhone RetroPhone Public

    C 9

  2. 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
    2
    I have a situation where I need to migrate a very old classic ASP website gradually into an ASP.NET Core 8 website. 
    3
    
                  
    4
    In my research I found many people asking how but never found a fully working example, so I want to share this for others.
    5
    
                  
  3. 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
    2
    
                  
    3
    This 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.
    4
    
                  
    5
    My 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. 
  4. 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
    2
    
                  
    3
    This 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.
    4
    
                  
    5
    This 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.