Tuesday, November 29, 2011

Windows Phone 7 Development tips presentation

Here are the slides from my recent presentation in case you need any of the links.

You may also want to look at:

Friday, November 18, 2011

HTTP/1.1 WebRequest with the Expect: 100-continue header

Ran into an issue today when calling a web service from .NET.
If the Expect: 100-continue HTTP header was included in the request the web server would flip out and return a response that couldn't be parsed. Fiddler gave it as:

HTTP Protocol Violation
Fiddler has detected a protocol violation in session #41.

Cannot parse HTTP response; Status line contains no spaces. Data:

[Fiddler] Response Header parsing failed.
Response Data:
30 0D 0A 0D 0A                                                           0....                

In .NET is appeared as:

The server committed a protocol violation. Section=ResponseStatusLine

Apparently this header is added automatically by .NET when doing a POST with HTTP/1.1 to indicate that the post data isn't sent with the initial request. So if the web server rejects the request we hasn't wasted time sending all the data up. This has also been a known issue for some time now - See HttpWebRequest and the Expect: 100-continue Header Problem from 2004.

The solution to stop the header being added is relatively simple:

WebRequest request = null;
((HttpWebRequest)request).ServicePoint.Expect100Continue = false;

Monday, November 14, 2011

Getting WP7 Reviews from all Marketplace locales

Currently from the App Hub - Application Details page it is only possible to see the reviews from one locale at a time.

The Windows Phone 7 Review Reader in an online Silverlight application that can aggregate all the results for an app given the Application Id Guid.

Tuesday, November 8, 2011

Nelson .NET User Group Presentation - Windows Phone 7 Development tips + Microsoft LightSwitch as a DR system for Salesforce

Upcoming meeting

This presentation is coming up at the end of the month. Please let me know if you are planning of attending.


Windows Phone 7 Development tips

Microsoft LightSwitch as a DR system for Salesforce


A presentation on using Microsoft LightSwitch as a DR platform for Salesforce.

Followed by a separate presentation on getting started with WP7 development from start to a finished submission.


I will have 5 Windows Phone developer account tokens to issue to attendees. These won't be given away as random prizes but are intended for people who have a WP7 application to publish to the marketplace.
My current intention to try and keep things fair is to issue them on a first come first served basis to people who are ready to submit an application to the marketplace.

Useful links:

Tuesday 29th November 2011
Gather at 11:50 am, starting at 12:00 pm.
Approximately 1 hour plus pizza afterwards.

FuseIT Ltd,
Ground Floor,
7 Forests Rd,
(Off Nayland Rd and behind Carters)


If you are parking on site, please use the parks marked FuseIT that are at the back of the site.

Catering: Pizza & Drinks
Door Charge: Free

RSVP to me if you are going to attend so I can guesstimate the food and drink requirements.

However, feel free to turn up on the day though if you can't commit at the moment.

Please feel free to invite anyone who may be interested in attending.