Yavor Georgiev

Yavor is a PM at Snowflake working on developer experience. Previously at Docker, Auth0, Hulu, and Microsoft Azure.

Silverlight Firestarter 2010 talk and demo

08 December 2010

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.

Read More

JsonValue guts and glory

29 October 2010

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 to pre-generate a strong type to deserialize into.

Basics

We start with a JSON string, and we parse it easily in one line.

~~~ javascript string customers = @” [ { “ID” : “538a868a-c575-4fc9-9a3e-e1e1e68c70c5”, “Name” : “Yavor”, “DOB” : “1984-01-17”, “OrderAmount” : 1e+4, “Friends” : [ “007cf155-7fb4-4070-9d78-ade638df44c7”, “91c50a40-7ade-4c37-a88f-3b7e066644dc” ] }, { “ID” : “007cf155-7fb4-4070-9d78-ade638df44c7”, “Name” : “Joe”, “DOB” : “1983-02-18”, “OrderAmount” : 50000, “Friends” : [ “91c50a40-7ade-4c37-a88f-3b7e066644dc” ] }, { “ID” : “91c50a40-7ade-4c37-a88f-3b7e066644dc”, “Name” : “Miguel”, “DOB” : “1982-03-19”, “OrderAmount” : 25.3e3, “Friends” : [ “007cf155-7fb4-4070-9d78-ade638df44c7” ] } ]”;

Read More

WCF and JavaScript clients at PDC 2010

26 October 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)
In person: Kodiak Room / Microsoft Campus Redmond, WA
Live stream: http://player.microsoftpdc.com/Session/17a9e09f-4af1-4ef3-8a5a-ebf1e9bd9c8e 

And to leave you with a little teaser… join us for the talk to find out more!

~~~ csharp WebClient client = new WebClient(); string result = client.DownloadString(“http://search.twitter.com/search.json?q=%23PDC10”);

Read More

Getting the WebOperationContext of a HTTP response in Silverlight

20 October 2010

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 complex Begin/End-based async pattern. Within that pattern, you need to instantiate an OperationContextScope and call the End* method inside that scope, before you can access the context objects themselves. Check out this code snippet:

~~~ csharp public MainPage() { Service1 proxy = new Service1Client() as Service1; proxy.BeginDoWork(new AsyncCallback(Callback), proxy); }

Read More

Speaking at Silverlight Firestarter

13 October 2010

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 left to register - it’s free!

Any thoughts on particular web services topics you want me to cover?

Read More