1
Answer

using claim store the userid globally in asp.net core base contoller

Photo of siva nathan

siva nathan

4y
748
1
Hi all,
 
 i need a UserId after login my page kept in basecontroller after further use using Claim in asp.net core
 
i have a login controller and basecontroller once i have login my page i will step into Logincontroller after that am storing Userid value in claims this value will be need to kept in basecontroller for further use 
 
how can i achieve this 
 

Answers (1)