Apply XAF to develop mobile phone applications

Source: Internet
Author: User

Apply XAF to develop mobile phone applications: 1, how to create a native mobile or lightweight Web client UI based on the existing XAF application Datab ASE, data model and logic?

https://www.devexpress.com/Support/Center/Question/Details/T227196/ How-to-create-a-native-mobile-or-lightweight-web-client-ui-based-on-the-existing-xaf

2, client Decide What do you would use for the client UI part, e.g. Devextreme, Xamarin, dataexplorer or other tools.

For instance, the documentation for creating and customizing mobile apps with Devextreme are available Here:http://js.deve xpress.com/documentation/overview/

2. Server-side

    express Persistent Objects > Design-time Features > OData Service wizard 
  &nbs P; how do I create OData V4 endpoint using ASP. XPO data model? 
    creat E an OData v4 Endpoint Using ASP. 2.2 + Entity framework 

3, login authentication, permissions:  implement authentication, authorization and other business logic in your client and server Applic Ations.
See the following help links for more details:
    login page-how to implement application SE Curity with devextreme 
    expressapp framework > concepts >  Data manipulation and business logic > access XAF application Data in a NON-XAF application
   & Nbsp;expressapp Framework > Task-based Help > What to:use the Integrated Mode of the Security System in Non-xaf Appl ications 
    tutorial:web app with a multi-tenant database using Entity Framework and Row-level S ecurity 
    access the Security System in Code
    how to deploy the OData Security Service in the Cloud for further use by a mobile devextreme client 

4.Q: What is the backend application service built?

A: The new XAF mobile application project automatically created from the XAF solution Wizard in Visual Studio contains three Main classes:

    1.Yoursolutionnamedataservicemobileapplication (MobileApplication.cs)-This class derives from the new mobileapplication Class similarly to winapplication or webapplication in appropriate platforms. An instance of Yoursolutionnamedataservicemobileapplication are created for each request from the client application.
    2.DataService (DATASERVICE.SVC)-This is the backend service for mobile applications used to serve requests, manage Securit Y and execute actions. Technically, it is a regular OData service (WCF Data Services 5.0) based on XPO OData V3 provider, XPO being the only cur rently supported ORM (Entity Framework support is coming later).
    3.MetadataService (METADATASERVICE.SVC)-This service supplies mobile application configuration data to a separate device s Imulator service.

     4.  simulator (index.html and player.html)-technically this is a Web page, contains a client "player" script that Queries the aforementioned backend data and UI metadata services and generates the actual HTML5/JS UI inside the web brows Er. This player script also gets redistributed to the actual mobile device when a native package is installed. the Simula Tor is automatically opened in the Web browser if you do a yoursolutionname.mobile project as startup in solution Expl Orer and start Debugging (F5).  note that currently the simulator downloads some resources from Azure and thus Requir Es Internet connection. 

Note: Starting with v16.1.6+, the Simulator files were removed from the mobile project. All the resources were obtained from an assembly automatically and there was also an HTTP handler that handles a virtual URL Like http://localhost:51985/Static/16.1.6.0/Index.html in the Web browser.

Apply XAF to develop mobile phone applications

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.