Silverlight 4.0 Hosting :: Developing a Silverlight 4.0 Application Using WCF RIA Service Class Library

Microsoft Silverlight is a powerful tool for creating and delivering rich internet applications and media experiences on the Web. Its functionality is similar to Adobe Flash, integrating multimedia, graphics, animations and interactivity into a single runtime environment. Silverlight’s initial emphasis was on providing rich media experiences; enabling designers and developers to add rich degrees of interactivity, . . . → Read More: Silverlight 4.0 Hosting :: Developing a Silverlight 4.0 Application Using WCF RIA Service Class Library

WCF RIA Hosting: Sending complex types to the client

Entity Framework 4 allows us to create complex types. Typically, such types are used to get the result of a stored procedure. However, when we try to send such a complex type using a WCF RIA Domain Service, the following error is encountered.

What to do? Adding attributes to EF designer generated classes is a bad idea; . . . → Read More: WCF RIA Hosting: Sending complex types to the client

WCF RIA Hosting :: WCF RIA Service adding extra Required attribute on generated classes

We upgraded a Silverlight 3 RIA application to Silveright 4 bits. Once we fixed all the errors, it appeared that RIA generated entities were “over-validating” themselves. We noticed that all the string entities that were marked not-nullable in database were giving validation errors saying “Field XYZ is required”. We looked through the attribute metadata classes and . . . → Read More: WCF RIA Hosting :: WCF RIA Service adding extra Required attribute on generated classes

WCF Services Hosting :: Optimize Data Contracts for better WCF Performance

Out of the box Silverlight provides two message encoding types for sending SOAP messages over the wire. These are TextEncoding and BinaryEncoding. MTOM encoding is still not available within Silverlight.

Binary encoded messages produce a payload that is about half the size of a message encoded with standard text encoding. Please note that binary encoding is a . . . → Read More: WCF Services Hosting :: Optimize Data Contracts for better WCF Performance

Silverlight WCF Hosting :: Creating a Silverlight – Enabled WCF Service

Silverlight is capable of consuming data from a variety of sources including REST APIs, ASMX services, Windows Communication Foundation (WCF) services and other standards-compliant services. In our previous article, we discussed how Silverlight’s WebClient class could be used to communicate with a REST API and retrieve data. The ability to access data from REST APIs is . . . → Read More: Silverlight WCF Hosting :: Creating a Silverlight – Enabled WCF Service

WCF Hosting :: HTTP Error 404.17 – Not Found When Hosting WCF in IIS7

If it’s the first time that you want to host a WCF web site under IIS7, then you probably got this error:

HTTP Error 404.17 – Not Found

Solution:

1. Check if ASP.NET installed correctly on Machine:

open(Windows VISTA) : Control Panel->Programs and  Features->Turn windows features on or off

check is asp.net selected like below:

2. go to command prompt ( Remember . . . → Read More: WCF Hosting :: HTTP Error 404.17 – Not Found When Hosting WCF in IIS7

WCF RIA Service Hosting :: Consuming HTTP Enabled Service

Objective

This article will discuss about, different way of consuming HTTP enabled service (like REST).This article, will explain about WebGet and HttpWebRequest.  Before reading this article, we will suggest readers to read our previous articles on REST, ADO.NET Data Service and Cross Domain issue on our site.

Assumption

1.    Already REST service has been created and hosted within placed . . . → Read More: WCF RIA Service Hosting :: Consuming HTTP Enabled Service

How to Deploy RIA Services-based Application

Configuring the Deployment Server

You have your application ready and it works great on your development machine. Now you want to deploy it to a server and share the awesomeness …

The first thing you will need is a server with .NET 4 RC installed. If the server has RIA services installed as well, even better.

In House Servers:
If . . . → Read More: How to Deploy RIA Services-based Application

WCF RIA Service Hosting :: Error Message – Load Operation Failed for query “GetUser”

One of the most common errors that you may find when running your WCF RIA Service on a shared hosting server is the error message:  “Load Operation Failed for query “GetUser”This is always an annoying issue with Silverlight deployment to do with connection strings and domain authorizations. Basically it’s a very generic error that pops up . . . → Read More: WCF RIA Service Hosting :: Error Message – Load Operation Failed for query “GetUser”

Sponsors

JaringanHosting.com

Cheap Reseller Hosting

Best Blog Hosting Provider

Best European ASP.NET 4.0 Hosting Provider