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.
Related
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
I have the following requirement and I couldn't figure out a way to achieve it.
I have a mobile friendly web application developed using ASP.NET MVC. It works fine as a normal web application. Now my client wants it to be more like a native application (like the Facebook app for mobile, where you can download and install it and still opens in a browser window when you run the executable file.More importantly, all the fixes and updates are reflected in the application without having to re-install it.)
Can someone guide me through this?
As you said he wants to run application like website in browser. it sounds like that he just wants some sort of Shortcut for website.
Then you just create an application and fire your event to run site URL in browser.
as you said
all the fixes and updates are reflected in the application without
having to re-install it.
means this is just a site.
in other case use Phone gap (http://phonegap.com/) it matches your requirements and uses HTML for styling and almost all features of an typical site.
PhoneGap Support to Different Mobile Plateform (Claimed by PhoneGap)
http://docs.phonegap.com/en/edge/guide_support_index.md.html#Platform%20Support
The Native application need to be developed in separate platforms. Like Android, IOS, Nokia, BlackBerry, Windows Phone etc., If the Application requires all the platform apps.
In our concern we have developed few apps same as your requirement. When user wants to view in PC they can view entire web with responsive design. Same will work, if customer access from mobile with in mobile view. Entire application will work accordingly for PC, TAB and MOBILE with responsive design.
If you go for Native then the platform apps need to be developed and inside app they will use to call your site url with in WebView. Like PC Browser calls URL.
So, when ever you made any changes the changes will be reflected in your app also. without reinstalling the app. Since webview is calling only your URL. For this internet is must.
You can make these kind of Apps with setups and designs through Online itself. Just give your URL with that.
Link Here : Apps Bar
Link Here : App Makr
Google It : Google
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.
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.
I am trying to create a mobile version of a web application using VS2010 (.Net 3.5, not 4). When I search for information on ASP.net mobile I see a lot of references to mobile controls that adapt their HTML to the specific device requesting the page. Since I would like this app to be viewable on as many as devices as possible, it seems like it would be better to use the mobile controls rather than just create a smaller version of a web form. Apparently VS2008 and up do not include the mobile control templates, but you can download and install them separately. I did, but when I tried to create a test page I get a server error complaining that the assembly "System.Web.Mobile" could not be found. I double checked in my references and that assembly is included in the project. The file System.Web.Mobile.dll is also on the server running the app.
Is there something that I am doing wrong, or is developing a mobile web app in this way using VS2010 not possible?
Thanks,
Mike
I didnĀ“t found Mobile Web Forms templates for 2010 (for 2008). But Mobile Controls is a old and unused technology, you should use MVC.