博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
应用 XAF 开发移动手机应用
阅读量:4948 次
发布时间:2019-06-11

本文共 2215 字,大约阅读时间需要 7 分钟。

应用 XAF 开发移动手机应用:
 1、 

     

2、客户端 Decide what you would use for the client UI part,  e.g. , ,  or other tools.

For instance, the documentation for creating and customizing mobile apps with DevExtreme is available here:  

2、服务器端 

     

     
     

3、登录验证、权限: Implement authentication, authorization and other business logic in your client and server applications.

See the following help links for more details:
     
     >  >  > 
     
     
    
     

 4、Q: How is the backend application service built?

A: The new XAF mobile application project automatically created from  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 is 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 security and execute actions. Technically, it is a regular OData service () based on  , XPO being the only currently supported ORM (Entity Framework support is coming later).  
    3. MetadataService (MetadataService.svc) - this service supplies mobile application configuration data to a separate device simulator service.   

    4. Simulator (Index.html and player.html) - technically this is a web page that 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 browser. This player script also gets redistributed to the actual mobile device when a native package is installed. The simulator is automatically opened in the web browser when you make a YourSolutionName.Mobile project as startup in Solution Explorer and start debugging (F5). Note that currently this simulator downloads some resources from Azure and thus requires Internet connection. 

NOTE: Starting with v16.1.6+, the Simulator files were removed from the mobile project. All the resources are obtained from an assembly automatically and there is also an HTTP handler that handles a virtual URL like  in the web browser.

 

 

转载于:https://www.cnblogs.com/hopesun/p/7189728.html

你可能感兴趣的文章
使用axel下载百度云文件
查看>>
Qt中图像的显示与基本操作
查看>>
详解软件工程之软件测试
查看>>
WCF(二) 使用配置文件实现WCF应用程序
查看>>
【CodeForces 803 C】Maximal GCD(GCD+思维)
查看>>
python 去掉换行符或者改为其他方式结尾的方法(end='')
查看>>
数据模型(LP32 ILP32 LP64 LLP64 ILP64 )
查看>>
REST构架风格介绍:状态表述转移
查看>>
struct {0}初始化
查看>>
c++ operator
查看>>
apache 添加 ssl_module
查看>>
java小技巧
查看>>
POJ 3204 Ikki's Story I - Road Reconstruction
查看>>
getQueryString
查看>>
Servlet文件上传和下载的复习
查看>>
JavaScript笔记——正则表达式
查看>>
iOS PushMebaby
查看>>
网页消息类
查看>>
【BZOJ】2959: 长跑(lct+缩点)(暂时弃坑)
查看>>
日常一些出现bug的问题
查看>>