February 2012
3 posts
1 tag
WatchWatch
beat-machine: Our pitch at Startup Weekend Redmond
Feb 22nd
2 notes
1 tag
Feb 22nd
1 note
2 tags
Azure SDK for Node.js 0.5.3 is out
We just pushed out a small February update (0.5.3) to the Azure SDK for Node.js, containing the following fixes: #81: Start-AzureEmulator errors if there’s a space in the service path: we corrected an issue where the emulator would fail if there was a space in the path to the service #82: Remove-AzureService prompts for yes/no confirmation: when you want to remove a service, you will now...
Feb 18th
January 2012
1 post
1 tag
Jan 4th
December 2011
3 posts
2 tags
Node.js/express blog on Azure in 5 minutes
Following up on the announcements and demos shown at today’s Learn Windows Azure event, I decided to put together a very quick demo that gets you going on Azure with a real app as fast as possible.  I decided to modify express’ blog sample to use Azure storage, and also pre-configured all the service/role settings that Azure needs so you can get going as fast as possible. Here is the...
Dec 14th
8 notes
2 tags
RIA Services SP2 RTW released
We’re happy to announce the final release of WCF RIA Services V1 SP2: Silverlight 5 tools installer Standalone RIA SP2 installer  In this release, we add the following new features: Support for Silverlight 5 (the standalone installer linked above also supports Silverlight 4) DateTimeOffset support + various bugfixes Entity Framework Code-First development, using this NuGet...
Dec 9th
1 note
1 tag
Dec 9th
November 2011
2 posts
1 tag
Nov 17th
Nov 4th
October 2011
1 post
2 tags
"Active" Federation with Silverlight, WCF, and WIF
In this post I provided a description of the active federation authentication pattern and shared how to implement it with RIA Services. In this post I will show how to do the same but use a regular WCF service instead of a RIA Services DomainService. I am including the diagram from my last post, with some minimal modifications here. I should clarify why I am putting the word active in quotation...
Oct 6th
May 2011
3 posts
3 tags
Hosting WCF NetTcp services in Azure with a...
UPDATE: Folks from the Windows Azure team have posted an improved solution for how to host NetTcp services in Azure by using a WebRole instead of a WorkerRole, which simplifies the setup quite a bit. Silverlight 4 added support for WCF’s NetTcpBinding, which is a performant and scalable TCP-based binding. It is also a useful binding when used in Windows Azure because it is not affected by...
May 17th
2 notes
2 tags
Active Federation using RIA Services and WIF
UPDATE: A coworker here at Microsoft has brought up some interesting thoughts regarding this approach, and I’ve added a brief discussion below the second diagram. Recently I decided to experiment with RIA Services in federated authentication scenarios. For those of you that aren’t familiar with federation, let’s consider the following scenario: my company Contoso builds an...
May 13th
20 notes
1 tag
Debugging SGEN LoaderExceptions errors
Recently we were contacted by a customer who was building a Release version of their assembly in Visual Studio and encountered the following error: You could get the same error if you attempt to run the sgen.exe tool on the built assembly: Microsoft (R) Xml Serialization support utility [Microsoft (R) .NET Framework, Version 4.0.30319.1] Copyright (C) Microsoft Corporation. All rights...
May 7th
April 2011
4 posts
1 tag
Apr 20th
2 tags
RIA Services T4 template to copy comments from...
As you know one of the new features in RIA Services V1 SP1 is support for T4 templates. The T4 template is a design-time artifact that can modify the way RIA Services client-side code generation happens. For more information on T4 templates, check out Jeff Handley’s blog post on the subject. Recently I was experimenting with RIA Services and I discovered that the IntelliSense comments for...
Apr 6th
3 tags
Презентацията ми за WCF и Silverlight от Дни на...
Ето и презентацията ми за Silverlight и WCF услуги в Windows Azure. Очаквайте и демонстрациите скоро! Отдолу ще намерите презентацията и примерите които показах. Примери Използване на WCF NetTcp услуги в Azure от Silverlight Федеративна сигурност с WCF и WIF
Apr 5th
1 note
3 tags
Презентацията ми за WCF RIA Servces от Дни на...
Благодаря на всички които дойдоха на моята презентация за RIA Services миналата седмица по време на Дни на Microsoft ‘11. Отдолу ще намерите презентацията и примерите които показах. Примери T4 templates за копиране на описания от сървърския RIA Services проект в Silverlight проекта Федеративна сигурност с RIA Services и WIF
Apr 5th
March 2011
1 post
3 tags
Accessing SharePoint UserProfileService from...
UPDATE: … and it wasn’t long before Matthew McDermott went ahead and implemented ths as an actual sample, which you can get here. A while back I blogged a workaroundfor accessing some ASMX services from Silverlight 4. The problem was that the guid and char types that those services return are not recognized by Silverlight and you end up with the exception below. One of the important...
Mar 7th
1 note
December 2010
3 posts
3 tags
Dec 13th
1 note
2 tags
Silverlight Firestarter demo
In my previous post I linked to the video and slides from my talk. This point contains the code sample, which is available here. Setting up your machine Here is what you need on the machine before you get started: Windows 7 Visual Studio 2010 Silverlight 4 tools for Visual Studio 2010 SQL Server 2008 Express (which I’m pretty sure comes with Visual Studio 2010 by default) IIS7 Before...
Dec 9th
7 notes
3 tags
Silverlight Firestarter 2010 talk and demo
Thanks to the folks that attended either in pesrson or through the live webcast. I enjoyed giving this talk and I hope you found it useful. The slides for the talk are available here. The demo from the talk is available here.
Dec 9th
1 note
November 2010
1 post
1 tag
Nov 11th
October 2010
5 posts
1 tag
JsonValue guts and glory
As part of the new set of WCF features at http://wcf.codeplex.com, we’re porting a feature that has existed in Silverlight to the framework. JsonValue is the base abstract class for a set of types that you can use to work with JSON data in a weakly-typed way: JsonPrimitive, JsonArray, and JsonObject. The idea here is similar to how you use XElement to work with XML data: you don’t need...
Oct 29th
1 tag
WatchWatch
Amazing visuals - click through for a bunch more videos.
Oct 27th
2 tags
WCF and JavaScript clients at PDC 2010
As you may have heard from @gblock WCF is making some significant new investments around HTTP to make sure HTTP-based services are first-class within our stack. As part of this effort, we are renewing our focus on JavaScript clients and jQuery in particular. To learn more, check out Glenn’s PDC10 talk: Building Web APIs for the Highly Connected Web Friday 10/26/10, 9:00 AM-10:00 AM (GMT-7)...
Oct 27th
4 notes
2 tags
Getting the WebOperationContext of a HTTP response...
This came up as a question from a customer today: how do you get details of the HTTP response message that a WCF proxy in Silverlight received? If you thought of  OperationContext and WebOperationContext, you’re on the right track, but you have only half of the story. In Silverlight, in order to get to these context objects, you have to switch from the event-based async pattern to the more...
Oct 20th
16 notes
2 tags
Speaking at Silverlight Firestarter
Folks, I’ll be speaking on WCF at the Silverlight Firestarter event in December. It’s a one day, global, live streamed and on demand event keynoted by Scott Guthrie. The focus of the event will be to demonstrate that over the last 3 releases Silverlight has grown up to be a very powerful platform for creating engaging experiences on the web/Desktop/phone.  Please click the link to the...
Oct 14th
September 2010
1 post
3 tags
WatchWatch
Check out my recent SilverlightTV video on debugging WCF services in Silverilght.
Sep 24th
August 2010
4 posts
3 tags
Integrating WCF Routing with RIA Services
Recently we have had a few customers ask us how WCF RIA Services integrates with the WCF Routing features shipped in .Net 4. I spent some time over the last week building a prototype and learning about the issues you encounter in this scenario. The sample source code is available here for download. Please keep in mind that in order for the sample works, you need the AdventureWorksLT database...
Aug 24th
1 tag
Aug 17th
1 tag
960 Grid System →
Generate layouts based on grid system, good for prototyping and production.
Aug 13th
1 tag
Semantic/accessible form example →
I find I keep referring back to this old http://alistapart.com example… it’s a little dated, but still very useful.
Aug 12th
March 2010
1 post
3 tags
WatchWatch
Check out my session at MIX10. This session outlines the use cases for the networking and web service technologies available in Silverlight, including Windows Communication Foundation (WCF) and WCF RIA Services. We then focus the core WCF stack and cover basic request/reply scenarios as well as duplex scenarios, where the service can push data to the client. The slides are available here and...
Mar 18th
November 2009
1 post
3 tags
WatchWatch
Check out my talk at PDC09. This session presents an overview of how to expose data to a Silverlight application by accessing web services in the enterprise. We will cover a spectrum of options spanning from the client HTTP stack to WCF to WCF Data Services. We will first show off the functionality of the new client HTTP stack with respect to HTTP verbs, headers, responses, and authentication in...
Nov 17th
July 2009
1 post
3 tags
WatchWatch
Check out my chat with Robert Hess at the Knowledge Chamber on Channel 9. We went over some new WCF features in Silverlight 3, including improvements in PollingDuplex.
Jul 7th