As you already know that, it is a new feature in Silverlight 5 and hence was not available in earlier version of Silverlight. So, how did we implement the style setter in previous versions? Let’s start from the scratch, where we will know how to use a Setter in Style and then we . . . → Read More: Silverlight 5 Hosting :: Binding on Style Setter Silverlight 5
Today, in this article let’s play around with one of the interesting and most useful concepts in WCF 4.5.
Question: What is intellisense support for configuration file?
In simple terms “It provides an easy and friendly way to access the code while working with the config file. The intellisense support is now enabled for the WCF config file”.
Step . . . → Read More: WCF 4.5 Hosting :: Intellisense Support For Config File WCF 4.5
When we open Silverlight 4 application in Silverlight 5 we get following errors
1> error : Unable to read the project file ‘Silverlight4App.csproj’.
2> Silverlight4App.csproj(137,3): The imported project “C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets” was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
This error . . . → Read More: Silverlight 5 Hosting :: How to Convert Silverlight 4 Application to Silverlight 5
I’ve been hoping to share a super simple sample app to showcase PivotViewer in Silverlight 5. I hope this walk through is something you will find useful!
First, let’s take care of the pre-requisites:
Install Visual Studio 2010 SP1:
Notes for the RC of Silverlight 5:
Download and install the Silverlight 5 Runtime and Tools for Visual Studio using the . . . → Read More: Silverlight 5 Hosting :: Simple Sample PivotViewer App in Silverlight 5
In this article we will explore the new features and enhancements in Silverlight 5. As of this writing, Silverlight 5 has been released. To execute the code examples illustrated in this article, you should have the following installed in your system:
Visual Studio 2010
Silverlight 5 SDK
Silverlight 5 Tools
. . . → Read More: Silverlight 5 Hosting :: Best Features in Silverlight 5
This post discusses to edit the displayed data in Silverlight page and save the changes back to database. Insert, Update and Delete operations can be done using domain service object context. All the changes you made to this object are collectively submitted to the database when you call the SubmitChanges method.
This post requires to create a . . . → Read More: Silverlight Hosting :: How to Edit Silverlight page data using Domain Service
I wanted to make a few notes regarding my recent experience of deploying a Silverlight application in web farm environment. Here is what the topology looked like. It included load balancer appliance configured to redirect the traffic to one of three servers. There was also SQL Server cluster in active-passive configuration. The . . . → Read More: Silverlight Hosting :: Pitfalls of Deploying Silverlight Applications in Web Farms
It’s easy to test a service if you create it in a Windows Communication Foundation (WCF) Service Library — just press F5 to bring up Visual Studio’s Test Client. Testing isn’t as easy if you create your service in an ASP.NET project — you have to write your own test client. However, . . . → Read More: WCF Hosting :: Simplify WCF Development by Hosting a WCF Service Library in an ASP.NET Project
Silverlight 5 has another new feature called Ancestor Relative source binding. It was already available in WPF and has been newly introduced in Silverlight 5 beta. Using this, you can now bind to the relative ancestor elements very easily.
Let’s discuss it with a small example where we will create a Control Template for a Button and . . . → Read More: Silverlight 5 Hosting :: Anchestor Relative Source Binding in Silverlight 5
In Silverlight 5 we introduce a new element, RichTextBoxOverflow. This allows one RichTextBox to have its contents “overflow” into another – excellent for multi-column presentation.
What is particularly nice here is that as you adjust the size of the browser window, the text reflows freely between the two RichTextBoxes, with the Overflow box picking up the extra.
To . . . → Read More: Silverlight 5 Hosting :: Rich Text and Overflow in Silverlight 5