Thank you for your quick reply,
We have implemented IAbpSession and it works. We can get user id but it is null Because we couldnt understand how to set the userid. (How to set AbpSession.userid etc.) Also what information should we set into userid? As far as I undestand, we should save the userid information both cookie and session and whenever a method is called, we should send userid and the other informations with that request.
Hi, We are trying to implement Asp.Net Boilerplate framework as database first but we are unable to integrate Abp Authorization. There are persmissions and authorization tables in our existing database Example: [AbpAuthorize("MENU_ITEM_MUAYENE")] We have added APPUSERROLE model İf in to ApbSession and we add this attribute above the method it should check within AbpSession.yetkiler and if the user has a corresponding authorization then the method should be allowed. We have tryed to set the AbpSessionand the AbpSession .UserId but no success and we are not sure if that is the right approach at the firs place. Also we encript/decript username and password is there any method within boilerplate for this or should we implement our own encription method?