Activities of "LiSong"

Answer

ok. thx

Answer

I don't see the code in the whole solution, I've actually searched for 'ConfigureCors' in the entire solution but found 0 matches, do I need to add the configurecors function myself? I want to clarify this to make sure I don't override anything underlying that might compromise security. thanks

Answer

sorry, I am using a layered application and non-Tiered, I was confused by layered and tiered. do you mind also checking the layered application for me. thanks

Answer

yes, it's a CORS error, I ran this command: curl -i -X OPTIONS https://localhost:44381/api/app/ethnicities -H 'Origin: http://localhost:5173' -H 'Access-Control-Request-Method: GET'

and got C:\Users\songh>curl -i -X OPTIONS https://localhost:44381/api/app/ethnicities -H "Origin: http://localhost:5173" -H "Access-Control-Request-Method: GET" HTTP/1.1 405 Method Not Allowed Transfer-Encoding: chunked Allow: GET, HEAD, POST Server: Microsoft-IIS/10.0 X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block X-Frame-Options: SAMEORIGIN X-Correlation-Id: 3880f62679854d47a73e1b5cff09a43c X-SourceFiles: =?UTF-8?B?RDpcZ2l0XHRhcHAtOVxzcmNcVGFwcC5XZWJcYXBpXGFwcFxldGhuaWNpdGllcw==?= Date: Tue, 08 Apr 2025 23:14:45 GMT

Question

the default configuration in my project is { "App": { "SelfUrl": "https://localhost:44381", "DisablePII": false, "HealthCheckUrl": "/health-status" },

I wanted to add CorsOrigins because we've created a React project and wanted to use some of the API endpoints of the abp project.

I changed the settings to

{ "App": { "SelfUrl": "https://localhost:44381", "CorsOrigins": "http://localhost:5173", -- this is the react project "DisablePII": false, "HealthCheckUrl": "/health-status", },

however, it didn't work. what else should I do?

We want to use the host admin to manage all tenant data, for example, each tenant has their users, surveys and survey answers from users, the tenant admins can manage these data; we want to enable the host admin to manage all users, surveys, survey answers from the host site Is there a recommended way to implement this with ABP? We could implement it by writing our own data repositories, but it feels like there might be an easier way.

Answer

I have just sent you an email. thx

How did it suddenly stop working? We had a functional 9.1.0 build that was working without errors.

This is a serious / important question. I had a fully deployed system that stopped working due to this issue.
The system has a requirement to have high availability.

My customer will not accept this type of architecture whereby the site availability is dependent on a third party.

@ABP - Do you agree? Do you think a chance is required here?

We understand that sometimes issues are inevitable. We would just like to know what we can do on our side to prevent future impacts. We're using Azure App Service; would backing up the previous environment and then swapping allow us to recover on our side even if the ABP NuGet server becomes unreachable? it's very important for us to keep our site available for our customers. thanks!

We understand that sometimes issues are inevitable. We would just like to know what we can do on our side to prevent future impacts. We're using Azure App Service; for example, would backing up the previous environment and then swapping allow us to recover on our side even if the ABP NuGet server becomes unreachable? it's very important for us to keep our site available for our customers. thanks!

hi, thanks, this is urgent because the site went down.

Showing 1 to 10 of 81 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13