Microsoft .Net Mobile Interview Preparation Guide
Download PDF
Add New Question

Microsoft .Net Mobile frequently Asked Questions by expert members with experience in .Net Mobile. These interview questions and answers on Microsoft .Net Mobile will help you strengthen your technical skills, prepare for the interviews and quickly revise the concepts. So get preparation for the Microsoft .Net Mobile job interview

22 .Net Mobile Questions and Answers:

1 :: Explain how to develop mobile applications using Microsoft Mobile Internet Toolkit (MMIT) or .NET Mobile?

Steps to develop mobile applications using MMIT:

a) Start with a new ASP.NET page
b) Include a reference to System.Mobile.UI
c) Add various mobile controls on the page as the need be.
Post Your Answer

2 :: Explain is development of a mobile web application with ASP.NET is very easy?

Developing a mobile application is as simple as building any website using ASP.NET. The only difference being the tags of the form i.e.

Normal ASP.NET Webpage

<asp:Form runat="server">
<asp:Label runat="server">Hello World</asp:Label>
</asp:Form>

For Mobile

<%@ Register TagPrefix="mob" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>

<mob:Form runat="server">
<mob:Label runat="server">Hello World</mob:Label>
</mob:Form>

MMIT takes care of all the mobile device requirements. Thus, the developer is free from such concerns
Post Your Answer

3 :: Explain the components required to develop mobile applications with .NET Mobile?

Prerequisites for MMIT:

Windows 2000/2003/2008R2 server with IIS
ASP.NET Framework
MMIT
IE 6 or above
A WAP based simulator for testing.
Post Your Answer

4 :: Explain how does .NET Mobile work?

Sequence of steps for MMIT application execution:

a) A mobile client requests for a webpage
b) The request travels through the internet
c) The request reaches IIS on the server
d) .NET Framework handles the request and processes it
e) ASP.NET compiles the page
f) MMIT takes care of any mobile device specific requirements
g) Page is sent to the client.
Post Your Answer

5 :: Explain a .NET Mobile example with details?

Example:

<%@ Page Inherits="System.Web.UI.MobileControls.MyPage" %>

<%@ Register TagPrefix="mob" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>

<mob:Form runat="server">
<mob:Label runat="server">Hello World</mob:Label>
</mob:Form>

This is similar to a traditional ASP.NET webpage. The only difference being the tag mob which uses the System.Web.UI.MobileControls library.

Output for a WAP Enabled Mobile device:

<?xml version='1.0'?>
<!DOCTYPE wml PUBLIC '-//WAPFORUM//DTD WML 1.1//EN' 'http://www.wapforum.org/DTD/wml_1.1.xml'>

<wml>
<card>
<p>Hello World</p>
</card>
</wml>

Output for a Pocket PC:

<html>
<body>

<form id="ctrl1" name="ctrl1" method="post" action="example.aspx">
<div>Hello World</div>
</form>

</body>
</html>
Post Your Answer

6 :: Tell me .NET Mobile Emulators?

Applications built using MMIT can be tested and viewed using a variety of emulators.

► Using Browser: Mobile web pages detect the browser, hence can be tested using the standard browsers like IE6.
► Openwave: This is the most commonly used browser for Internet-enabled mobile phones.
► Nokia Mobile Internet Toolkit: This is a toolkit from Nokia which enables testing for a variety of Nokia phones/devices.
► Windows Mobile Development Platform: This is a Microsoft platform used to test applications for Windows Mobile O/s
Post Your Answer

7 :: What is the difference between .Net Mobile Pages and ordinary .NET web page?

.NET Mobile pages are similar to ordinary .NET Webpages.

<%@ Page Inherits="System.Web.UI.MobileControls.MyPage" %>

<%@ Register TagPrefix="mob" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>

<mob:Form runat="server">
<mob:Label runat="server">Hello World</mob:Label>
</mob:Form>

Notice the only difference being the tag mob which uses the System.Web.UI.MobileControls library instead of the asp tag.
Post Your Answer

8 :: What is .Net Mobile automatic paging?

NET mobile supports automatic paging for a variety of mobile devices. Paging is handled differently for different controls. Eg: For paging in a panel, the content controls of the panel still remain grouped inside the panel.
Post Your Answer

9 :: What is .Net Mobile Forms?

.NET Mobile Forms are specialized Web forms which can work on various mobile devices. Each Mobile Page must have at least one mobile form. A single mobile form can encapsulate multiple mobile controls in it. Compared to ASP.NET, a single mobile page can consist of multiple mobile forms.

<mob:Form id=”form1” runat="server">
<mob:Label id=”lbl1” runat="server">Hello World</mob:Label>
</mob:Form>

<mob:Form id=”form2” runat="server">
<mob:Label id=”lbl2” runat="server">Hello World2</mob:Label>
</mob:Form>
Post Your Answer

10 :: Explain .Net Mobile automatic paging?

NET mobile supports automatic paging for a variety of mobile devices. Paging is handled differently for different controls. Eg: For paging in a panel, the content controls of the panel still remain grouped inside the panel.
Post Your Answer
Add New Question