C#
  Home arrow C# arrow Page 2 - Introduction to the Microsoft Mobile Inter...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
C#

Introduction to the Microsoft Mobile Internet Toolkit
By: Jean-Baptiste Minchelli
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 9
    2002-05-06

    Table of Contents:
  • Introduction to the Microsoft Mobile Internet Toolkit
  • Architecture
  • Your first application
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Introduction to the Microsoft Mobile Internet Toolkit - Architecture


    (Page 2 of 4 )

    My goal in this article is to introduce the Wireless capabilities of the .NET framework, but it remains interesting to briefly remind you of the general architecture of .NET:
    • It is a set of common services, which can be used from a number of object languages.
    • These services are executed in the form of intermediate code that is independent of the underlying architecture.
    • They operate in a runtime (Common Language Runtime or CLR) that manages resources and monitors application execution.
    The primary goal of .NET is to provide developers with the means to create interoperable applications using "Web Services" from any sort of terminal, be it a PC, PDA, mobile phone, and so forth.

    The MMIT extends the functionality of the .NET framework. It is therefore possible to build a Wireless application using any of the framework services (Web Services, ADO .NET...):



    A device accessing the wireless application will launch a three stage process on the Web Server:
    • Device capability detection.
    • Building of the page.
    • Response generation.
    Device capability detection collects information such as browser type, supported mark-up language, etc. This is done with the machine.config file that contains all the device information for any given the user agent.

    Next, the aspx file is compiled and stored in the cache to improve performance. It is important to note that the page will be compiled just one time and it's the same for any type of device. The Web Server uses the page in the cache to create a new instance of the page and processes it.

    The response generation is associated to the device type. In the case of a PDA, HTML will be sent to the client. In the case of a WAP phone, WML will be generated.

    Starting with the toolkit
    Before being able to deploy your first mobile application, you need to install:
    • The Microsoft .NET Framework.
    • The Microsoft Mobile Internet Toolkit.
    With these SDK's, you will be able to build your first .NET Wireless application using Mobile controls and Mobile forms.

    Mobile forms are based on ASP .NET Webs forms. In fact, those Web forms are Server Controls that allow developers to quickly build a user interface as a drop-down list, a grid with results, or a calendar and so on.

    Mobile forms have been built to send back the right language type and application capabilities (color, JavaScript capabilities, etc) to the client. A WAP phone will receive WML; a PDA will receive HTML and so on.

    You will just need to create a single Wireless application for all supported device by the MMIT.

    Installing the environment
    ASP .NET is available for Windows 2000/XP (Professional, Server or better). I personally installed it on a Windows 2000 Professional Service Pack 2 box.

    Other prerequisites are:
    • MDAC 2.6 (or greater).
    • Internet Information Services.
    Firstly, you need to install the .NET framework. You can install just the redistributable or the complete SDK (featuring documentations, samples, compilers, etc). Please note you don't have to install the framework if you already have Visual Studio .NET installed. If you have a previous version of the framework installed, you must remove it before installing a new version. Finally, you have to install the MMIT.

    This installation creates a virtual folder containing a tutorial under the default web site. You can access it by visiting http://localhost/MobileQuickStart/ on your web server. This tutorial is very clear and it can be useful for learning how to use your first Mobile control; but we will speak more in detail about that in a future article.

    More C# Articles
    More By Jean-Baptiste Minchelli


     

    C# ARTICLES

    - Introduction to Objects and Classes in C#, P...
    - Visual C#.NET, Part 1: Introduction to Progr...
    - C# - An Introduction
    - Hotmail Exposed: Access Hotmail using C#
    - Razor Sharp C#
    - Introduction to Objects and Classes in C#
    - Making Your Code CLS Compliant
    - Programming with MySQL and .NET Technologies
    - Socket Programming in C# - Part II
    - Socket Programming in C# - Part I
    - Creational Patterns in C#
    - Type Conversions
    - Creating Custom Delegates and Events in C#
    - Inheritance and Polymorphism
    - Understanding Properties in C#







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway