Silverlight 4.0 Hosting :: Developing a Silverlight 4.0 Application Using WCF RIA Service Class Library

Microsoft Silverlight is a powerful tool for creating and delivering rich internet applications and media experiences on the Web. Its functionality is similar to Adobe Flash, integrating multimedia, graphics, animations and interactivity into a single runtime environment. Silverlight’s initial emphasis was on providing rich media experiences; enabling designers and developers to add rich degrees of interactivity, . . . → Read More: Silverlight 4.0 Hosting :: Developing a Silverlight 4.0 Application Using WCF RIA Service Class Library

Silverlight 4.0 Hosting :: Embedding Custom Font or Dynamics CRM font in Silverlight 4.0

When you need to use a custom font/Dynamics CRM font which is not available in your Silverlight applications then just “embed” it as shown in this blog.

First of all get the font file (.ttf), if font is already exists at your system then you could find it at “C:\Windows\Font”; otherwise download that font file from the . . . → Read More: Silverlight 4.0 Hosting :: Embedding Custom Font or Dynamics CRM font in Silverlight 4.0

Silverlight 4 Hosting :: UserControls and the dreaded “name already exists in the tree”

I was doing some work with Silverlight the other week which involved using UserControls where the control named itself. That is, a situation such as;

<UserControl x:Name=”foo”>

<!—Content of control –>

</UserControl>

and, under unpredictable circumstances I was finding that I kept hitting a semi-random error when running my code which was something along the lines . . . → Read More: Silverlight 4 Hosting :: UserControls and the dreaded “name already exists in the tree”

Silverlight 4 Hosting :: Customer IApplicationService for Silverlight Applications

In my experience working with Silverlight applications, probably one of the most underused features I’ve witnessed is the ability to abstract application-level functionality using the IApplicationService and IApplicationLifetimeAware interfaces. This, in turn, results in the over-use (and abuse) of the Startup and Exit events in the Application object. Before you get angry with me shaking a . . . → Read More: Silverlight 4 Hosting :: Customer IApplicationService for Silverlight Applications

Silverlight 4 Hosting :: Data Contracts and Behaviors over the Wire Silverlight 4

One feature I employ often in Silverlight projects is the ability to share a model between the client and the server. When you expose a model using a WCF service, you can consume it on the Silverlight side and indicate you want to reuse types in a referenced assembly, rather than having the proxy types generated. . . . → Read More: Silverlight 4 Hosting :: Data Contracts and Behaviors over the Wire Silverlight 4

Silverlight Hosting :: Editing Silverlight page data using Domain Service

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

Silverlight 4 Hosting :: How to Read and Write Files in Silverlight 4

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

Silverlight WCF Hosting :: Configuring WCF service to utilise Enterprise Library – Logging application to log data to database

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

Silverlight Hosting :: How to Create Custom Control Menu in Silverlight

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

WCF Hosting :: WCF Service Contract

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

Sponsors

JaringanHosting.com

Cheap Reseller Hosting

Best Blog Hosting Provider

Best European ASP.NET 4.0 Hosting Provider