Extend ClaimsAbpSession
问题 I need to extend the ClaimsAbpSession and create new properties to be sent in the requests between the angular app and the server. Actually, I´ve stored these new properties using claims. But when the user refreshes the page, the values in the claims are lost. 回答1: MyAppSession.cs // Define your own session and add your custom field to it. // Then, you can inject MyAppSession and use its new property in your project. public class MyAppSession : ClaimsAbpSession, ITransientDependency { public