connect asp.net and .net core application with sql using sql session

Ramesh kumar 0 Reputation points
2023-08-31T05:44:02.78+00:00

if i save session in sql server then can we connect both application (asp.net and .net core) with one db and run parallel

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 58,356 Reputation points
    2023-09-01T16:02:30.8666667+00:00

    There is no built in support for this. Actually not even for two asp.net websites to share session.

    to share session, you will need to write a custom session provider for both applications. You also need to understand that asp.net locks session for the life of a request, but asp.net core does not.

    0 comments No comments