Using Windows Phone 7 as a modem from your laptop

by Jon 28. January 2011 21:35

As DDD9 is tomorrow I was looking for a way to connect to the internet my laptop on the train.  I assumed that using my new WP7 as a modem would be impossible, but appears not.  The folks at hdblog.it got it working in November!  Its a pretty simple process and quick enough for you to setup as you travel down, but you need to have ZUNE installed on your laptop for the drivers.

  1. Goto the Phone Dialler on your WP7
  2. Enter ##634#
  3. Press Call
  4. The screen will change, show the WP7 Loading clock  then change to ‘Diagnosis (ver.0929)’
  5. Enter *#7284#
  6. The screen will change to ‘Micro USB Test’ and show three Options
  7. Press ‘Modem, Tethered Call’
  8. You will get a confirmation telling you that you have to reboot the device
  9. Press ‘ok’
  10. The device will reboot
  11. Plug your WP7 phone into your laptop using a USB lead
  12. Your laptop will install modem drivers
  13. Make a new dialup connection, enter *99# in the Dial Box and leave user name and password blank
  14. Press Dial
  15. Your are using your WP7 device as a modem

Repeat the process and select Zune to revert back to Zune Sync, you will nee to revert back to Zune Sync to re-enable side loading of apps.

Enter ##634# into the dialer Enter *#7284# into the diagnositics window
Choose Modem, Tethered Call
Add a Dialup Connection using your Wp7


conference | ddd | General | windows phone 7 | WP7


Source Control is really blooming important

by Jon 3. May 2010 14:30

I cant stress enough how important and more importantly how useful source control is. If you are not using source control for your projects your essentially coding drunk. There is really no excuse as most is either free or very very cheap to get amazing features. Even if you are a one man or woman coder you should be using source control, as there are a whole heap of benefits:

  • You get a backup of your projects out of the box, if something goes wrong with your pc your safe (as long as your source controlling to a difference machine
  • You can see what changes you made and when and the reasons why, very useful when talking to customers or trying to find an issue
  • It makes you a better coder, with source control you get to see your changes and review them before you commit, removing mistakes or any test code you wrote
  • You can code with confidence, try ideas out and refactor with the confidence that you can always roll back to the last version you committed.
  • Patching, and quick fixes become a breeze. When you release a version of a website or system you can branch and keep a facsimile copy of what has been released. If you find a bug you can issue a bug fix rather than upgrading the entire system
  • If your company grows beyond one person, or you need to get development help you can easly hive some of the work out to anyone anywhere in the world

What source control system should we use?

There are a whole heap of source control systems available but we use a SVN based system. The other alternatives include SourceSafe, CVS, Team Server, and Mercurial (In the form of VisualHG), but we are sticking with SVN for now because it is stable and mature and works. As a source control system is the gatekeeper to your code it is important to have confidence in it, SVN is old enough for this and new enough to have lots of nice features. We will probably move to VisualHG in future, or team server but for now its not worth the leap.

So what software do you need to install?

Well it kind of depends what level of integration you want but here is a quick summary of what we use:

  • TortoiseSVN - Is the SVN client of choice for windows, it integrates into windows explorer and it is the only thing you need to get source control running. The best thing is it is mature, it is an opensource project but it has been running for years as SVN and before that for years as TortoiseCVS. This is the daddy of source control and its seamless integration into windows is fantastic. The best thing is you dont even need a server as you can run it against a file based SVN source repository without a server.
  • Visual SVN Server - SVN will work without a server, but if you want to simplify things and increase security this is a great server that just works. Again it is free but not open source, you dont need IIS as it will install its own version of Apache when it installs.
  • VisualSVN Client - If you want integrated source control in Visual Studio install this, it works in conjunction with tortoise so it is rock solid when it comes to stability. It has lots of great features when it comes to merging and branching, but it does cost. However at $49 a seat the cost is minimal to the advantages. You can download a free demo to see what you think, but you will make the small cost back in hours in increased productivity.
  • Stats SVN- Is a java application which generates html stats for a SVN repository. We run this every night to generate up to date web statistics on the project.

In summary install tortoiseSVN and see what you think, it will make you more productive.

Tags: , , , ,

development | SVN | vs2008 | windows phone 7


It is Saturday evening and I have almost recovered from my Scott Guthrie induced migraine

by Jon 27. March 2010 23:39

Scott Guthrie

I think I have almost recovered and I can finally put some of the stuff I saw and learnt down on screen.  I have had my migraine since around 2pm yesterday, pain killers couldn’t hold it back.  It’s hardly a surprise as it was initiated by Scott Guthrie filling my brain with too much dotnet goodness. Who is this Scott Guthrie bloke anyway and how did all this all happen, and why don't I mind that much? 

Scott is a software developer, he wears a red polo shirt, but more importantly co wrote (yes wrote!), asp.net!  He was a founding member of .net itself and he is official title is ‘Corporate vice president of Microsoft's .NET Developer Platform’.  If you want to hear about dot net he is the bloke to listen to.  Scott was in the UK for two days to give two five hour sessions three of the projects that under his wings:

  • Visual Studio 2010 and asp.net 4
  • Asp.net Model View Controller (MVC)
  • Silverlight and Windows Phone 7 development

I went to the second Guathon which was held in Birmingham City Centre Odeon cinema yesterday.  It was an all day event; Scott did a mammoth five hour talk with only a couple of short breaks for a bite to eat or to grab a bottle of water.

Visual Studio 2010 and Asp.net 4

In the morning session Scott started by going over all the great improvements to visual studio, in brief vs2010 is a big improvement on vs2008, its faster, its easier to see your code, you have more customisation, you can run multiple monitors more effectively and there are lots of refactoring features that make making writing and changing code much quicker.  In summary it is much better, it is a no brainer even if you are going to continue to develop in anything from dotnet 2 and above.  Scott deep dived into vs2010 to show these features, and also demoed lots of improvements to dotnet and asp.net and beyond.

Asp.net Model View Controller (MVC)

This was the second time I saw a session on MVC, but this time I got it. Scott explained asp.net MVC really clearly, its quite a jump from traditional asp.net but I can see the massive improvements it will bring. Although MVC development turns development on its head you can see how code reuse is much more effective and when combined with entity framework 2 it will makes for a very agile development process.

Silverlight and Windows Phone 7 Development

Another fantastic session, it made developing Silverlight look very simple there are big improvements in vs2010 to the development environment to support Silverlight developers and make it less daunting. Windows phone 7 looks like a real iPhone killer, the min specs are a quad core ARM processor combined with a GPU! Windows phone 7 apps are Silverlight so they are quick and smooth and ready to develop. A twitter Silverlight app was developed from scratch and deployed to a phone within 5 minutes live on stage, very impressive.

Odeon Cinima in Birmingham filling up with dotnet developers for the Guathon
Odeon Cinima in Birmingham filling up with dotnet developers for the Guathon

Head Honcho ScottGu from Microsoft about to start one of his presentation at the Guathon
Head Honcho ScottGu from Microsoft about to start one of his presentation at the Guathon

In summary it was a fantastic event, and amazing considering it was free! A big thanks must go to Phil Winstanley for arranging and organising it.

Powered by BlogEngine.NET
Original Design by Laptop Geek, Adapted by onesoft, and finally some tiny tweaks by JonAlb