Base solution for your next web application

Activities of "zdeen"

Version of Aspnet zero:

ASP.NET CORE & Angular .NET Core 2.2 v7.2.3

I have been trying to configure Xamarin project as per the documents here https://docs.aspnetzero.com/en/aspnet-core-angular/v7.2.0/Development-Guide-Xamarin but getting this error from VS 2017 and requesting out for some help here.

Severity Code Description Project File Line Suppression State Error Can not resolve reference: Microsoft.AspNetCore.Http.Features, referenced by OneSense.Application.Client > OneSense.Application.Shared. Please add a NuGet package or assembly reference for Microsoft.AspNetCore.Http.Features, or remove the reference to OneSense.Application.Client. OneSense.Mobile.Droid C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1898

This is Application.Client and it has some nuget conflict issue. I have installed Microsoft.AspNetCore.Http.Features in the project but still don't know why build is compalining that it cannot resolve the package Could anyone guide how can this be fixed.

I got this version of ASPPNET Zero few months back and was working on Angualr and .NET Core WepAPI Part of the same which is working perfectly. With now my API ready and hosted in private beta for testing I have started working in building a Xamarin app for the same and encountering this issue .Any guidance how can I proceed further.

Thnaks a lot for the help in advance

Regards, Zainudeen

Hi Friends,

I am using ASP.NET Core, Angular and the version is 7.2.0 and trying to troubleshoot perfroamce issue while laoding application homepage. As shown in screenshot below the call which is slowest is ABPConfiguration/getAll. The site is still in beta and we are testing it.

I couldn't find much about this call from ApplicationService.Doesn't looks like DB call is slow from Applciation Insights which is Applciation Monitoring Engine in Azure.I do have knowledge in SQL and .NET perfromance tuning but looking for help on what does GetAll method does during the first hit.

Almost similar case reported here but nothing concrete appears as resolution https://support.aspnetzero.com/QA/Questions/7566 In my case its API call which is slow and have enogh traces to conclude that. Wondering if anything I can collect to know where exactly in GetAll its slow.

Any pointers on what should I be looking and if any other customers have reported this kind of issue.

Thank a lot for the help in advance.

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

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 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.

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.

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

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.

Showing 21 to 30 of 32 entries