Thursday, 12 May 2022

asp.net web api session

 session hanling in web api 2 

 protected void Application_PostAuthorizeRequest()

        {

            HttpContext.Current.SetSessionStateBehavior(SessionStateBehavior.Required);


        }


give this method global.cs 

No comments:

Post a Comment

HCL healthcare

 hcl health care f2f second round interview asked more uestions on microservice 1.apim manage all apis in one place 2.sql profiler in one fo...