Base solution for your next web application

Activities of "zdeen"

I have enabled 2FA with email verification. I do receive code in my email but when I try entering it the validation says to "prove the you are not robot" .

This is something which I have already validated in previous screen as shown below

Could you please guide on how to streamline this validation.Am following these docs and nothing as such is documented here https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Two-Factor-Authentication

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

Hi team,

This is a good info (https://support.aspnetzero.com/QA/Questions/6637)which should be updated here : https://aspnetboilerplate.com/Pages/Documents/Feature-Management along with an example of how to use abp.features.getValue in client side as well. var value = abp.features.getValue('SampleNumericFeature');

Hope support team updates the document.

Could you please share the guidance of using JSON.stringify with Moment as Date object. When I try to do that the time string gets truncated as follows,

  • As you can see in the screenshot I have both fromDate and toDate passed as a parameter
  • But as soon as it's passed through JSON.stringify it gets truncated. Please refer to the content_ constant in the screenshot below
  • Class and interface details
  • We are using Angular Version 8.3.5 with ASP.NET core.

Thanks

We are trying to save all AbpAuditLogs to Azure Kusto databse. While we understand there won't be direct integration option what I am trying to do is replace the inbuilt auditing to save these details in EventHub and then move it to Kusto. The EventHub to Kusto injestion is something which I would work later but need help in getting few pointers how the existing Auditing in AspNet zero can be replaced so that audited logs are sent to datastore of my choice instead of SQL Server table.

This documnet https://aspnetboilerplate.com/Pages/Documents/Audit-Logging descibed how can we enable and disable it but just looking on options on I can extend it further. Thanks a lot for the help in advance.

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.

Any doc or link that would share some pointers on how to loadtest aspnet zero with Jmeter. Looking for option on how to set the authentication cookie in Jmeter which we get once API (ASP.NET CORE version) is authenticated.

Thanks all for the help. Would try these options

Thanks a million.This was great help.

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:

Showing 1 to 10 of 32 entries