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
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
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
Why to use net.tcp binding ?
A key benefit of net.tcp binding is the performance. If you want fast Silverlight applications that communicate with your WCF service in your secure intranet environment you will probably use this binding.
This net.tcp binding for now is intended to be used in intranet environments. Because this protocol is build on top . . . → Read More: Silverlight 4 Hosting :: WCF NET.TCP Protocol in Silverlight 4
In this article, I have used ‘IDataErrorInfo’ interface which is newly provided in Silverlight 4.0 under System.ComponentModel namepsace. This interface needs to be implemented by the data entity class which helps in defining custom validations for data to be entered using Silverlight 4.0 UI controls.
Defining Data Entity class and implementing ‘IDataErrorInfo’
1. Open VS2010 and create a . . . → Read More: Silverlight 4 Hosting :: Data Validation in Silverlight 4.0
The PathListBox control is a cool new addition to the Blend 4 SDK, and allows the elements inside a ListBox to lay out along any Path control shape. You’ll need to install the Blend 4 SDK to get access to the PathListBox control, but note that this is available outside of Expression Blend 4 (you don’t . . . → Read More: Silverlight 4 Hosting :: PathListBox for Motion Path Animation in Silverlight 4
1. Start a new Silverlight solution, name it DataFormExample, and add a reference to System.Windows.Controls.Data.DataForm.Toolkit (from the Silverlight Toolkit). Alternatively, you can drag the DataForm from the Toolbox to the design surface.
2. Open MainPage.xaml and add a namespace import statement at the top of this fi le (in the tag) as shown in the following code. . . . → Read More: Silverlight 4 Hosting :: Working with DataForm in Microsoft Silverlight 4
MVVM (Model- View – View Model) is the WPF / Silverlight UI design Pattern code model. A certain guideline a developer should follows in order to achieve a more testable, debug gable, manageable, readable Application.
A zero code behind, yes no button click event hander in the code behind file, no form / windows load logic, no . . . → Read More: Silverlight 4 Hosting :: Silverlight 4 and MVVM pattern with ICommand
You may wonder how you can use the SQL Server Reporting Service in Silverlight. You may probably also want to know what the best practices are for the said process. What are the answers to these questions? Here is the truth: you should know that you cannot use Silverlight when you want to access the SQL . . . → Read More: Silverlight 4 Hosting :: How to Use SQL Reporting Services in Silverlight
To create a solution
1. In Visual Studio, select File, New, and then Project.
The New Project dialog box appears.
2. Select the Silverlight project type.
3. Select the Silverlight Business Application template and name the application ExampleBusinessApplication.
4. Click OK.
Notice the project structure that is created. The Silverlight client project includes Silverlight pages in the Views folder. These pages enable . . . → Read More: Siverlight 4 Hosting :: Using the Silverlight Business Application Template