Classes

  Class Description
Public class ClientIdsSection
Controls how css and javascript includes are handled.
Public class CompressionSection
Configuration settings for the compression
Public class CryptoSection

Attributes contained in this element control the Cypto library of the Framework.

The following example shows a typical web.config entry for the <fiftyOne><crypto> section.

Examples

CopyXML
<fiftyOne>
    <crypto encryption="DES" symetricKey="MyKey"/>
</fiftyOne>

Public class ImageSection

Attributes contained in this element control image behavior of the Framework.

The following example shows a typical web.config entry for the <mobile><image> section.

Examples

CopyXML
<mobile>
    <image pngQuality="70" jpegQuality="70" gifQuality="70" />
</mobile>

Remarks

In general the lower the values the poorer the quality of images displayed through the Image control will be. However the file sizes will also be smaller.

Note Note We do not recommend changing these values unless your application is very sensitive to image size and is deployed in a low bandwidth environment.
Public class IncludesSection
Controls how css and javascript includes are handled.
Public class LocationSection

Attributes contained in this section control the source data used by Location components. The default installation uses free data provided by MaxMind. More information can be obtained from MaxMind.com. The free data provided is considerably less accurate than the paid version of data. The paid version data files are binary compatible with the free version and paid version GeoIP files can replace the free GeoLite files to get greater accuracy.

The following example shows a typical web.config entry for the <locate>...</locate> section.

Examples

CopyXML
<locate geoCity="~/App_Data/GeoLiteCity.dat" geoRegion="~/App_Data/GeoRegion.txt">
    <geoCityUpdateUrls>
        <add url="http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz" days="28"/>
    </geoCityUpdateUrls>
    <geoRegionUpdateUrls>
        <add url="http://www.maxmind.com/app/fips_include" days="100"/>
    </geoRegionUpdateUrls>
</locate>

Remarks

The GeoLiteCity data provided free by Maxmind is sufficient to determine the country the device is located in. It is often insufficient to determine the city. Such knowledge can be useful to default city and country when requesting address information reducing the amount of information the user needs to enter on the relatively small mobile keyboard.

Note Note If highly accurate location is an essential element of your application we suggest using a mobile network based location service. These solution vary between counties and mobile networks. Please contact us via our web site or forum should you require more information.
Public class MapsSection

Attributes contained in this element control behavior of Map control of .Net Mobile Framework.

The following example shows a typical web.config entry for the <maps>...</maps> section.

Examples

CopyXML
<mobile>
    <maps googleKey="Your_Key"/>
</mobile>

Remarks

We plan to support additional mapping providers in the near future. If you have a specific provider we don't currently support please contact us.
Public class MessagesSection

Attributes contained in this element control major behavior of the Framework.

The following example shows a typical web.config entry for the <Framework> section.

Examples

CopyXML
<Framework encryption="DES" symetricKey="MyKey" mobileRedirectUrl="~/M/D.aspx" logFile="~/App_Data/Log.txt" logLevel="Debug"/>
</mobile>

Public class ProfileSection
Attributes contained in this element controls the MobileProfile behavior with the Web application.
Public class TelephoneNumberSection

Attributes contained in this element control major behavior of the Framework.

The following example shows a typical web.config entry for the <Framework> section.

Examples

CopyXML
<Framework encryption="DES" symetricKey="MyKey" mobileRedirectUrl="~/M/D.aspx" logFile="~/App_Data/Log.txt" logLevel="Debug"/>
</mobile>

Public class ThemeCollection
Custom collection type represent the Themes child elements of themes section.
Public class ThemeElement
Configuration element represents the child element of <themes> section. Extended class of Filter to define the theme based on the mobile capabilities.
Public class ThemesElement
Defines configuration settings for themes. This class cannot be inherited.
Public class ThemesSection
Attributes of the element defines the conditional list of application level Themes. Matching one will be applied after verifying the condition against the requesting device capability.
Public class UrlCollection
A collection of UrlCollection. This class cannot be inherited.
Public class UrlElement
Used in the web.config to provide Urls and refresh periods to automatically update application data files such as Wurfl data files.

Enumerations

  Enumeration Description
Public enumeration CompressionType
List of compression Types