Activities of "maliming"

hi

You need to change the log level of your website(https://pcassist-testing.premiumasp.net/).

Postman is just used to send HTTP requests (API/app/book).

We need the logs.txt of your website.

Answer

hi

Try to set Layout to null of your partial view.

@{
    Layout = null;
    PageLayout.Content.Title = L["Wizard Steps"].Value;
    PageLayout.Content.MenuItemName = HorizonERPMenus.MainWizard;
}

Set log level in your c# application.

Program.cs file.

hi

  1. Enable debug log level
  2. Make the api/app/book in your Postman with your access token.
  3. Share the logs.txt file with liming.ma@volosoft.com

.MinimumLevel.Debug()

loggerConfiguration
    .MinimumLevel.Debug()
    .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
    .Enrich.FromLogContext()
    .WriteTo.Async(c => c.File("Logs/logs.txt"))
    .WriteTo.Async(c => c.Console())
    .WriteTo.Async(c => c.AbpStudio(services));

hi

Please share your project type.

  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no

Great : )

hi

Please share full debug logs of this request(made by postman).

https://pcassist-testing.premiumasp.net/api/app/book

liming.ma@volosoft.com

Thanks.

hi

  1. see 3.2

  2. Cors will check if the request header contains Origin etc..

Check the logic of CorsMiddleware

https://github.com/dotnet/aspnetcore/blob/release/9.0/src/Middleware/CORS/src/Infrastructure/CorsMiddleware.cs#L107-L110 https://github.com/dotnet/aspnetcore/blob/release/9.0/src/Middleware/CORS/src/Infrastructure/CorsMiddleware.cs#L112-L157 https://learn.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-9.0

3.1 You can call _cache.GetOrAddAsync.

3.2 If there is no domains, you can return Task.FromResult<CorsPolicy?>(null);

https://github.com/dotnet/aspnetcore/blob/release/9.0/src/Middleware/CORS/src/Infrastructure/DefaultCorsPolicyProvider.cs#L12

hi

after checking server logs I found the below:

Please remove all Cookies from your HTTP request.

The anti-forgery will check if the current request contains the XSRF-TOKEN cookie.

https://abp.io/docs/latest/framework/infrastructure/csrf-anti-forgery

hi

You can configure the connection to specify DbContext.

For your case you need to change the connection string for IIdentityProDbContext(IIdentityDbContext)

https://abp.io/docs/latest/framework/fundamentals/connection-strings

Showing 4071 to 4080 of 12921 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.