Base solution for your next web application

Activities of "mmukkara"

we tried to implement the solution and angular application hangs..doesn't allow to go further. We are still getting this issue

Thank you for the help. We reviewed the documentation but it does say how it works but doesn't say how to setup the client and server. Do you have any example projects? Can angular app settings appBaseURL takes multiple domain names? How to set it up both ?

Version: Angular (13.4)

We would like to route to different landing pages based on the URL (before user login). Currently we have 2 tenant and a host. Application instance is same for all. HOSTdomain.com - should resolve tenant id = null and based on that we can route it to host landing page TENANT1.com - should resolve tenant id = 2 based on domain name and that will be routed to tenant landing page provider.TENANT2.com - should resolve tenant id = 3 based on domain name and that will be routed to tenant landing page

How can we set up appBaseUrl in the angular front end to define multiple urls like above.

Please note: User is not logged in and we need to do different branding for each tenant landing page.

Appreciate for your quick reply with sample.

Thank you!

Will try with PR. Too big of the project to share in [email protected]. The issue is its very random. It may take 1 min to produce or 2 hours to re-appear.

Hi @oguzhanagir,

Database connection is fine (see below). No issue. Everything works fine, just randomly we get the above issue. and when we click on "Try again" or click on back button, it works normally and randomly pops up. This issue is happening in IIS and in development mode.

"ConnectionStrings": { "Default": "Server=localhost; Database=JasperDb; Trusted_Connection=True; TrustServerCertificate=True; Encrypt=False;" },

App Version: 13.4 (Angular)

We keep getting this below error in the log and and "could-not-connect-server" page shows up all the time. If I refresh to http://localhost:4200/...When I click on try again, it works. This is happening in development mode and also in production mode.

2024-12-01 13:34:08.172 -05:00 [INF] Request starting HTTP/1.1 GET https://localhost:44301/health - - - -- [Microsoft.AspNetCore.Hosting.Diagnostics] 2024-12-01 13:34:08.179 -05:00 [INF] Received HTTP response headers after 10.729ms - 200 -- [System.Net.Http.HttpClient.health-checks.ClientHandler] 2024-12-01 13:34:08.179 -05:00 [INF] Request finished HTTP/1.1 GET https://localhost:44301/health - 200 - application/json 9.3078ms -- [Microsoft.AspNetCore.Hosting.Diagnostics] 2024-12-01 13:34:08.179 -05:00 [INF] End processing HTTP request after 10.9461ms - 200 -- [System.Net.Http.HttpClient.health-checks.LogicalHandler] 2024-12-01 13:34:08.179 -05:00 [INF] Saved 4 entities to in-memory store. -- [Microsoft.EntityFrameworkCore.Update] 2024-12-01 13:34:12.868 -05:00 [INF] Request starting HTTP/2 OPTIONS https://localhost:44301/health?d=1733078052860 - - - -- [Microsoft.AspNetCore.Hosting.Diagnostics] 2024-12-01 13:34:12.868 -05:00 [INF] CORS policy execution successful. -- [Microsoft.AspNetCore.Cors.Infrastructure.CorsService] 2024-12-01 13:34:12.869 -05:00 [INF] Request finished HTTP/2 OPTIONS https://localhost:44301/health?d=1733078052860 - 204 - - 0.8441ms -- [Microsoft.AspNetCore.Hosting.Diagnostics] 2024-12-01 13:34:12.870 -05:00 [INF] Request starting HTTP/2 GET https://localhost:44301/health?d=1733078052860 - application/json - -- [Microsoft.AspNetCore.Hosting.Diagnostics] 2024-12-01 13:34:12.871 -05:00 [INF] CORS policy execution successful. -- [Microsoft.AspNetCore.Cors.Infrastructure.CorsService]

2024-12-01 13:34:12.925 -05:00 [ERR] Health check Database Connection with status Unhealthy completed after 49.937ms with message 'JasperDbContext could not connect to database' -- [Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService]

2024-12-01 13:34:12.926 -05:00 [INF] Request finished HTTP/2 GET https://localhost:44301/health?d=1733078052860 - 503 - application/json 55.8047ms -- [Microsoft.AspNetCore.Hosting.Diagnostics] 2024-12-01 13:34:18.184 -05:00 [INF] Start processing HTTP request GET https://localhost:44301/health -- [System.Net.Http.HttpClient.health-checks.LogicalHandler] 2024-12-01 13:34:18.184 -05:00 [INF] Sending HTTP request GET https://localhost:44301/health -- [System.Net.Http.HttpClient.health-checks.ClientHandler] 2024-12-01 13:34:18.187 -05:00 [INF] Request starting HTTP/1.1 GET https://localhost:44301/health - - - -- [Microsoft.AspNetCore.Hosting.Diagnostics] 2024-12-01 13:34:18.196 -05:00 [INF] Request finished HTTP/1.1 GET https://localhost:44301/health - 200 - application/json 9.2629ms -- [Microsoft.AspNetCore.Hosting.Diagnostics] 2024-12-01 13:34:18.196 -05:00 [INF] Received HTTP response headers after 12.0347ms - 200 -- [System.Net.Http.HttpClient.health-checks.ClientHandler] 2024-12-01 13:34:18.196 -05:00 [INF] End processing HTTP request after 12.3581ms - 200 -- [System.Net.Http.HttpClient.health-checks.LogicalHandler] 2024-12-01 13:34:18.197 -05:00 [INF] Saved 4 entities to in-memory store. -- [Microsoft.EntityFrameworkCore.Update] 2024-12-01 13:34:28.199 -05:00 [INF] Start processing HTTP request GET https://localhost:44301/health -- [System.Net.Http.HttpClient.health-checks.LogicalHandler] 2024-12-01 13:34:28.199 -05:00 [INF] Sending HTTP request GET https://localhost:44301/health -- [System.Net.Http.HttpClient.health-checks.ClientHandler] 2024-12-01 13:34:28.203 -05:00 [INF] Request starting HTTP/1.1 GET https://localhost:44301/health - - - -- [Microsoft.AspNetCore.Hosting.Diagnostics] 2024-12-01 13:34:28.211 -05:00 [INF] Received HTTP response headers after 11.7903ms - 200 -- [System.Net.Http.HttpClient.health-checks.ClientHandler] 2024-12-01 13:34:28.211 -05:00 [INF] Request finished HTTP/1.1 GET https://localhost:44301/health - 200 - application/json 8.2156ms -- [Microsoft.AspNetCore.Hosting.Diagnostics] 2024-12-01 13:34:28.211 -05:00 [INF] End processing HTTP request after 12.1065ms - 200 -- [System.Net.Http.HttpClient.health-checks.LogicalHandler] 2024-12-01 13:34:28.211 -05:00 [INF] Saved 4 entities to in-memory store. -- [Microsoft.EntityFrameworkCore.Update]

Even if we set false in the appsettings.json for health check..its still an issue "HealthChecks": { "HealthChecksEnabled": true, "HealthChecksUI": { "HealthChecksUIEnabled": true, "HealthChecks": [ { "Name": "InsureIT.Jasper.Web.Host", "Uri": "https://localhost:44301/health" } ], "EvaluationTimeInSeconds": 10, "MinimumSecondsBetweenFailureNotifications": 60 } },

it fails at
using (var uow = _unitOfWorkManager.Begin())

How do we fix this. Its impacting user experience.

Please note, we are not using redis and its not installed.

We have the same issue in angular. following.

Question

Hi,

Refresh command provided as part for ASPNETZero application for Angular application generate proxy in .ts file. I would like to generate the API proxy for C# client application. Is there any way to to do this?

Thanks for your help

Thank you for your response. I know about these themes, but they are not full screen. They leave spaces on the right and left side of the screen. I need to make the theme full screen and move logo and menu items on the top of the screen.

Is there a way to move left side menu bar to the top of the screen along with logo? If not, I am looking for a theme with full screen with top menu bar. Do you have any Metronic theme recommendation? Thanks for your help.

Showing 1 to 10 of 82 entries