By Landon Ferguson, on February 13th, 2012%
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 :: Editing Silverlight page data using Domain Service
By Mark Latchey, on January 27th, 2012%
Introduction:
As we know, Silverlight has limitations for accessing files from local drives. In this article, we will see how to read and write files anywhere in local drives.
Creating OOB Silverlight Application:
Fire up VS 2010 and create a Silverlight Application with the name ReadingWritingFiles.
Setting for OOB Silverlight Application:
The settings for OOB application is given here.
First, go to the . . . → Read More: Silverlight 4 Hosting :: How to Read and Write Files in Silverlight 4
By Landon Ferguson, on November 22nd, 2011%
This article walks through the ‘Enterprise Library: Logging application‘ configuration process to log data to database using WCF service.
Note that regardless of Web service type i.e., SOAP or RESTful the configuration process is same.
Technical environment:-
Visual Studio 2010 with .NET 4.0
Enterprise library 5.0
WCF
ASP.NET Web application on Client end.
Open Service Web.config using Enterprise library configuration tool
Open the Service . . . → Read More: Silverlight WCF Hosting :: Configuring WCF service to utilise Enterprise Library – Logging application to log data to database
By Mark Latchey, on November 16th, 2011%
We can create a custom menu control in Silverlight using the following steps.
Step 1: Create a Custom Menu control in Silverlight.
With the help of ToggleButton and Popup controls in Silverlight, we can create a custom menu control as follows.
<ToggleButton x:Name=”toggleButton” Style=”{StaticResource ColorToggleButtonStyle}” BorderBrush=”{x:Null}” Height=”20″ Width=”90″ Click=”toggleButton_Click”>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width=”20″ />
<ColumnDefinition Width=”58″ />
</Grid.ColumnDefinitions>
<TextBlock Height=”14″ Name=”txtview” . . . → Read More: Silverlight Hosting :: How to Create Custom Control Menu in Silverlight
By Landon Ferguson, on November 7th, 2011%
Service contract means the collective mechanisms by which a service’s capabilities and requirements are specified for its consumers. We must say that it defines the operations that a service will perform when executed. It tells more things about a service, like message data types, operation locations, the protocols the client will need in order to communicate . . . → Read More: WCF Hosting :: WCF Service Contract
By Landon Ferguson, on October 20th, 2011%
By Mark Latchey, on October 11th, 2011%
I’ve been doing some fun Silverlight & Bing Maps development at the moment for ID (more to be revealed later!). Now I have really got stuck in to Silverlight development I figured I would do a blog post on a couple of things I came across and cool functionality I found.
1. Asynchronous calls and updating the . . . → Read More: Silverlight 4 Hosting :: Silverlight 4 Development Tips & Tricks
By Landon Ferguson, on September 29th, 2011%
Introduction
Silverlight 3, 4, and 5 have added an amazing number of new capabilities to the platform in all areas, from core capabilities, to device access, to the introduction of both trusted and sandboxed in and out-of-browser client applications. While Silverlight is still a relatively young technology, it has had 5 major releases in the past four . . . → Read More: Silverlight 5 Hosting :: What’s New in Silverlight 5?
By Mark Latchey, on September 20th, 2011%
By Jonas OReilly, on September 16th, 2011%
Sometimes we need to use controls like TextBox, TextBlock etc (that set their width automatically depending on content) in a ListBox’s ItemTemplate. If we need to draw Borders or assign Background colors to each such controls then we may end up having non-equal rows. Here’s a sample markup:
Here’s the output for the above XAML:
A quick thought . . . → Read More: Silverlight (and WPF) Hosting: How to make items stretch horizontally in a ListBox