WCF 4.5 Hosting :: Intellisense support for config file in WCF 4.5

Today, in this article let’s play around with one of the interesting and most useful concept in WCF 4.5.

Question: What is intellisense support for configuration file?

In simple terms “It provides easy and friendly way to access the code while . . . → Read More: WCF 4.5 Hosting :: Intellisense support for config file in WCF 4.5

WCF Hosting :: Simplify WCF Development by Hosting a WCF Service Library in an ASP.NET Project

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 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”

WCF RIA Hosting :: Using Attribute Validation in Silverlight with WCF RIA Services Example

In this example I’ll use WCF RIA services because it can wire the example up quickly, it automatically projects the data annotations, and because I get a lot of people who ask me for examples using WCF RIA. The example here will work just as well if you use your own POCO classes with annotations in . . . → Read More: WCF RIA Hosting :: Using Attribute Validation in Silverlight with WCF RIA Services Example

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 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 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

Sponsors

JaringanHosting.com

Cheap Reseller Hosting

Best Blog Hosting Provider

Best European ASP.NET 4.0 Hosting Provider