ASP.Net

    1. Installation of iPFaces client to your mobile device

    1. on iPhone/iPod/iPad: Find the “iPFaces Client” application in AppStore, install it in standard way and confirm default application address upon first start.
    2. or on Android: Find the “iPFaces Client” application in Android Market, install it in standard way and you may start it.
    3. or on BlackBerry: install iPFaces client application OTA - enter this address on your device: http://ipfaces.org/ipfbb.jad and let it install. Then confirm default application location upon first start.
    4. or on phone with mobile Java: install iPFaces client application OTA - enter this address on your device: http://ipfaces.org/ipfj2me.jad and let it install. Then confirm default application location upon first start.

    2. Download and install iPFaces support into your Visual Studio

    1. Go to Get It Now section, download ASP.Net distribution and run “iPFacesNETSetup.msi" installer.
    2. Launch the installer and finish the installation

    3. Create a simple “Hello World” application

    1. Open the VisualStudio and create a new project of the “iPFaces.NET Application Project“ type.
    2. Following files will be created automatically:
      “Default.aspx“ file:

      <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="HelloWorld._Default" %>
      <%@ Register Assembly="iPFaces.NET" Namespace="Org.IPFaces.Net.Controls" TagPrefix="ipf" %>
      <ipf:Form ID="form1" runat="server">
      <ipf:Screen ID="screen1" runat="server" Title="Hello World Application">
      <ipf:Label ID="label1" runat="server" Text="Hello World!" />
      </ipf:Screen>
      </ipf:Form>

      “Default.aspx.cs“ file:

      namespace HelloWorld
      {
          public partial class _Default : Org.IPFaces.Net.Pages.Page
          {
              protected void Page_Load(object sender, EventArgs e)
              {
              }
          }
      }

    3. Recompile and deploy the “Hello World” application to your IIS test server in a standard way.

    4. Launching the “Hello World!“ application on your mobile device

    1. on iPhone: open iPhone settings and enter your application url in iPFaces settings item. Then launch your first iPFaces application!
    2. on Android: open Android settings and enter your application url in iPFaces settings item. Then launch your first iPFaces application!
      Hello world
    3. on BlackBerry: launch application and set your application url in iPFaces settings menu. You are all set and should see your fist iPFaces application!
    4. on phone with Java: launch application and set your application url in iPFaces settings menu. You are all set and should see your fist iPFaces application!
See also: