Creating Mobile WebSite Which One To Use MVC Or .Net Mobile Controls - asp.net

I want to built website for Mobile Device i was search on the internet and found out that we can create using Asp.net MVC or Asp.net Mobile SDK..... then my query is which one should i go with ? MVC or Asp.net Mobile ?

I recommend you combine ASP.Net MVC application with JQuery Mobile API. Thus, you can easily develop platform independent mobile applications which includes smartphone specific events and effects.

Related

Mobile Website Or ASP.NET website

I am trying to build a website which would mostly be used / browsed via mobile. When choosing the IDE to develop this, I find out that VS 2005 supports Mobile Web form while in other IDEs (VS 2k8, 2k12, 2k15) I didn't find Mobile Web Form.
I know the different between the Mob and Normal Web form, However, I didn't understand why Mobile Web form is not available in other IDEs which I mentioned?
If I design in normal web page, will it fit in mobile?
ASP.NET Webforms and ASP.NET MVC can be made responsive using CSS media queries. In early days, developer used to create separate pages for mobile and desktop. Now, you don't have to create separate pages with separate css and you can avoid device detection logic and desktop to mobile redirecting.
In simple words, media queries allows you to decide each and every styling property of the HTML components on Desktop, tabs and mobile. Please learn some basic here at CSS media queries.
Moving ahead I would suggest you to use the Bootstrap for asp.net and here's the tutorial to use ASP.NET Webforms with Bootstrap

ASP mobile compatible websites

I have done a cms website by using aspx and i need to make the website mobile compatible.
What are the techniques in asp to make a website mobile compatible?
Please help me.
Developing ASP.NET pages for mobile device browsers does not differ substantially from developing pages for desktop browsers. To help you create applications for mobile devices, ASP.NET provides a System.Web.Mobile namespace devoted specifically to mobile Web development.
Sample Code:
Mobile-enabled ASP.NET Web Forms / MVC application samples
Refer this:
ASP.NET Web Sites for Mobile Devices
Mobile Support in ASP.NET
jQuery Mobile Framework

asp.net mobile web for feature phones

I have an existing website done in asp.net webforms .net V4. Visual studio 2010
I want to add a simple mobile section to the site for low end feature phones.
Where do I start?
Do I just do a redirect on detection of a mobile device, and jump to a page with a VERY simple UI? or must I use a special framework for it to render correctly? Should I be using a WAP site?
Note that this is for very low end phones
Either you can redirect the user on detecting that he is using a mobile device or make some thing entirely new using phone gap or something.

Asp.net controls to avoid when developing for mobile phones

Are there any guidelines regarding which asp.net controls (e.g. GridView, UpdatePanel...?) should be avoided when developing a web application for mobile phones?
My application is going to be used probably in iphone, blackberry or android enabled phone, so I would like to know if there are known problems related, for example, to control renderization or javascript handling in these platforms' mobile browsers.
Also, usability guidelines regarding best controls to avoid / use would also be appreciated.
At this point there is no Web Forms project template for mobile in ASP.NET Web Forms but there is in the new MVC release:
ASP.NET MVC 4 Mobile Features
Here's some info on creating mobile pages for Web Forms:
How To: Add Mobile Pages to Your ASP.NET Web Forms / MVC Application
Lastly, you might want to consider using jQuery Mobile.
As for controls to avoid? Definitely the richer ones like Calendar and GridView - but jQuery Mobile can offer you some options for the former...
You can use Modernizr for feature detection to better target specific mobile browsers.
I'd recommend checking:
That the generated pages validate on http://validator.w3.org/ - depending on which version of ASP.NET you're using, some of the controls throw out some bad HTML.
Depending on what you're doing, the GridView control may not render too well on small screens
Have a look at media queries to use different CSS styling for smaller screens
The first thing though could be to just try it out. Get the devices and visit a site that you know uses the controls and see what it's like. If you've not started on the site yet, consider using ASP.NET MVC to ensure that you're writing good HTML. You can use jQuery to do the ajax calls.

Web based development on ASP.Net Platform, should I use WPF or ASP.Net/C# based UI

For Web based development on ASP.Net Platform, should I use WPF or ASP.Net/C# based UI? or is there any other option. Requirement is to have rich UI which can be extended in future.
WPF is for windows client application. Can be hosted in a web page but with many limitations. For rich UIs in web pages you can use ASP.NET MVC 3 or webforms. html5 and CSS 3 allow you to do a lot of things and without dependencies on proprietary technologies like WPF or SilverLight or Flash the web Ui will work / should be made to work on all browsers and platforms like the android I am using here now

Resources