Ticket T745988
Visible to All Users

XAF - Non XAF Web Application with XAF backend

created 6 years ago

Dear Sir / Madam,

We have a XAF Project as follows:-
- ORM : XPO
- Authentication : Standard
- XAF: Win & Web
  - Win
    - Database security : Middle Tier Security - WCF Service
  - Web
- Extra Module : Audit Trail, Notifications, Scheduler, Validation, Workflow

And now, we want to create a new Responsive Web Application, we want to reuse the same XPO & Business Logic in the XAF Project :-

  1. How can we retrieve / manipulate the data in the XAF Win Project via WCF Service in my new Web Application?
  2. How can we retrieve / manipulate the data same as XAF Web in my new Web Application?
  3. Could we retrieve / manipulate the data via the XPO via Web API?

Most likely, we want to preserve the Audit Trail, Security, Validation, . . .  defined in XAF Project in our new Web Application.

Thanks,
Gary

Answers approved by DevExpress Support

created 3 years ago

Hello Gary,

we want to create a new Responsive Web Application, we want to reuse the same XPO & Business Logic in the XAF Project

Our new Web API backend service (Swagger: OpenAPI) allows you to reuse XAF application data, logic, and modules within non-XAF apps. This service can be hosted as part of a Blazor Server project or as a standalone ASP.NET Core project: Documentation. I hope it meets your needs.
Please let us know what you think.

Thanks,
Vladimir

    created 6 years ago

    Hello Gary,

    At the moment, XAF modules are primarily designed for use within XAF apps only. We have a few examples on how to use XAF functions in non-XAF apps, but these are rather exceptions for now:
        Concepts > Data Manipulation and Business Logic > Access XAF Application Data in a non-XAF Application (should answer #2)
        Task-Based Help > How to: Use the Integrated Mode of the Security System in Non-XAF Applications
        Task-Based Help > How to: Connect to the WCF Application Server from Non-XAF Applications (should answer #1)
        Task-Based Help > How to: Use XAF Reports in a non-XAF Application
        How to reuse XAF Audit Trail module functionality in a non-XAF ASP.NET application
        Rule validation and non-XAF application
        https://github.com/DevExpress-Examples/XPO_how-to-implement-odata4-service-with-xpohttps://github.com/DevExpress-Examples/xpo-json-serialization  and Non-XAF security system in multithread (multiuser) application (OData web) (should answer #3)
        How to reuse XAF Views and other standard module functionality in non-XAF apps, forms or controls

    It is possible that we will have more learning materials in this regard, because according to our 2019 roadmap, we planned some work in this regard for v19.2.

    In general, you can use standard XPO approaches for these platforms and technologies. It is possible that our new XPO tutorials will help you get started as well:  https://github.com/DevExpress/XPO/tree/master/Tutorials. Let me know in case of any questions.

      Comments (1)
      Andrey K (DevExpress Support) 5 years ago

        Hello,
         
        We’re doing our best to explain the XAF security system and how it can be used in non-XAF .NET apps powered by XPO.
        Please check our new WinForms CRUD demo and tutorial and updated Console and ASP.NET Core Web API/OData v4 + DevExtreme non-XAF apps.
         
        Thanks,
        Andrey

        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.