P. 1
Dot Net

Dot Net

|Views: 11|Likes:
Published by applemaker

More info:

Published by: applemaker on Oct 19, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

01/18/2011

pdf

text

original

.NET Mobile Introduction

Background
Cell phones (mobile phones) have become part of our life style. Today, mobile devices can connect to the Internet, and execute web applications. Mobile applications can now be developed to deliver any types of data, to any user, any place in the world! Different mobile devices support different programming languages. Some support WAP and WML, some support HTML or a limited version of HTML, and some support both or a different language. To support all types of mobile devices, developers must create one different application for each language. With .NET Mobile, Microsoft has introduced a new platform for developing mobile applications. This tutorial is about how to develop applications with an extension to the .NET Framework, called the Microsoft Mobile Internet Toolkit (MMIT) or simply .NET Mobile.

What You Should Already Know
Before you continue you should have a basic understanding of the following:

• • •

HTML / XHTML XML namespaces ASP .NET

If you want to study these subjects first, find the tutorials on our Home page.

.NET Mobile
.NET Mobile is an extension to Microsoft ASP.NET and the Microsoft's .NET Framework. .NET Mobile is a set of server-side Forms Controls to build applications for wireless mobile devices. These controls produce different output for different devices by generating WML, HTML, or compact HTML.

How Does It Work?
The following table shows how the .NET Mobile works: Mobile Devices The Internet Internet Information Services - IIS The .NET Framework ASP.NET .NET Mobile

• • •

A web client requests a web page The request travels the Internet The request is received by IIS

NET go to our ASP. You also have to install MMIT (. 2.5 or later A WAP simulator You will need Windows 2000 to develop . Motorola. Ericsson.NET.NET page Include System.NET Mobile handles any mobile device requirements The page is returned to the client Software Requirements To develop mobile applications with .NET Mobile Web SDK. 6.NET . History of WAP: WAP is a global standard and is not controlled by any single company. They all wanted to establish a common layout for Internet transfers to mobile telephones.• • • • The request is handled by the . If you want to read more about how to install .com. 3. and Unwired Planet founded the WAP Forum in the summer of 1997 with the initial purpose of essential an industry-wide specification for developing applications over wireless communications networks. Nokia. Ericsson. What is WAP? The Wireless Application Protocol (WAP) is an open. 3. With WAP Forum they were able to find such a protocol.NET framework Microsoft Mobile Internet Toolkit (MMIT) Internet Explorer 5. 5. without having to modify the Internet pages for the particular display on every different mobile telephone or personal organizer. Create an ASP.NET applications (IIS 5 (Internet Information Services) is a part of Windows 2000).NET is very easy: 1. you must have the following components: 1. At first Phone. Nokia and many others began developing standards separately of each other. global specification that empowers . Let me first explain the basic principles of WAP and a sample WML code and the same code in the .UI Add Mobile Controls to the page Introduction: This article presents a general idea of the WAP (Wireless Application Protocol) and developing mobile Web application with . Internet Explorer and MMIT can be downloaded from Microsoft MSDN.NET framework The requested page is compiled by ASP. How To Start Developing a mobile web application with ASP.NET Mobile.NET Mobile). 4.NET tutorial.Mobile. but soon they understand that it would make more sense to focus improvement around a common standard. 2. Windows 2000 Professional/Server with IIS 5 All Windows 2000 service packs The ASP.

In summary the WML is 1. can be used for Internet access. A filter program can be written or may be available from a vendor that will translate HTML pages into WML pages. we have to type the URL in the browser. then the Web server executes the ASP code before sending the results to the WAP gateway server. What is WAP Forum? The WAP Forum is the industry association comprising over 500 members that has developed the in effect world standard for wireless information and telephony services on digital mobile phones and other wireless terminals. The WAP is a specification for a set of communication protocols to standardize the way that wireless devices. WML is part of the Wireless Application Protocol (WAP) that is being proposed by several vendors to standards bodies. The gateway server removes the unnecessary headers. Using Wireless Transport Layer Security (WTLS). 2. the server sends the file to the client. In this method the returned content must be in the form of a WML document. To access a Web site on a mobile phone. previously called HDML (Handheld Devices Markup Language). and sends the response to the mobile phone browser. Screen management (text. Any programmer with working knowledge of HTML. This is the architecture behind the WAP.mobile users with wireless devices to easily access and interact with information and services right away. The primary goal of the WAP Forum is to bring together companies from all segments of the wireless industry value chain to ensure product interoperability and enlargement of wireless market. . The WAP gateway server interprets the request. After getting the request. is a language that allows the text portions of Web pages to be presented on cellular phones and personal digital assistants (PDAs) via wireless access. including e-mail. such as cellular telephones and radio transceivers. If the URL indicates a file. and SQL queries should be able to write a presentation layer using WML. The browser interprets the WML and displays it to the user. the World Wide Web. The WAP architecture. WSP is a variant of HTTP that transfers information in binary format. and newsgroups. images). rather than text-based format. the Web server interprets it and determines which resources to retrieve or execute. translates it into a conventional HTTP request. the mobile phone browser generates an encrypted URL request and sends it over Wireless Session Protocol (WSP) to a WAP gateway server. If the URL indicates an ASP page. translates the WML document into binary. and sends it to the Web server. WML (WIRELESS MARKUP LANGUAGE) WML (Wireless Markup Language). Tag-based browsing language. CGI scripts.

Inherits technology from HDML and HTML. etc. Any other characters.NET platform. 4. Microsoft released Beta 1 of the . The absolutely first character that is received by the browser must be the < character that starts the line <?xml version="1. install the . 5. as a mobile application written in WML. In this article I show you that how to create a simple mobile web application. Data input (text. Hyperlinks & navigation support. W3C XML-based language. selection lists. Most important here is the header.3. even a space or a carriage return or other will break the card .NET Mobile Web SDK.NET Mobile Web SDK. 6. NET Mobile Web SDK: In November 2000. Let's see the typical Hello INDIA.0">. After installing the .). . Let us see first how to create in WML language.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->