Activities of "maliming"

If you have any questions, you can write here.

I think the problem is async void

https://learn.microsoft.com/en-us/archive/msdn-magazine/2013/march/async-await-best-practices-in-asynchronous-programming#avoid-async-void

You can try call _dashboardAppService.CreateAsync by AsyncHelper.RunSync(() => _dashboardAppService.CreateAsync);

hi

This seems Ocelot problem. cannot be solved in the short term.

https://github.com/ThreeMammals/Ocelot/issues/695

how to avoid CORS from Angular when trying to access directly to the main microservice

You can configure the CORS on the main microservice.

App: CorsOrigins

You just need to follow the official documentation of signalr.

https://www.npmjs.com/package/@microsoft/signalr?activeTab=readme

Please share a simple project to reproduce the problem.

hi

will error happen if you call API from swagger?

hi

Can you share the simple project? liming.ma@volosoft.com I will test it on my locally.

hi

You can get tokens from HttpContext in Web project, await httpContext.GetTokenAsync("access_token");

The HttpApi project will get token from HTTP request. bearer token

The Auth project is the issue and validates the token.

So string bearerToken = Request.Headers[HeaderNames.Authorization].ToString() is the right way to get token in HttpApi project

Yes, I use the latest code.

The operation was canceled

Please share the relevant logs of the API and web projects. This situation is usually caused by the browser canceling the http request.

What about info logs?

Please share the context logs when SignalR tries to connect.

hi

Are there any errors on the backend app?

Showing 8171 to 8180 of 11550 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.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.