Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "zdeen"

I just realized that in my case I need to get to UI login screen capture the cookies and then pass the cookie to other calls.

The reason is I have some checks in my code for certain feature and while making a call with Token which apparently takes host context, the call to check feature fails since these are enabled at Tenant level and not at host level

Probably I can add a validation in these calls to check if AbpSession.Tenantid==null then take it as host context and don't do the vlidation but its very risky and may be can open spots for some securty gaps.

Something like this:

Thanks a million.This was great help.

Thanks all for the help. Would try these options

Thanks for the pointers. I was able to integrate the same.Have few followup question which probably would can guide me

  1. I want to include GUID with every request for ApplicationService.It can be an ActivityId which would be a unique GUID for every request from a user.Incase of error I can add this GUID to error message to user and it can be further used to check AuditLogs to find what was the exception.
  2. Would extending AuditInfo class help or I would need to comeup with my own interceptor.
  3. ExecutionDuration of AuditInfo does it handles async and sync call seperate and give correct duration for async calls.
  4. What is ReturnValue in AuditInfo class.

Thanks a lot for the help.

Thanks . I am using ASP.NET Core, Angular and the latest version 7.2.0 of that.

Showing 11 to 15 of 15 entries