Last post Jan 22, 2010 11:39 AM by SKT_01
Jan 18, 2010 09:19 AM|mattialocatelli|LINK
I'm involved in the creation of a site targeted for mobile device. Is our first insight into the mobile development world and we tried the Mobile toolkit for asp.net.
I've seen the mobile toolkit (mobile forms, controls, etc..) is not included in VS2008 and also after installing the mobile templates there is no support in the VS designer.
So I ask myself if I'm using an obsolete technology and what is the 'state of art' techinque for developing mobile targeted web site with ASP.NET.
Jan 18, 2010 11:58 AM|qwe123kids|LINK
Now days mobile come with full Blown browser so u cam use normal asp.net but if u want target old mobile phone it better to work with mobile forms
Jan 19, 2010 07:39 AM|matrixvibe|LINK
The current approaches are ASP.NET Web Forms or MVC applications .
Now the key things for loading mobile content are
1) Detect request is coming from mobile device and redirect user to mobile optimized pages.
2) Fetch detail capabilities(screen size, model, image support etc.) of the mobile requesting your website, which can be used to customize the page specific to mobile
To do this easily and efficiently please look at http://www.51degrees.mobi/Products/NETMobileAPI/tabid/86/Default.aspx it is free open source asp.net mobile api. It makes
use of WURFL the most upto date mobile device database.
You can look at article explaining details here
Hope above helps
Jan 19, 2010 10:16 AM|mattialocatelli|LINK
there's something I'm missing here:
msdn documentation invite to use mobile controls :
also in the framework 4.0 documentation they still keep saying to use mobile controls:
On the other end now the mobile controls templates are missing in visual Studio 2008 and must be downloaded as a separate installer from the blog of the Visual Web Developer Team in a post (http://blogs.msdn.com/webdevtools/archive/2007/09/17/tip-trick-asp-net-mobile-development-with-visual-studio-2008.aspx)
by Omar Khan (lead program manager of the Visual Web Developer Team - so a source from Microsoft), but there is no rendering in the designer in VS2008 for the mobile controls (making me think that MS is going to dismiss them).
Is there someone who have a clear view of what is going on with web mobile development in MS ?
Jan 20, 2010 05:45 AM|josh.orion|LINK
Now also adding to the confusion is the fact that System.Web.Mobile DLL is made obsolete in .NET4.0. So do we always need to use Web Controls for mobile web development in .NET or shall we still use the obsolete mobile controls? Someone please clear the
Jan 22, 2010 05:35 AM|mattialocatelli|LINK
now I'm using mobile controls and creating custom adapters for the different browser types. I'm not sure if this will work with mobile controls or if is a good solution.
Unfortunately still now answers from the community....
Jan 22, 2010 05:42 AM|manoj0682|LINK
just check if below link will help you :-
Jan 22, 2010 06:51 AM|mattialocatelli|LINK
thanks for the reply. I read the article you linked and is a feasible solution but what I really wanted to know is what are the best practices for the web mobile development using Microsoft products.
I have seen there are many ways for developing mobile web solutions like:
- Classsic ASP.NET froms using adapters
- Mobile web froms
but is not clear to me which is the standard.
Jan 22, 2010 07:15 AM|hans_v|LINK
The question is, which mobile devices are you talking about? Do you want to target all mobile devices, including "old" phone with very limited browsers, or do you target the modern devices, like BlackBerry, IPhone Windows Mobile, etc.
If you target only the modern devices, just create your mobile pages you like most. The main thing you need to take into consideration is that all these devices have different screen sizes, different browsers with different capabilities, etc... You can get
these capabilities when you download the latest version of the
Mobile Device Browser File
When you also want to target the older phones, than you really need to use Mobile Web Forms, because not all ASP.NET controls will render on these devices. Since most people get a new phone every few years, I don't think it's worth it to invest much time
Jan 22, 2010 07:49 AM|mattialocatelli|LINK
thanks for the reply. I'm targeting mobile devices that ranges from old wml only devices to modern devices. That's why I considered using Mobile Web Forms, but, as you can see from the previous posts there is some confusion about the support for the future
(Guidelines for framework 3.5 indicates to use mobile web forms but there is no support for the rendering in VS2008).
Jan 22, 2010 08:42 AM|hans_v|LINK
Guidelines for framework 3.5 indicates to use mobile web forms but there is no support for the rendering in VS2008
I know, but that's only a little bit annoying! However they still work, and since pages for these devices ussualy only have a few controls, I don't see why rendering them in design mode is very important! And if you target this devices also, I would make
special pages for them, because users with an iPhone expect a different user interface.
How long do you want to support these WML only devices?
Jan 22, 2010 09:28 AM|mattialocatelli|LINK
I agree with u that the designer is not important but I was just thinking that before removing a set of controls from the framework maybe MS have think about how to replace their functionality and I wasn't able to find documentation about it.
Regarding Iphone and interfaces for the latest devices I was thinking of creating adapters for the mobile controls for some different class of devices using the browsers file.
U think this can be a good solution instead of creating a subset of dedicated pages for WML and other treminals? This is my first project targeted to mobile devices and I'm not sure what are the advanteges and disadvantages of each solution.
Jan 22, 2010 11:39 AM|SKT_01|LINK
This is really the cabaret forum.