Accessing Google Web services via Silverlight Client

by Bar Zohan 15. December 2011 19:04
Problem Definition: If anyhow you'd like to access google web services (like Geocoding, Directions api etc.) inside a Silverlight browser application, when you use a webclient do the http request to the service you are going to get a security exception.  This is caused by the cross-domain-pol... [More]

Tags: , ,

.Net Framework | C# | Silverlight | Javascript

JsonHelper for Silverlight

by Bar Zohan 26. October 2010 22:41
Beside parsing all other object types, DateTime parsing from JSON had been a great headache. As I did not need it for the current project I've just ignored DateTime typed attributes of JSON [pi.PropertyType != typeof(DateTime) :)] [code:c#] using System;using System.Net;using System.Windows;using ... [More]

Tags: , , , ,

.Net Framework | C# | Silverlight

Smiley and Color Text Supported Chat Component for Silverlight

by Bar Zohan 26. October 2010 02:37
The following code gives you the ability to use images and different colored text together inside a textblock-like control.   XAML: [code:xml] <StackPanel x:Class="SilverlightUI.ChatText"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   ... [More]

Tags: , , , ,

.Net Framework | C# | Silverlight

Measuring the Size of a String in Silverlight

by Bar Zohan 26. October 2010 02:31
[code:c#]      public static double MeasureString(string s, FontFamily fontFamily, int fontSize)     {            TextBlock t = new TextBlock();          ... [More]

Tags: , ,

.Net Framework | C# | Silverlight

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Page List