Base solution for your next web application
Open Closed

DevExpress Dashboard issues #12368


User avatar
0
DanielNikolic created

We're experiencing an issue with DevExpress Dashboards in combination with Asp.net Zero.
Ofcourse we've contacted DevExpress Support desk (multiple times) but we're now at the end of our support scope.

DevExpress final answers were in the area of, "we don't support Asp.net Zero."

Now we're writing you, hoping you could assist us in this matter.

Description:
We're using DevExpress Dashboard Endpoint and dashboard component in Asp.Net Zero (Angular).
The dashboard functions on its own, and calls the API endpoint specified in the angular frontend.
The backend, configured through startup.cs, is configured to listen to /api/dashboard endpoints, and a connection is made.
So far so good! Most of the time this works beautifully..

The problem:
While this works most of the time, sometimes we're seeing an issue that the charts inside DevExpress dashboard are being retrieved at the backend, but then, it returns an error in one or more of the charts.
In more detail:
The request from the dashboard frontend (which is send to the backend api/dashboard endpoint) contains a body with JSON.
We've noticed that the issue is caused when the tag itemId: "" (string empty), so it fails when no itemId is requested, which turns out to be name of the chart inside the dashboard. (for instance: chartDashboardItem1)
So whenever the json request contains itemId with a valid name, the call succeeds.. but when the property is an empty string; it fails. because the backend requires an itemid, and then returns an exception.
This problems occurs randomly..

At first we thought this could be the work of an interceptor.. but as we've tested this out, we've let to believe there's no interceptor at work on the calls from the dashboard.
The question we're asking is, do you have any idea or tips (we can check out) to see why sometimes the backend retrieves an incomplete request.

This only happens inside an Asp.net Zero project! (tested and proven)
We cannot reproduce this issue outside an asp.net Zero project..

We've got 2 solutions running in ASP net Zero, and both use the dashboard.. Both environments show the same issue..


2 Answer(s)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @DanielNikolic

    Have you integrated DevExpress Dashboard using any of these documents (document, blog post )? If you have done the integration process without using this, I would ask you to check these documents. If your problem still persists, can you share your project with us so that we can reproduce the problem. You can share your project and the steps to reproduce the problem with us at support@aspnetzero.com.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @DanielNikolic

    Did you solve this issue ? As far as I can see, client side directly calls the DevExpress controller.
    I have tried several things like increasing the request body size and running the project with kestrel but both didn't help.

    Did you report this to DevExpress ?