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

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