Ticket T990364
Visible to All Users

gRPC with DevExpress list controls

created 4 years ago (modified 4 years ago)

[DevExpress Support Team: CLONED FROM T942785: DataGrid for Blazor - How to use the gRPC service with the CustomData property]
Hello DevExpress,
It will be great to get some your feedback or thoughts regarding my comment above.
May be it is better to create distinct ticket regarding possibility to implement web service method, which could be used to get data for any your list controls (Desktop or Web) in "server/virtual" mode using gRPC?
Thank you.

Show previous comments (1)
KB KB
Konstantin Balashov 4 years ago

    Hello, Dennis
    Its not a big issue to implement GetOrders method using VirtualServerModeSource (with limitation- data grouping is not supported). The issue is that we have to implement same method twice - one for desktop application and another for web application. Because your desktop and web list controls are using different approaches to get data in "Virtual or Server" mode.
    Your "Data access" layer has to be unified for both platforms.
    Why it is not possible to implement DevExtreme.AspNet.Data.DataSourceLoadOptions support for desktop lists in the same way is it is done for web lists?

    Dennis Garavsky (DevExpress) 4 years ago

      I believe everything is possible if one has a goal:-)

      The issue is that data access is one of the many things that are done differently when developers implement apps for different UI platforms. We follow the goal of minimizing UI platform and control differences for developers in our cross-platform .NET app UI framework - XAF. It takes care of many development aspects from the data source to UI.

      Frankly speaking, we have not considered a similar unification in the form of another product or library, though I shared your idea with our grid developers for other platforms.

      KB KB
      Konstantin Balashov 4 years ago

        Hello Denis,

        Frankly speaking, we have not considered a similar unification in the form of another product or library,

        Nowadays, most any enterprise application (I believe your primary customers ) has desktop, web and mobile UI client.
        We, as developers, would like to implement one backend API, used by any UI client.
        But we are not able to do that for lists in "Server\Virtual" mode, as you have different approaches on different platforms how controls request next portion of data.
        More over, I don not see really big issues in the implementation. Just adopt DevExtreme.AspNet.Data.DataSourceLoadOptions to be used in WinForms and WPF lists. DevExtreme.AspNet.Data.DataSourceLoadOptions could be a replacement for VirtualServerModeSource as it contains all necessary information about what data is requested by list control.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.