Microsoft .Net Mobile Interview Preparation Guide

Refine your .Net Mobile interview skills with our 22 critical questions. These questions are specifically selected to challenge and enhance your knowledge in .Net Mobile. Perfect for all proficiency levels, they are key to your interview success. Download the free PDF to have all 22 questions at your fingertips. This resource is designed to boost your confidence and ensure youre interview-ready.
Tweet Share WhatsApp

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.
Download PDFRead All .Net Mobile Questions

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

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.

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.

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>
Download PDFRead All .Net Mobile Questions

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

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.

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.

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>

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.
Download PDFRead All .Net Mobile Questions