Error when using HTTP Portable class library & compression

I was trying to use the new HTTP Portable class library with the new compression capabilities (as described in this MSDN post).

I created a portable class library that retrieved data, and then used that library in my app. However my app kept throwing this error:
Method not found: ‘Void System.Net.Http.HttpClientHandler.set_AutomaticDecompression(System.Net.DecompressionMethods)’.

After searching for hours, I discovered the issue is that you need to add the portable HTTP client to BOTH your portable class library AND any app that consumes that assembly. I resolved the issue simply by adding the portable HTTP client Nuget package to my app.

Community report – XDDN Melbourne April

Ian Randal (@kiwipom) spoke at the XDDN Melbourne April meeting.

He lightly touched on what IoC is, in the context of how Caliburn.Micro uses it. He then went on to show some demos of  Caliburn.Micro. He demonstrated how a XAML page can be created which binds to a ViewModel, without requiring any “UI glue code” to stick it all together. It made for a simple application that had a higher percentage of the code being business logic, rather than scaffolding.

A recording of the talk can be found below


https://vimeo.com/41073059/

By David Burela

XDDN around Australia

To try and streamline the XDDN groups around Australia, I have been working with the organisers of the other cities to create a few central locations for everything.
For those unfamiliar with XDDN, it is a usergroup I run that focuses on UX, Design and Development on Microsoft UI platforms. Such as Win8, WinPhone7, HTML5, etc.

The main reason for moving everything to Meetup is that it allows everyone to easily see upcoming events and get automatically notified when new events are created.
Having XDDN on Meetup.com also supports my other goals of getting more people involved with their local development communities. Joining the groups will allow you to easily find other local groups that you may want to attend, such as Agile or Alt.Net groups.
Please join the group for your city, as the old event sites (such as EventBrite) will be slowly decommissioned over the next few weeks.

XDDN Melbourne – April meeting

This month I have organised for Ian Randall (@Kiwipom) to talk at the April XDDN meeting.

I have also created a new twitter account @XDDN_AU from which I will be tweeting all of the sessions for Melbourne, Sydney & Perth. Be sure to follow it.

Register here: http://xddn-melbourne-april2012.eventbrite.com/

Learn about creating great MVVM applications with LESS CODE. Ian Randall will be demonstrating how to use Caliburn.Micro to create cleaner XAML based applications. These techniques will work with WinRT (Windows 8), Silverlight, Windows Phone 7 and WPF.
Caliburn.Micro can be downloaded at http://caliburnmicro.codeplex.com/

Time: 5:30 pm networking & pizza.
6:00 pm presentations start.

Caliburn.Micro – Ian Randall

Caliburn.Micro (http://caliburnmicro.codeplex.com/) is more than just an MVVM library, it’s a client application framework that works every bit as hard for your app that a web framework does: Logging, composition, binding, and much, much more.
This session will cover getting started with Caliburn.Micro and give practical demonstrations of Convention Over Configuration, Actions, Screens & Conductors and will go a bit deeper under the covers (if we get time).

Ian Randall is a software developer for Datacom in Auckland and a XAML geek on the internets. He helps to run the Metro Meetup in Auckland and just spent the last 6 months putting on ‘codemania’ (http://codemania.co.nz). He is currently trying to catch a breath…
He loves Melbourne, partly for the friendly Victorian people, but mostly for @aeoth’s legendary chocolate brownies.

By David Burela

I’m speaking at the Melbourne March XDDN

I’m speaking at Melbourne XDDN this month. With the Windows 8 Consumer Preview released, now is the perfect time to reexamine Windows 8. Below are the meeting details:

Register here: http://xddn-melbourne-march2012.eventbrite.com/
Date: Wed 21st March
Time: 5:30 networking & pizza. 6pm presentations start

A tour around Windows 8 – David Burela
Windows 8 has been announced to the public and is being branded as “Windows reimagined”. This introductory session will show some of the new features coming with Windows 8.
A touch first interface, user account syncing via the cloud, “charms”, app to app data sharing, and the ability to use a picture password to log into windows will all be demonstrated.

Getting started with Windows 8 development – David Burela
So you’ve heard that Windows 8 has a new way of applications known as “Metro styled immersive apps”, but what does this actually mean? What is WinRT? Is Microsoft really making developers use HTML5 to create desktop apps? What about your previous investments in Silverlight?
Join David Burela as he helps clarify what the new programming model is and what impact it will have on you. Explanations of WinRT and how to create basic applications will be shown.

By David Burela

I’m speaking at the Melbourne September XDDN

I’m speaking at the Melbourne XDDN this month. Now that Windows 8 and the WinRT programming model has been released, it makes sense to focus on them. Below are the meeting details:

Register here: http://sddn-sep-2011.eventbrite.com/
Date: Tue 27 Sep
Time: 5:30 networking & pizza. 6pm presentations start

A tour around Windows 8 – David Burela
Windows 8 has been announced to the public and is being branded as “Windows reimagined”. This introductory session will show some of the new features coming with Windows 8.
A touch first interface, user account syncing via the cloud, “charms”, app to app data sharing, and the ability to use a picture password to log into windows will all be demonstrated.

Getting started with Windows 8 development – David Burela
So you’ve heard that Windows 8 has a new way of applications known as “Metro styled immersive apps”, but what does this actually mean? What is WinRT? Is Microsoft really making developers use HTML5 to create desktop apps? What about your previous investments in Silverlight?
Join David Burela as he helps clarify what the new programming model is and what impact it will have on you. Explanations of WinRT and how to create basic applications will be shown.

By David Burela

BUILD keynote day 1–Metro experience with Jupiter, XAML and HTML5/JS

Highlights

  • You can download the developer preview of Windows 8
    http://dev.windows.com/
    http://blogs.msdn.com/b/b8/archive/2011/09/13/welcome-to-windows-8-the-developer-preview.aspx
  • The confusion around HTML5, xaml and Jupiter is finally cleared up.
    The new immersive apps (full screen, metro style apps which are launched from the tile based interface) can be built in either C#/XAML or HTML5/JS. Under the covers it reflects into the WinRT APIs. Apps built like this will run on ANY Win8 machine (x86, ARM, etc)
    clip_image001[4]
  • Silverlight & WPF are “legacy”. They put it onto the slide for show. The Win8 xaml looks to be 90% compatible with Silverlight. Demos are shown where they take a Silverlight app, copy/paste the code into a new Win8 XAML app, and only a few namespaces need to be changed. A silverlight grid is then changed to use the native WinRT grid to make it touch enabled and “Metro-y”
  • The Win8 XAML app is ported to Windows Phone 7 with only 1 line changed.
  • New version of Visual Studio available to help build apps for Win 8 “Microsoft Visual Studio 11 Express for Windows Developer Preview” (got to love Microsoft product names)
  • Expression blend works for editing the HTML5/JS apps
  • The native WinRT controls work in XAML and HTML5
  • New windows 8 app store. Store & submission process VERY similar to Windows Phone 7. Can submit via Visual Studio
    Paul Thurrott: “Biggest point of Windows Store: Microsoft is NOT taking a 30 percent cut. It will take a ZERO percent cut.”
  • Win8 machines can be easily restored back to a “clean base image” that developer can specify. Keeps all files, just reverts apps. (Reset/Refresh)
  • Windows Live application integration. Nice support for photos, calendar, mail, people. Very similar to Windows Phone 7 built in features.
    Windows user account settings Synced across PCs via the cloud (profile photo, etc)
  • Win8 specs are the same as Win 7. Consumes less memory after startup.
    Boot times have been massively reduced. Cold boot demo shows the PC almost starting faster than the monitor can turn on.

Useful articles

Read the rest of this entry »

Silverlight Firestarter 2010 keynote

Summary

  • Silverlight 5 coming out end of next year (2011).
  • Silverlight 5 will have lots of performance improvements
  • Some new features that brings it closer to WPF
  • XAML debugging
  • Profiling tools for CPU & memory. looking forward to that
  • They say “Media applications” way too many times in the first 15 minutes to try and emphasise that that is the focus of Silverlight
  • WAY too many similar apps shown and reshown from different companies, their own spin on a “Silverlight Line of Business application with interactive charts”.
  • Lots of nice new 3D accelerated capabilities that were played down. In my opinion THIS should have been the target of the keynote/Silverlight. This is something that HTML5 doesn’t do so well yet.

Read the rest of this entry »

My community involvement in the last 2 years

PDC 2010 has come and gone. I thought it would be interesting to see what I have done in the last 2 years since PDC 2008. Looking back at my presentations and blog posts, I feel quite proud with the amount of involvement I’ve had with the community. Seeing everything laid out like that makes me realise just how much I enjoy participating in helping to share knowledge with the developer community.

There is so much that I’ve just forgotten about and left off the list, it is impossible to keep track of everything. You can look forward to lots more involvement in the next 2 years!

I’ve also got a running list of usergroup presentations I’ve done on my About page

Highlights

  • Did my first Azure usergroup presentation within 3 weeks of Azure being announced at PDC
  • Presented at Remix 2009 on Azure
  • Started the Australian Azure mailing list
  • Started an Azure community support site AzureQuestions.com (which has now been decommissioned)
  • Flew around Australia and attended 4 out of 6 Australian Cloudcamps. It was “unconferences” style with breakout discussions where I would answer all Azure related questions
  • Recorded all cloudcamp lighning talks and uploaded them, in an effort to increase cloud knowledge in the community (16 so far with more to come)
    http://www.vimeo.com/album/1469190
  • Trying to involve the .Net community at large with more cross posting (via the Developer Blog banter)
  • Trying to involve the community more with “Community reports” of things happening such as presentations, lightning talks or interviews with people / companies
  • Recorded community group presentations and uploaded them to help increase the visibility of local speakers and improve the visibility of local user groups
    http://www.vimeo.com/album/1469195
  • I still have 15 videos of sessions to process and upload
  • Got 2 new presenters to start their Melbourne presentation debuts
  • Presented at Codecamp 2009 on Azure & artificial life in the cloud

Cloud related activities (presentations & blog posts)

Other community involvement

By David Burela

Slides from my WPF talk

I did a talk at the victoria .Net usergroup on WPF, so i decided to share my slides in case anybody finds them useful

A lot of my talk was done using demos that i would create from scratch in front of people, so there it might be a little light on. But it could be useful for anybody else wanting a base to start from.

During the presentation i showed the WPF bag-o-tricks http://j832.com/bagotricks/, as it is a great way to show people the shinyness of WPF.
And as always i point people to my list of WPF links for beginners http://davidburela.wordpress.com/2008/09/28/wpf-links-for-beginners/

The Slides: 20081215-vicnet-wpf.pptx

By David Burela

Follow

Get every new post delivered to your Inbox.