TidyMess

Random collection of programming, web, gadgets, technology and more

Skip to content
  • About
  • ASP.NET
  • jQuery
  • Web
  • Gadgets
« Older posts

How to target mobile devices using ASP.NET MVC

By brian | Published: April 7, 2009

I was watching Scott Hanselman’s talk at MIX 2009 about how he created NerdDinner.com with ASP.NET MVC. And in the last 10 minutes of the video, I found another good reason to use MVC for building web applications. This basically solves the issue I blogged about a few days ago.

Microsoft released Mobile Device Browser File through CodePlex during MIX. This has all the mobile device capability definitions Hotmail Mobile team gathered through the years. You simply drop this file into App_Browsers folder and now you can check for mobile device user agents and determine their capabilities.

You can still use this with Web Forms, but MVC makes it much easier. You just need to return different Views for a targeted mobile device.

Go ahead and watch it for yourself. If you just want to watch the mobile device part, skip to ~60min mark.

http://videos.visitmix.com/MIX09/T49F

Posted in ASP.NET | Tagged ASP.NET MVC, MIX09, Mobile | Leave a comment

What is the URL to mobile version of that site???

By brian | Published: April 5, 2009

What is it…?

mobile.domain.com?
m.domain.com?
domain.com/mobile?
domain.mobi?

Most of websites that offer optimized experience on mobile devices today use one of the above. It is good that you have access to optimized version of the site, but is it really easy to get to? Some websites are smart enough to redirect users to the mobile site automatically, but most of them don’t do that and even for those who do, it usually only works for the site’s homepage.

For Users

Do you know the mobile version URL of you favorite website?
Do you even know if they have one?
Did you have to try all possible URLs above to find it?
Your friend sent you a link while sitting in front of his/her desktop computer. You open it up on your smartphone. Do you get mobile-optimized experience without having to do anything? Would you like to have that experience?

For Developers

Should you build a whole new site, simple version of your already existing site, just for optimized experience on mobile devices?
Let’s say you already have a separate mobile site. Do you use separate “business logic” for the mobile site? Is it easy to maintain both?

For Publishers/Site Owners (SEO)

Is it good to have two separate URLs for the same content?
Should you use same or separate tracking code on mobile site and main site?
Do you notice that mobile users are coming to both mobile and main site? What do you do to run reports in that case? Isn’t it a headache for you?

What I’d like to see

I don’t want separate URL for mobile devices. Websites should be smart enough to detect browser capabilities and show only the things I’m capable of viewing. Am I asking too much?

Today, no one site is perfect in this regard. It is probably because none of them were built from ground up with mobile device users in mind. (Probably there are sites built from ground up with mobile device users in mind. I just don’t know one. I’d love to see them in the comments.”) With strong growth in number of smartphone owners, having seamless experience across all browsers (mobile and full) may become a necessity pretty soon.

I think all I’ve said above makes most sense for news-oriented sites like nytimes.com, cnn.com, digg.com, engadget.com, lifehacker.com and etc. (Name your favorites in the comments. I’d like to know more.) But even for sites like Flickr, I think this still applies. We already have powerful native apps for full-blown social sites like Facebook, MySpace and etc, so we’re ok there I guess.

What are your thoughts?

Posted in ASP.NET, Web | Tagged Mobile, SEO, URL | Leave a comment

Dell Mini 9 3-day review

By brian | Published: April 2, 2009
From top to bottom: Xbox 360 controller, Dell Mini 9, and 14” Asus w3v

From top to bottom: Xbox 360 controller, Dell Mini 9, and 14” Asus w3v

We’ve been using the Dell Mini 9 for 3 days now, and I have to say that it is perfect for people who are mobile and do mostly web browsing and work with documents. Battery life seems very good, too.

Only real downside I’ve found was that this netbook has a screen height of only 600px. Office Ribbon and browser top bars take up a lot of space, almost 1/3 of the screen. A good thing is that the top part of the browser can be cleaned up and also you can hide the Office Ribbons.

I complained about the weird position of some keys, but I already got used to them. Just browsing the web and typing up email were very good. I won’t do serious programming on this though.

So far, I’m very happy with it. I’m just hoping that it won’t break down.

Posted in Gadgets | Tagged Dell, Mini 9 | 4 Comments

Great guide to learning ASP.NET MVC

By brian | Published: April 1, 2009

With ASP.NET MVC 1.0 released, I’m slowly starting to learn MVC in my spare time at home. I’ve found this great series of videos by Rob Conery building a storefront application using MVC, TDD and repository pattern. I haven’t watched all the videos yet, but it’s helping me a lot so far.

During the MIX 2009 conference a few weeks ago, he did a talk about this storefront project. Enjoy.

There’s a Little Scripter in All of Us: Building a Web App for the Masses
Rob Conery
http://videos.visitmix.com/MIX09/T62F

Posted in ASP.NET | Tagged ASP.NET MVC, MIX09 | 1 Comment

Dell Mini 9 unboxing photos

By brian | Published: March 31, 2009

Dell Mini 9 that I ordered on 3/12/2009 has finally arrived today.

Dell Mini 9 package

Yes, mine is here. No, my wife’s is here. I bought this for my wife when “10 days of deals” was going on. It was a pretty sweet deal.

Here are the specs:

  • Intel® Atom Processor® N270 (1.6GHz/533Mhz FSB/512K cache)
  • Cherry Red
  • 1GB DDR2 at 533MHz
  • Glossy 8.9 inch LED display (1024X600)
  • Intel Graphics Media Accelerator (GMA) 950
  • 16GB Solid State Drive
  • Genuine Windows® XP Home Edition
  • Wireless  802.11g Mini Card
  • Integrated 1.3M Pixel Webcam
  • 32WHr Battery (4 cell)

And here are the photos.

Dell Mini 9 open package

Dell Mini 9

Dell Mini 9 accessories

Dell Mini 9 cherry red

Dell Mini 9 open lid

Dell Mini 9 size

My first impression was, “Wow, this thing is small and light! And the keyboard is… also small and a bit… weird.”

Dell Mini 9 keyboard

Quote and shift keys are in a bit weird position. This might be a bad thing for a programmer, but I think my wife will be ok with it. Actually the keyboard is not bad for the size of a notebook. I owned a Dell 700m about 4 years ago, and the letter keys are in similar size if I recall correctly.

It came with a good amount of unwanted programs, so I uninstalled them. I’m installing necessary programs like Office, anti-virus and etc, right now. It came with fully charged battery, so I’m doing all this on battery. I’ve been uninstalling and installing things for 3 hours straight and it still has 40% left. That’s pretty good battery life for a 4-cell battery.

I’ll play with it for some more and post more updates.

EDIT 4/2/09: Dell Mini 9 3-day review

Posted in Gadgets | Tagged Dell, Mini 9 | Leave a comment
« Older posts
  • Tags

    Adamo Apple ASP.NET MVC Chrome Dell Google iPhone JavaScript Mac Macbook Pro Mini 9 MIX09 Mobile SEO Sony URL Windows Mobile
  • Recent Posts

    • How to target mobile devices using ASP.NET MVC
    • What is the URL to mobile version of that site???
    • Dell Mini 9 3-day review
    • Great guide to learning ASP.NET MVC
    • Dell Mini 9 unboxing photos
  • Blogroll

    • Coding Horror
    • Haacked
    • Life Hacker
    • Mint.com Blog
    • ReadWriteWeb
    • Scott Hanselman’s ComputerZen.com
    • ScottGu’s Blog
  • Twitter

  • Delicious

Copyright © 2009 Brian Kim. This work is licensed under a Creative Commons Attribution 3.0 License. Powered by WordPress. Built on the Thematic Theme Framework.