WCF Hosting :: Understanding WCF Bindings and Channel Stack

In order to understand WCF Bindings in details, it’s important to understand the Channel Stack as part of the WCF runtime.

WCF binding is composed of binding elements and each binding element is corresponds to a specific channel in the Channel Stack. The Channel Stack can be categorized into two major areas i.e. Protocol Channels and Transport . . . → Read More: WCF Hosting :: Understanding WCF Bindings and Channel Stack

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.

WCF RIA Hosting :: Use DomainServices as Service References

DomainServices was introduces as part of WCF RIA Services. WCF RIA Services offers a solution on how we can build a middle-tier having clients and servers.

Using a DomainService in a Silverlight client is very easy using WCF RIA Services – the WCF RIA Services link between the client and the server will automatically generate the client . . . → Read More: WCF RIA Hosting :: Use DomainServices as Service References

Silverlight 5 Hosting :: Basic About Silverlight 5

In this article we are going to explore the WCF Ria Services with Silverlight 5. Lets start with the basics for the first timers .

Create a new SL project as shown below :

Note the DLLs that are added when you enable WCF RIA Service support.

In the web project Add New Item . Add a Data Model . . . → Read More: Silverlight 5 Hosting :: Basic About 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 :: Passing Values between Pages in a Silverlight 4 Navigation Application

Often you’ll want to pass selected values from one page in a Silverlight 4 application to another.

Query Strings are a valid approach, but you might want to pass more than simple strings or IDs in the URL.

This quick walkthrough will show you to use access a simple static variable from one page, on another.  This could . . . → Read More: Silverlight 4 Hosting :: Passing Values between Pages in a Silverlight 4 Navigation Application

Silverlight 4 Hosting :: Splash Screen in Silverlight 4

In this post I will show you how to create the custom splash screen for your Silverlight application. You have seen many software which use nice splash screen during loading of the software applications like Microsoft office, excel and many others. I have also created splash screen for my desktop applications which I have developed during . . . → Read More: Silverlight 4 Hosting :: Splash Screen in Silverlight 4

Silverlight 4 Hosting :: How to Consume WCF Service in a Silverlight Application

Introduction

This article will talk about 4 simple steps which will assist you to consume WCF service in a Silverlight application. It also has a simple sample source code which demonstrates all the 4 . . . → Read More: Silverlight 4 Hosting :: How to Consume WCF Service in a Silverlight Application

Silverlight 4 Hosting :: Silverlight 4 Synchronous WCF Service Calls (or “How to avoid writing a 1-tier Silverlight App”)

Silverlight is great.  Silverlight 4 is extra great.  If you know a little bit about WPF and a handful about the ViewModel Pattern, you’re in great shape.  If you’re like me, you tend to mock up your user interfaces and user interface functionality using only client-side functionality before you start to make calls back to the . . . → Read More: Silverlight 4 Hosting :: Silverlight 4 Synchronous WCF Service Calls (or “How to avoid writing a 1-tier Silverlight App”)

Sponsors

JaringanHosting.com

Cheap Reseller Hosting

Best Blog Hosting Provider

Best European ASP.NET 4.0 Hosting Provider