Hi,
product version = 9.0.1 product type = Angular product framework type = .net core 3.1
The site can take +30s to load, login actions can take upwards to 20 seconds to happen. Navigating around the site can also take 20-30s. Other times it will be quick, it is inconsistent.
I notice this more because I'm writing UI automated tests (which are not load tests and run one at a time). When the UI test is slow, interacting with the site in a separate session also is slow.... so not related to the testing.
Actions performed which don't have an API dependency seem to be fast when the general interaction with the site is slow. So perhaps related to API/DB.
Looking in Azure insights, slow performance results from API comms do appear to backup what I'm seeing as pictured below. Looking at SQL performance for the same time period, we're hardly utilising the DTUs.
Insights on API performance for staging
Thanks
Hi,
product version = 9.0.1 product type = Angular product framework type = .net core 3.1
SecurityTokenExpiredException reported in Azure
Reviewing SQL activity, the DTU utilization is low
Reviewing application insights in Azure for the web app there are frequent exceptions raised around SecurityTokenExpiredException.
Digging into the transaction detail for one example, a 12.7 delay was caused by this exception consuming /api/TokenAuth/Authenticate
Simply refreshing the login page is one example where the exception is raised. timings can vary.
Logs: Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime (Microsoft.IdentityModel.Tokens, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime (System.IdentityModel.Tokens.Jwt, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload (System.IdentityModel.Tokens.Jwt, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken (System.IdentityModel.Tokens.Jwt, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at SSD.Web.Authentication.JwtBearer.SSDJwtSecurityTokenHandler.ValidateToken (SSD.Web.Core, Version=9.0.1.0, Culture=neutral, PublicKeyToken=null: D:\a\1\s\SSD\aspnet-core\src\SSD.Web.Core\Authentication\JwtBearer\SSDJwtSecurityTokenHandler.cs:42) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler+<HandleAuthenticateAsync>d__6.MoveNext (Microsoft.AspNetCore.Authentication.JwtBearer, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
Thanks
Hi, I am getting cors origin issue with following urls. https://api.giphy.com/v1/gifs https://g.tenor.com/v1 Thanks
Hi,
product version = 9.0.1 product type = Angular product framework type = .net core 3.1
Set the 2FA timeout to 900 secs (15 mins) like that
export class ValidateTwoFactorCodeComponent extends AppComponentBase implements CanActivate, OnInit, OnDestroy { recaptchaSiteKey: string = AppConsts.recaptchaSiteKey; code: string; submitting = false; **remainingSeconds = 900;**
Log in to a user account where the 2FA is enabled for a user Select Email for activation code to be received Submit the activation code after 120 secs (when the time remaining displays <780 secs )
Please let me know how can I achive that.
Thanks
Hi,
product version = 9.0.1 product type = Angular product framework type = .net core 3.1
I want to send a notification to an extirnal WPF Application using signalR of .net zero project server side. Please let me know how can I achive that.
Thanks
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Hi, We are using Asp.net Core's Angular + .net core solution with above mentioned version for a multi tenant SaaS application. Currently, our customers login to their tenant using a tenant specific URL i.e. If the tenant name is "taritas" customer can login with a specific URL for them => taritas.anywhereapp.io
Now, we would like to offer white labeling to our customers where they can access & use their tenant on their own domain. For ex. projects.mydomain.com
Could you please point us to some tutorials on how we can achieve this?
Our backend solution is hosted on Azure App Services.
Please let us know if you need any more details.
Thanks
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
product version = 6.3.0 product type = Angular product framework = NET 5
Hi. I am trying to implement Oauth authentication in one the 3rd party application using indetity server. I have configured all the thing and it working as expected but if I am not using that 3rd party application my authentication token has been expired in 3600 sec. I want to implemnt the refresh token in that application so that I am not facing any issue.
Then token enpoint = /connect/token Identinty server setting in appsetting.json refresh token endpoint = /api/TokenAuth/RefreshToken
is there any thing else I need to configure for getting refresh token Please help me with the same
Thanks,
Hi, PWA - beforeinstallprompt event not calling. I created tested with separted angular demo app with same angular version (11). In demo, I am getting beforeinstallprompt event successfully but not in asp.net zero project. Please help. what's wrong with asp.net zero.
I am using this code in default-layout.component.ts file.
@HostListener('window:beforeinstallprompt', ['$event'])
onbeforeinstallprompt(event: any) {
console.log('👍', 'beforeinstallprompt', event);
}
Prerequisites What is your product version? - v10.3.0 What is your product type (Angular or MVC)? - Angular What is product framework type (.net framework or .net core)? - .NET 5.0 ABP Framework What is ABP Framework version? - 6.3.0
Trying to enable identity server but it give an error when login swagger after published Prev when I use v9 same issue with localhost that time also session user is null after login but after latest update same issue facing after publish locally working fine.
Prev ticket - https://support.aspnetzero.com/QA/Questions/10275/Identity-Server-4-Integration---testing-with-MVC-Client
Can't share code can you please shedule call for fixing the issue.
Thanks in advance
Prerequisites What is your product version? - v10.3.0 What is your product type (Angular or MVC)? - Angular What is product framework type (.net framework or .net core)? - .NET 5.0 ABP Framework What is ABP Framework version? - 6.3.0
Hello, for some reason my project name is change so I want to rename Entire project name can it posible?
Thanks in an advance