Attività di "maliming"

You can try to specify the binding source for the parameter.

[FromQuery] - Gets values from the query string.
[FromRoute] - Gets values from route data.
[FromForm] - Gets values from posted form fields.
[FromBody] - Gets values from the request body.
[FromHeader] - Gets values from HTTP headers.

SaveReportContentAsync([FromQuery]GeneratedReport_Id Id, [FromBody]byte[] ReportContent)

https://docs.microsoft.com/en-us/aspnet/core/mvc/models/model-binding?view=aspnetcore-5.0#sources

If it still doesn't work, maybe you can share a simple project to me. liming.ma@volosoft.com

hi

We will release 4.2 patch as soon as possible.

https://github.com/abpframework/abp/pull/7509

hi

We have a sample to show how to expand localization.

https://github.com/abpframework/abp-samples/tree/master/DocumentationSamples/ExtendLocalizationResource

If you still can't solve the problem, you can share a project that reproduces the problem. You can use the CLI to create a free template project.

liming.ma@volosoft.com

You should run the Volo.EasyCrm.Web project.

I don't know your specific code, maybe you can trigger an event after each component is loaded, and unblock the UI when all events are triggered.

hi

This is expected. Because we used HttpContext.RequestAborted.

This exception will appear on the backend after the front-end application cancels the request.

https://andrewlock.net/using-cancellationtokens-in-asp-net-core-mvc-controllers/

eg:

Can you check the error requests in the browser and backend error logs?

I guess it might be an error that the request was aborted.

Does https://localhost:44338 up and running??

hi Gary

Can you share a simple project? You can create by CLI.

hi

Only one complex type allowed as argument to a controller action that's binding source is 'Body'. But SaveReportContentAsync (api/app/generatedreport/{id}) contains more than one!

Can you share the source code of SaveReportContentAsync?

What specific use case do you want to implement?

6551 - 6560 di 6852
Made with ❤️ on ABP v8.2.0-preview Updated on marzo 25, 2024, 15:11