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

Silverlight 5 Hosting :: Style Setter in Silverlight 5

. . . → Read More: Silverlight 5 Hosting :: Style Setter in Silverlight 5

Silverlight 5 Hosting with ASPHostCentral.com

Microsoft Silverlight is a powerful tool for creating and delivering rich Internet applications and media experiences on the web. Silverlight 5 builds on the foundation of Silverlight 4 for building business applications and premium media experiences. Among other capabilities, the Silverlight 5 release candidate highlights dramatic video quality and performance improvements, and features that improve developer . . . → Read More: Silverlight 5 Hosting with ASPHostCentral.com

Silverlight 4 Hosting :: Silverlight 4 Development Tips & Tricks

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

Silverlight 5 Hosting :: What’s New in Silverlight 5?

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?

Silverlight 5 Hosting :: RichTextBoxOverflow Control in SilverLight 5

. . . → Read More: Silverlight 5 Hosting :: RichTextBoxOverflow Control in SilverLight 5

Silverlight (and WPF) Hosting: How to make items stretch horizontally in a ListBox

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

Silverlight 4 Hosting :: How to Play HTML 5 Video Using Silverlight

One of the popular HTML5 tags is the video tag.  The ability to play videos without depending on a plugin is something that excites web developers to a great extent and no wonder you end up seeing video demos in all . . . → Read More: Silverlight 4 Hosting :: How to Play HTML 5 Video Using Silverlight

Sponsors

Advertise Here

Cheap Reseller Hosting

Best Blog Hosting Provider

Best European ASP.NET 4.0 Hosting Provider