WCF Hosting :: How to Fix Error -The underlying connection was closed: An unexpected error occurred on a receive.

This is another installment in the WCF vs. WTF article series. I mentioned before that I am quite a fan of WCF but having said that, feel that there are a few areas for improvement like sending method comments with the service contract discovery and more streamlined debugging, to name a couple.

The truth is that WCF . . . → Read More: WCF Hosting :: How to Fix Error -The underlying connection was closed: An unexpected error occurred on a receive.

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

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 will jump to . . . → Read More: Silverlight 5 Hosting :: Style Setter in Silverlight 5

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 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 HTML5 conferences.

Now, coming to HTML5 Video, the tag itself is simply <video id=”ID” src=”FILENAME.mp4/ogv/webm” > . . . → Read More: Silverlight 4 Hosting :: How to Play HTML 5 Video Using Silverlight

WCF Service Hosting :: Using ASP.NET AJAX Library in WCF Service

More often, the data to shown in an AJAX page is retrieved from the Web server using a Web service, a Windows Communication Foundation (WCF) service. The services that can also return JavaScriptObjectNotation(JSON) are potential candidates for AJAX pages.

This post explains about calling a WCF service using ASP.NET AJAX Library Data View control. The following are . . . → Read More: WCF Service Hosting :: Using ASP.NET AJAX Library in WCF Service

Sponsors

JaringanHosting.com

Cheap Reseller Hosting

Best Blog Hosting Provider

Best European ASP.NET 4.0 Hosting Provider