Welcome to MSDN Blogs Sign in | Join | Help

PDC Sessions on Windows Azure (et al)

Here's a handy list for you to get your fill of Azure related content from PDC.

Getting Started
Windows Azure
Codename "Dallas"
SQL Azure
Identity
Plenty of content. If that's not enough then there are also Channel 9 Learning Centers for Azure and for Identity, and you can download training kits for Azure and Identity here.
Posted by maholmes | 0 Comments
Filed under:

GalaxyZoo

Before they headed off to PDC, Mike and Paul headed to Oxford (almost the same weather - takes about the same time to get there too given the ring road) to talk to Chris Lintott and Arfon Smith about the GalaxyZoo.org project which is a "Citizen Science" project inviting users to classify galaxies using specialist skills not available to computers (eyes and intuition mainly).

Chris talks about the Galaxy Zoo and Citizen Science, followed by Arfon talking about the platform behind the project, and it's migration from Rails/MySQL on Amazon to Windows Azure/SQL Azure.

Posted by maholmes | 0 Comments
Filed under:

EyeOnEarth - Environmental Azure App

Just when you think you've escaped the Unified Communications net (THEY CAN ALWAYS FIND YOU!) for five minutes to have a look at Facebook, up pops another buddy - Stu McCarthy - to tell me he's just finished work on EyeOnEarth.eu. Seems like a bunch of MCS chums are involved so well done all.

The official press announcement is here, but in a nutshell you can scan around Europe courtesy of Bing Maps, Silverlight and Azure (hey - the coherent development strategy) and take a look at air and water quality monitors. Cool.
Posted by maholmes | 0 Comments

Office 2010 Beta

Also in the PDC excitement, we announced the availability of Office 2010 Beta which you can find here.

Aside from the main client itself (I've been using a version of that for a couple of months - Sparklines FTW!), there are some other things that are wrapped up in this.
Posted by maholmes | 1 Comments
Filed under:

Coherent Development Strategy (from PDC)

I loved the keynotes at PDC this year - although as I was trying to edit the Day 1 keynote from 2.25 hours to 30 mins for the #MWord event I wasn't loving it so much. That said, the thing about editing is that you really have to listen and get behind the words being spoken.

I recommend the whole of the keynotes for you - particularly Day 1 with Ray Ozzie and Bob Muglia.

For me, most interestingly from Ray Ozzie's keynote was the discussion of "3 screens and a cloud". You've seen this before probably (maybe from @Stevecla), but here Ray said we were delivering on a "single coherent development strategy" in order to develop for that paradigm(watch from about 15 minutes in - oh, and enjoy the "instant seek" of the smooth streaming experience).

In this he defines the components of that strategy as being:
Of course there's a lot of detail in this - particularly as Bob began to drill down into the detail of the announcements. I'm still getting my head around the whole thing. (I know there's a lot, because I was given a 72-page FAQ doc - and that was just for Day 1).

If you're thinking about how to get across the PDC topic areas at a reasonable level then these are maybe the things to think about to begin with:
Sooo much stuff to do. Hope this helps.
Posted by maholmes | 0 Comments
Filed under:

Quick Links from #PDC09 Keynote Day 1

If you didn't catch the keynote from PDC 09 today then you can see the on-demand stream here shortly. This year the keynote was streamed with Silverlight Smooth Streaming: my experience was very good - didn't miss a beat in two hours - and there seemed to be positive tweets from others on the subject too.

Essentially the keynote today was Ray Ozzie and Bob Muglia - aided by a few others - talking about the delivery of some aspects of the Azure platform, and pointing the way to the future. You can see the official press releases here. A few links:
A starter for 10. There'll be a load more tomorrow, so get reading!
Posted by maholmes | 0 Comments
Filed under:

More Media Center: Dual Hauppauge 4000 DVB-S2 Cards

In the latest - and hopefully final - part of the Media Center saga, I've also pushed a second Hauppauge WinTV-HVR4000 card into the machine so I get the multi-channel recording from the satellite channels I can receive (a la Sky+).

Phew - just in time for Sky Player to become available in Media Center. What? Gah...
Posted by maholmes | 0 Comments

Asus EEE 1101HA

I bought a replacement netbook recently: my old MSI Wind didn't really have the battery life I wanted but it worked fine otherwise.

Picking a netbook should be fairly straightforward as the specs are all the same but I was particularly attracted to the EEE 1101HA because of the advertised battery life and 1366x768 (11.6") resolution. The resolution makes Outlook (and some other apps) that bit more usable.

So I picked one up. Nice machine - and it indeed has a great battery life. The 'seashell' design means it's perfect for carrying around. But it runs a Z series Atom processor so it's a bit underpowered and sluggish at times.

I read somewhere (can't find it since) that the Z series can only recognise 1GB of RAM so I was a bit peeved, but turns out it can take 2GB.
So, happy to report that this piece of Crucial RAM has saved the day, and turned the 1101HA into a lovely little machine.
Posted by maholmes | 0 Comments
Filed under:

Dolly Talks IE8

Tremendous video from Dolly Parton (that's some website by the way) in which she talks about the virtues of IE8 and gives us a technical backgrounder in web slices.

"Hell - I didn't even know there was a one through seven"
Posted by maholmes | 0 Comments
Filed under: ,

Silverlight RIA Services Site

Brad Abrams recently put together an epic set of blog posts on RIA Services with Silverlight.
Since then, it seems that he's been busy working on a microsite from the main Silverlight site focused on RIA Services. Nice work, and should be a handy hub for this material.
Posted by maholmes | 0 Comments
Filed under:

Paint.NET 3.5 Released!

If you're a fan of Paint.NET then you'll be pleased to hear that the 3.5 version has been released. There are a bunch of new features and fixes listed on the blog post.

Posted by maholmes | 0 Comments
Filed under:

Silverlight Toolkit on Web Platform Installer

Just noticed that the WebPI now has the Silverlight Toolkit as an install option (it's the October 2009 version). You can still get it from CodePlex too, but this is a handy option for removing that extra bit of friction.
Posted by maholmes | 0 Comments
Filed under: ,

NerdDinner hosted on Windows Azure and SQL Azure

I recently got my hands on a Windows Azure and SQL Azure token to try out a little cloud goodness.

The challenge I set myself was to host an ASP.NET MVC application (including data) in the cloud. Hopefully just an hour or so of fiddling about, but as I hadn't really used Azure before, it would also be a bit of a learning experience.

3 steps seemed to be in order:
    1) Create an MVC Application
    2) Move the application data from SQL Server -> SQL Azure
    3) Move the application hosting to Azure

It turns out that everything I needed to do this is already published but I wanted to pull the threads together. As a result, I haven’t gone into particular detail below – you can find everything you need in the Azure Training Kit.

Step 1 - Create an MVC Application

OK, I couldn't be bothered with that to be honest, so instead I downloaded the reference NerdDinner application from CodePlex - relatively trivial and already working.

Got that, unzipped and then a quick F5 in VS2008 proved that all was well with the app.

Step 2 - Move the application data from SQL Server -> SQL Azure

This is where a little bit of work starts. In principle this is a straightforward migration - script the database and run the script elsewhere - in practice we need to configure SQL Azure, connect to it and also check that the script will run (there are differences between SQL Server and SQL Azure in terms of supported capability).

imageSo, assuming you've got a SQL Azure token, then you should activate the account and set-up a new database. I called mine NerdDinner. You also need to add firewall exceptions so that you can access the database from your dev machine.

I then generated the schemas and data from the original DB via VS.

In principle, you can then run this script into SQL Azure, but in practice, there are differences in the support for various bits of SQL Server functionality. Fortunately, there's a handy migration tool on CodePlex which can provide some validation.

Running the script into that tool confirmed it should be valid. So, then I used the SQL command line to run the script into the SQL Azure database. 

(At this point I should also set up specific user roles for that DB of course).

You can then grab the connection string to the database from the SQL Azure dashboard and change the connection string config file (Connectionstrings.config) in the NerdDinner project. An F5 later, and the original NerdDinner app is now using the SQL Azure database instead.

This step was surprisingly painless, though depending on the complexity of your database YMMV. Oh, NerdDinner uses Linq-to-SQL, but I also did the same thing with Entity Framework and it worked fine for a trivial example.

Step 3 - Move the application hosting to Azure

Now, it would be wonderful if we could just move the Membership provider databases (et al) to SQL Azure too but we can't as there are certain functions not supported. Fortunately - again - the Azure Training Kit provides some code to enable a Membership provider using Azure Table storage.

At this point then, we need to create the Azure solution (so you need to have installed the VS Tools). This involves:image

  • Creating a new 'Cloud Service' project - just use the ASP.NET Web Role. (There’s no default MVC option).
  • Deleting the default ASP.NET Web Role.
  • Adding the existing NerdDinner project to the solution.
  • Associating the NerdDinner project with the cloud service. (Right click Roles –> Associate With… and choose the NerdDinner MVC Project).

This is well documented in the Azure Training Kit.

Also covered in the kit is how to get the Membership provider working. Essentially, that involves:

imageAdding two projects that came with the Azure Toolkit to the solution.
Adding a reference to the membership provider from the....
Ensuring the storage service is running in the development fabric.
Amending the web.config file to take advantage of this provider.

Following this, hitting F5 will fire up the project inside the development fabric - using the new membership provider and still using SQL Azure for application data. There’ll be some messages about creating the storage tables as the solution builds and runs. (We could also remove the redundant membership connection string from ConnectionStrings.config in the MVC project).

So we’re done for tweaking config. At this point, we can move the application to Azure.

Again, presuming you have an account and it is activated, you're going to need a couple of things:


image Hosting for the application – I’ve set-up a host called NerdDinnerService.
Storage for the application – mine is called NerdDinnerStorage.
An affinity group for these 2 services so they can interact.

Now, you can publish the NerdDinnerService project, and then upload the package and config file to Azure. We're not done yet though, as we need to tweak the config on the production cloud. If you've followed the instructions on setting up the membership provider, you'll have a config file with the following entries (for use in the development fabric):

image

So these entries need to be changed for production. Instructions are a bit vague on this, but here's what you need to do:

  • First of all, the “AccountName” is whatever you said when you set-up the storage service. If you can't remember, it's the first part of the service URLs you can see in the Azure dashboard for the storage service that read http://<AccountName>.table.core.windows.net
  • Then you need the shared key - you can see that on the storage service page too.
  • Then you need the URL for the TableStorageEndpoint. You should use https://table.core.windows.net (note the HTTPS which is required if you're NOT allowing Insecure Remote Endpoints as above).

Finish updating the config, save, wait for the package to sort itself out, then run it up and away you go.

You can see my effort at http://mmw.cloudapp.net. DON'T ENTER ANY REAL DATA INTO THE DATABASE (LIKE USERNAMES AND PASSWORDS). I'll take it down in a few days.

I’d like to say “It works on my machine” but then it’s not supposed to. So “It works on my cloud” instead.

Microsoft's Many Multitouch Mice

A useful mouse-wheel still impresses me, but it's great to know that there's a whole bunch of research going on to think about the next generation of our favoured input devices.
 
Posted by maholmes | 0 Comments
More Posts Next page »
 
Page view tracker