By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,888 Members | 1,554 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,888 IT Pros & Developers. It's quick & easy.

Mobile ASP.NET

P: n/a
I've come across numerous mobile phones with which ASP.NET pages can
be accessed on the Internet. Then why has Microsoft developed a
separate programming model to create ASP.NET apps for mobile devices
when regular ASP.NET pages can be accessed from mobile devices?

Ron

Oct 18 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
On Wed, 17 Oct 2007 19:36:59 -0700, rn**@rediffmail.com wrote:
>I've come across numerous mobile phones with which ASP.NET pages can
be accessed on the Internet. Then why has Microsoft developed a
separate programming model to create ASP.NET apps for mobile devices
when regular ASP.NET pages can be accessed from mobile devices?

Ron
I believe you are referring to Mobile Web Forms, that can be added to
asp.net websites that target mobile devices

--
http://bytes.thinkersroom.com
Oct 18 '07 #2

P: n/a
On Oct 18, 4:52 am, "Rad [Visual C# MVP]" <r...@nospam.comwrote:
On Wed, 17 Oct 2007 19:36:59 -0700, r...@rediffmail.com wrote:
I've come across numerous mobile phones with which ASP.NET pages can
be accessed on the Internet. Then why has Microsoft developed a
separate programming model to create ASP.NET apps for mobile devices
when regular ASP.NET pages can be accessed from mobile devices?
Ron

I believe you are referring to Mobile Web Forms, that can be added to
asp.net websites that target mobile devices

--http://bytes.thinkersroom.com
Yes Rad I am referring to Mobile Web Forms only. When the conventional
Web Forms can be accessed from mobile devices (for e.g. mobile
phones), why has Microsoft developed a separate programming model to
create Mobile Web Forms when the usual Web Forms can be accessed from
mobile devices?

Thanks,

Ron

Oct 18 '07 #3

P: n/a
On Thu, 18 Oct 2007 04:09:57 -0700, rn**@rediffmail.com wrote:
>I believe you are referring to Mobile Web Forms, that can be added to
asp.net websites that target mobile devices

--http://bytes.thinkersroom.com

Yes Rad I am referring to Mobile Web Forms only. When the conventional
Web Forms can be accessed from mobile devices (for e.g. mobile
phones), why has Microsoft developed a separate programming model to
create Mobile Web Forms when the usual Web Forms can be accessed from
mobile devices?

Thanks,

Ron
True, some mobile devices such as PDAs can access normal web forms,
the same assumptions cannot be made for all mobile devices, like WAP
phones for instance.

These may not support web protocols, or web browsers to the extent of
being able to render faithful ASP.NET forms.

Mobile Web Forms I imagine are the "least common denominator"

--
http://bytes.thinkersroom.com
Oct 18 '07 #4

P: n/a

-----Original Message-----
From: Rad [Visual C# MVP] [mailto:ra*@nospam.com]
Posted At: Friday, 19 October 2007 1:42 AM
Posted To: microsoft.public.dotnet.framework.aspnet
Conversation: Mobile ASP.NET
Subject: Re: Mobile ASP.NET

On Thu, 18 Oct 2007 04:09:57 -0700, rn**@rediffmail.com wrote:
I believe you are referring to Mobile Web Forms, that can be added
to
asp.net websites that target mobile devices

--http://bytes.thinkersroom.com
Yes Rad I am referring to Mobile Web Forms only. When the
conventional
Web Forms can be accessed from mobile devices (for e.g. mobile
phones), why has Microsoft developed a separate programming model to
create Mobile Web Forms when the usual Web Forms can be accessed from
mobile devices?

Thanks,

Ron

True, some mobile devices such as PDAs can access normal web forms,
the same assumptions cannot be made for all mobile devices, like WAP
phones for instance.

These may not support web protocols, or web browsers to the extent of
being able to render faithful ASP.NET forms.

Mobile Web Forms I imagine are the "least common denominator"

--
http://bytes.thinkersroom.com
So how do you tell that a request has come from a mobile phone ?

A user can type any value into a url. They don't know if the website has
been setup for Mobile Web Forms.
Oct 18 '07 #5

P: n/a
On Fri, 19 Oct 2007 04:14:51 +1000, "Ian Semmel"
<an****@rocketcomp.com.auwrote:
>
So how do you tell that a request has come from a mobile phone ?

A user can type any value into a url. They don't know if the website has
been setup for Mobile Web Forms.

Targeting mobile devices is something that you have to design into
your solution from the very beginning.

Due to the constraints of screen size, supported controls, and so on,
a common strategy is to build two completely different sites so for
instance your main site would be www.mysite.com and then you have a
sub domain for your mobile devices , www.wap.mysite.com

For the www.wap.mysite.com you would then build an asp.net site
entirely with mobile web forms. However you can share much of the data
access logic.

If you wanted to you could force a mobile user who inadvertently
wanders to the main site back to the WAP, perhaps in the authenticate
request method.

What you do is query the Request.IsMobileDevice property and redirect
as appropriate
--
http://bytes.thinkersroom.com
Oct 19 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.