Integrate third parties library uses old session pattern in dotnetcore


In the company i’m work, we are integrated with platform for certificates and signs operations in all of our projects. The fact is that this sign platform is based on WebForm Net Framework and just right now i’m starting a new project that we are migrating from WebForm to MVC with NetCore, but this platform keep in webform. The problem is that the platform for Sign inside their .dlls manage a session variable to opt for call some methods of them, but in core change all about working with session, the session object is in HttpContext.Session but only for controllers, to manage session from externall class it must be made throught “ISession” and "IHttpContextAccessor " in the externall class helper. We deppend of this platform for develop applications in our company. How can we go throught this issue??.

.NET Foundation Website | Blog | Projects | Code of Conduct