Generating an ASP.NET Application for Mobile Devices

The following steps lead you through the process for generating and deploying an ASP.NET application for use with a Mobile Browser.

  1. Make a decision on how the mobile specific forms are organized:

    • Integrated with the Desktop forms in a single application. In this case, you might have different ispecs catering for mobile forms, and they can be generated as a separate application bundle.

    • Designed as different presentations in a separate language (translation). This allows both the desktop specific forms and the mobile forms to share the same ispec logic.

  2. Using AB Suite Painter, design your presentations to suit the screen size of the mobile device you are targeting. For mobile browsers that do not support absolute positioning, remember to set the FormLayout property to "flow", to ensure that the controls are generated in the correct order in the ASP.NET Web Form.

  3. Generate the forms using the ASP.NET Generator in the same way that you would generate a standard ASP.NET application.

  4. Configure and deploy the generated ASP.NET application containing the mobile specific forms in the same way as a standard ASP.NET application. The only difference in the configuration properties is whether you have setup a different language for the mobile forms. In that case, setup the "MobileLanguage" flag in Web.config to specify the name of the translation that was defined in AB Suite System Modeler.

  5. Once the application is deployed, it can be accessed by entering the URL in the Mobile Browser, using either a physical device or an emulator.