Tag Archives : Pre-Release

Windows Phone 7 or 8?

A double feature – two related posts in the same day!

The Essential Question

Following on from my earlier article on setting up a development environment for Windows Phone 7 development, the next obvious question to answer is: “what to build?”.

Never has there been a more appropriate time to ask this pivotal question, given the recent announcement of the Windows Phone 8, scheduled to be released around the time that Windows 8 (the Operating System) is due to launch.

Some Background

There’s a well documented gripe amongst the community at the perception that Microsoft has abandoned Silverlight; this seems to somewhat hold true. 

Conventional directions appear to send people away from Silverlight if they wish to adopt the Metro style interface. [ http://msdn.microsoft.com/en-us/library/windows/apps/hh465136.aspx ]

Yet, from the forums [ http://forums.create.msdn.com/forums/t/106054.aspx ] comes this quote from Mark Chamberlain [Microsoft]

All Windows Phone 7.x applications will run on Windows Phone 8, and the new Windows Phone 8 developer tools will support building applications for Windows Phone 7.x. This includes both Silverlight and XNA applications. Thus, application developers who wish to target both 7.x and 8.0 phones can build for 7.x.

I’ve attempted to find some concrete answers on what way to best design and build a Windows Phone application which will embrace the new phone and benefits which come with it.  Wisdom states that Silverlight is probably not the horse to back at this stage. 

What To Target?

Here’s some details about what to expect in Windows Phone 8:

Windows Phone 8 programming technologies include:

  • Windows 8 Metro UX (WinRT API) technology (if you are familiar with WP7 Silverlight app development, it is an easy transition to learn this).
  • DirectX/C++ native code development, for apps or games. You can port across pre-existing DirectX applications.
  • Standards-based HTML5 programming which can be surfaced in the app via the Web Browser control or as a web page using IE10

The key statement on the forum is this one:

An app built for 8.0 will not run in Windows Phone 7.x, but an app built for 7.x will run in Windows Phone 7 or 8.

Which means that you will be forced to decide whether you want to take advantage of the new functionality in Windows Phone 8 (thus abandoning Windows Phone 7) or to develop two different code bases (targeting WP7 and WP8 respectively).

Developers building applications using XAML/.NET will be able to reuse substantial amounts of their business logic code across Windows and Windows Phone

If you were to build for both WP7 and WP8, then it might be time to look at the Visual Studio 2012 Release Candidate.

Should you decide to target Windows Phone 8, it might be a good idea to wait for the Windows Phone 8 SDK which is rumoured to be released in late July 2012 (i.e. not too far away).  It seems inevitable than if you wish to build a Windows Phone application, you’ll want to upgrade to the latest development tools.

Visual Studio 2012 Release Candidate


Based on the above, I’m going to start looking at options to target Windows Phone 8 (in isolation) as well as options for a Windows Phone 7 and 8 dual target build.  The latter is probably going to be the most feasible in the short term, while we wait to hear about the next Windows Phone SDK.

A Look at the Release Candidate

Without the Windows Phone 8 SDK, it’s a little hard to know what to do right now, but the logical place to start is to have a look at the Visual Studio 2012 Release Candidate.  It’s a sure bet you’ll need it to any traction with the Windows Phone 8 SDK when it is launched.

I’ve previously done a quick review of the Release Candidate here.  Despite my better judgement, I’ve decided to install the RC on my primary laptop.  I’ve been previously burned by issues in upgrading to RTM editions from pre-release, so this is a calculated gamble.

July RC Update

While we’re at it – don’t forget the July patch which has been recently released.  [ http://www.microsoft.com/en-au/download/details.aspx?id=30178 ]

Product Comparison

Windows Phone development appears to be supported in all versions of Visual Studio 2012:
[ http://www.microsoft.com/visualstudio/11/en-us/products/compare ]

However, as of this writing, there’s no native support for Windows Phone applications in the current crop of Visual Studio 2012 RC editions. It’s likely we’ll have to wait a month for the SDK to come out. Check back in late July for more details.

Obligatory Rant

Here’s the kicker – yet again, Windows Phone development is the poor cousin in the developer tool community.  It is, again, a separate installation (via the SDK). 

It’s actually very poor form from Microsoft to continually ostracise the Phone developer community by not including Windows Phone as a component of the Visual Studio 2012 product proper. 

As if Windows Phone developers haven’t felt enough pain in recent years, with the continual dropping of support for legacy projects (yes, I’m talking about Windows Mobile editions that were dropped from Visual Studio 2010).


So the short answer is.. stay tuned.


Migrate/port a Windows Phone 7 app to a Metro style app
[ http://msdn.microsoft.com/en-us/library/windows/apps/hh465136.aspx ]

Recapping Windows Phone 8 developer news
[ http://windowsteamblog.com/windows_phone/b/wpdev/archive/2012/06/29/recapping-windows-phone-8-developer-news.aspx ]

Status update: Windows Phone 8 Developer Tools (2012.06.21)
[ http://forums.create.msdn.com/forums/t/106054.aspx ]

Visual Studio 2012 Release Candidate
[ http://www.microsoft.com/visualstudio/11/en-us ]

Visual Studio 2012 Release Candidate July 2012 Patch
[ http://www.microsoft.com/en-au/download/details.aspx?id=30178 ]

Visual Studio 2012 Product Comparisons
[ http://www.microsoft.com/en-au/download/details.aspx?id=30178 ]

Windows 8 Consumer Preview: A First Look 2

Recently Microsoft released a ‘Consumer Preview’ of their upcoming Windows 8 operating system. 
Today I downloaded a copy of the release and installed it into a virtual machine.

What follows are screenshots of the installation process, and some notes about the OS once it has finished installation.


The setup process is very similar to the previous operating system (Windows 7). 
Since I was installing to a virtual machine, I simply mounted the .iso (DVD image file) and started the VM, which kicked off the install process.


Initial bootloader setup

To begin, I selected defaults (US settings) and continued on to the setup.  I installed to a VM with a hard drive size of 80 GB memory and 4 GB of RAM.
The file expansion/copy process was very quick, faster even than the Windows 7 install.




There was a certain amount of time as the operating system detected and configured attached devices, etc. 
Since I have very few defined for the virtual machine, this did not take as long as I’ve heard other reports of.


There were a few reboots before the main OS was loaded.  The initial state is a personalization assistant. 
I was quite amused by the colour ‘personalization’, which you can see I used in the below screenshots.


Setting the Machine name and colour personalization

The first few settings deal with the identity of the new machine. 
Subsequent settings can be set with the ‘express’ option, or you may manually choose your settings.


Details of Express Setup vs. Manual / Select Express or Custom

I’m always a fan of verbose settings, so I chose the manual configuration.


Settings for Patching and Security / Information which gets sent to Microsoft

Many of the settings deal with setting up Windows Update along with other preferences. 
There are some privacy settings which you might want to take note of.


Even further communication/privacy settings

Given the focus on a more “app store” driven environment, there are some new settings which determine what kind of information is shared with applications.


Windows Live has been rebranded to Microsoft Online Services, and the former Live ID is now referred to as a “Microsoft account”. 
You can enable integration with your (former Live ID) account so that you can use the Microsoft “Windows Store” presumably to download or purchase apps for Metro (the new non-desktop mode) and other Desktop applications.

Note that you have the option not to use a registered account (the last option at the bottom of the screen).

Associating your ‘Microsoft Account’



Signing In


Now that you’ve created an account, Windows will log you in for the first time.  This doesn’t take very long and you are presented with the (default?) Windows Metro interface.
For those of you familiar with the Windows Phone 7, this will be a slightly familiar interface, but slightly expanded.



We’ll come back to Metro in a bit.  Curious minds (like mine) might want to know what has happened to our more familiar desktop environment. 
No, it’s not been banished (yet); click on the “Desktop” icon at the bottom left hand side.

Desktop Mode


Looks familiar enough.. except.. where’s the Start menu?


That’s a fairly significant change.  I plodded around the desktop looking for some sign of how to engage a menu.

Mystery Solved?

Naturally, I played with Task Bar settings (some changes there) before I (almost accidentally) dragged the mouse the the right hand side edge of the screen (over the date/time) in the system notification area. 
Here I located a new interface for (Start menu-like) functionality: mystery solved.


So I launched Internet Explorer, to see what’s happening.  Windows 8 is shipping with a preview edition of Internet Explorer 10.


It will be interesting to benchmark the new browser and find out what changes have been made (in a later post).


The Task Manager has been totally redesigned (as above). 
I wasn’t a big fan until I clicked on “More details”:


I’ll be writing another post soon breaking down the completely redesigned Task Manager.

How do I return to Metro?

Now, to go back to Metro, you use the hidden side menu and click on the “Start” option.  From here you can launch any of the Metro apps, which presents you with a very Xbox or Windows Media Center User Interface.


The Photo app

This is a very early review, check back soon for more details as I start digging into the new operating system!


Download the Windows 8 Consumer Preview .iso (disc images) – there’s more than just English!

The Last Word


SQL Server 2012 Release Candidate 0 1


In December 2011, Microsoft released an early Release Candidate (RC) of SQL Server 2012 (formerly known as codename Denali).

There are a bunch of new things in SQL Server 2012 – here’s a list of just a few:

To find out more about what is coming in SQL Server 2012 check out the following “What’s New?” page

Downloading SQL Server 2012 RC 0

I’ve found the easiest way to proceed with the RC0 is to obtain a DVD .iso (image) of the whole kit, otherwise, you can download it in component parts to keep your download footprint minimal.

The following location is the “correct” download link: http://www.microsoft.com/download/en/details.aspx?id=28145 or you can just go directly to the beta experience website here: http://www.microsoft.com/betaexperience/pd/SQLDCTP3CTA/enus/

Installing SQL Server 2012 RC 0

SQL Server, in recent years, has had one of the best setup and installation experiences of any Microsoft product on the market.  Well, based on y experience with the 2012 RC 0 release, this is getting a little more complicated.

The next few screenshots will guide you through a fairly straightforward configuration, using the latest release.

Installation Screenshots

1. Execute the installation package
2. In the SQL Server Installation Center, select the Installation option
3. From here, jump right in and click on “..new installation”
4. You’ll get all the prerequisite checks and loading of setup files, just proceed as you would with a prior
    edition of SQL Server
5. Once the main installer kicks in (you passed all the prerequisite checks etc), you’ll get to the intro page
6. Click through to the licensing page – note we’ll keep it on Evaluation:


7. Next, we’re going to select the first option (feature installation):


8. In the feature selection page, I’m selecting all features, but you should select just what you’re going to want
    to evaluate:


9. Skipping ahead through some screens now (they are unchanged from 2008 R2), the Server Configuration page has changed, requires you to individually set service accounts.

Best Practice: Use a different account for each service
Best Practice II: In a domain environment, if you wish to use Kerberos, ensure you use a Domain account for the service identity, and ensure the proper ADSI settings are set


10. Assign some user accounts as System Admins.  I always assign the local machine admin (in non-Production environments) and a Domain Admin (in a Domain environment) so that we don’t get accidentally locked out.


11. Same procedure for Analysis Services (if applicable):


12. Reporting Services has changed a little since 2008 R2, you have a few options for configuring native mode or SharePoint Integrated mode.  The native configuration is handy if you don’t have any exotic configuration requirements:


13. The Distributed Registry Controller (optional) is new to 2012.  You can only assign user accounts (not groups).  If you accidentally add a group, it’ll complain – and then (in my experience) crash..


13.1. Oops, a soft crash when trying to remove the offending group (best to avoid this situation):


14. If you’ve chosen it, the Distributed Replay client needs a Controller name:


15. Finally, assuming you’ve accepted most of the defaults, you may arrive at the summary screen:


16. When you are happy, you can kick off the install.  It may take a while, if you’ve selected a number of features.  Finally, if all goes to plan, you hopefully will end up with a success:


..and it’s probably time for a reboot. 

Post-Install Sanity Check

After the system has restarted, we can check out all the new stuff installed:





Well, this was a lesson in patience from my perspective.  Whilst nowhere near as challenging of some other products, there are a few new things to consider when installing SQL Server 2012. 

As always, it helps to read the installation guide.  There are a number of new changes this time around, so even if you’ve done plenty of SQL Server 2008 installs, it might pay to do a quick skim of the install material first.

Lastly, as always, it pays to properly plan your infrastructure.  I’m usually installing into sandboxes, so what I’ve presented here is by no means what I’d recommend for a production system.  If you are planning a production system with a pre-release edition, all power to you (brave).

Please always keep these issues in mind when planning your SQL/Infrastructure:

  • Disaster Recovery,
  • Fault Tolerance,
  • Availability and Scale,
  • Persisted Storage requirements,
  • Physical hardware limitations, and,
  • Backup and test your backup strategy!

Further Reading

Tutorials and Samples for SQL Server 2012 RC 0

Microsoft SQL Server Data Tools (SSDT)