Charteris Community Server

Welcome to the Charteris Community
Welcome to Charteris Community Server Sign in | Join | Help
in Search

Roger Whitehead's blog.

Thoughts and activities on implementing Microsoft web and Windows Mobile technologies. Life is Mobile. Think Mobile.

October 2007 - Posts

  • Built-In Model View Controller Support Announced For ASP.Net

    Last week at the Alt.Net conference, Micosoft pre-announced built-in support for the Model View Controller pattern in ASP.Net. One of the advantages of an MVC pattern is the cleaner separation between the data, process and presentation mechanisms within a given application, allowing for easier adjustments to changes in process.

    The MVC support will be released as part of a new ASP.Net MVC framework and more details will be announced in the next few weeks. Because of the nature of an MVC application, the ASP.Net MVC framework will not use the existing post-back model for server interaction. As a result, no viewstate or other similar elements associated with the page lifecycle will be supported. Instead it looks likely that all server interactions will post back to a specific controller class instead. I'm guessing that this uses a variation on the cross-page postback model introduced in ASP.Net 2.0 but without the page state.

    There are currently no specifc release dates but it looks likely to release sometime in the first half of 2008.

    You can get more details on this from Scott Guthries blog post on this

  • Fiddling with the Microsoft Mobile Client Software Factory - A Few Bits Makes All The Difference

    64 bit Woes

    I have recently "upgraded" to a new laptop running Windows Vista 64 bit. The machine is blindingly fast at running most software. The problem is getting software to install in the first place. Most of that is down to the fact that it runs 64 bit Vista. I have had lots of problems finding 64-bit drivers for many existing peripherals. Some software refuses to install at all,  but gives no errors. There are so many "reliability and availability" updates for Windows Vista on the Microsoft Downloads site that after a while you start to get worried....

    Many of the recent Microsoft Beta versions such as those for Windows Live Writer seem to be no-go zones currently, as they currently don't support 64-bit versions. In fact for Live Writer you have to revert back to the Beta version 1 to get it to install on 64 bit operating systems.

    Windows Mobile Client Software Factory On 64 bit Operating Systems

    Sadly 64 bit operating system support is also an issue with the Windows Mobile Client Software Factory. The Microsoft Patterns and Practice Group web site warns that installations of the Windows Mobile Client Software Factory on x64 operating systems are not supported. Attempts to install the June 2006 refresh version even with the latest Patterns and Practice Guidance Automation Toolkit (GAT) , fail with a message that the June version of the GAT is not installed. As a result, the installation has to be terminated. This is because the installer does not look in the same location that the 64 bit version has already installed the GAT to. As a result the installer decides to conclude that no GAT has ever been installed! This is only the beginning of many issues however, most of which are installer related.

    If you really want to get Windows Mobile Client Software Factory installed on 64-bit OSes there is a great article by Joshua Mouch on the all the causes and a guide of how to get this to install on 64-bit Vista. A word of warning however - this is not for the faint hearted! It involves hand crafting a registry file that is specifically tailored to the paths on your machine, so there is not much margin for error.  You may also have to open and rebuild the msi itself.

    Other Options

    Whilst I summon up the courage to do this, what other options are there?

    With some careful archive extraction, you can simply load up the various solutions that come with the Mobile Client Software Factory, in Visual Studio 2005.  By doing this, you can still see, manually compile and run all the code that makes up the demos, and sample application blocks.  This at least lets you understand the architecture and code design patterns used.  I managed to get all the examples running, but you may also have to get the AdventureWorks SQL database built and deployed however.  What you don't get is all the project templates to create new mobile solutions and the ability to create Guidance Packages for mobile solutions. This is a shame, as that is kind of the point of trying to install the Factory originally!

    If registry hacking holds too much fear for you, then you could always choose to deploy the Mobile Client Software Factory on a 32-bit Windows (Windows XP or Vista) virtual machine. I've run this previously without issue on 32 bit Windows XP, so it should run just fine. The only issue you may have is difficulties deploying to a physical mobile device, as virtual machines often have difficulty emulating USB or serial connections that correspond to the port the device is physically connected to.

    Sadly there is no word yet from Microsoft on when a workable 64 bit version of the Mobile Client Software Factory will emerge.

    Get Involved With The Next Version...

    In the meantime, you may want to take a look at a more community orientated effort called Mobile Client Software Factory v.Next on the CodePlex site.  CodePlex is a developer community site run by, but not branded by Microsoft. The v.Next project has been set up to continue the previous work done on this by the Microsoft Patterns and Practices Group. It takes the existing factory source code and allow it to be enhanced. Hopefully over time, this will allow the wider technical community to get involved and produce new releases of direct benefit to their own mobile application development. If you are interested, all you have to do is register at the site.

  • Introduction To Windows Mobile Development Talk For NextGenUser Group - Presentation Slides

    As promised to those of you who attended my talk to the Oxford branch of the NextGen User Group in July 2007, I am finally uploading the PowerPoint slides from this talk. Apologies for the delay.

    The talk gave an introduction to the architecture, design issues and software elements required for starting Microsoft Windows Mobile development. The slides are aimed at those with little previous experience of Windows Mobile development and are designed to provide a foundation for further learning.

    The download contains all the PowerPoint slides (in 97-2003 format) used and is in a compressed zip file format. Even zipped, the download is approximately 4.5Mb in size due to the embedded images. It may therefore take a while to download.

    You can get the slides from here

    My thanks to some of the people at Microsoft for their input and technical review of these slides.

    if anyone has has any questions or comments on this please let me know.  

This Blog

Syndication

News