In general, I will be answering questions on the WCF RIA Services board on MSDN as well, but MSDN has recently made their boards less user friendly so I am fine with answering WCF RIA Services questions here.
Colin -- First, thanks for your work on WCF RIA.
I guess I'll be the first to post here and see if it reaches you.
I have a situation where the service metadata buddy is not being generated in what looks to be a specific scenario. Unfortunately I'm not sure what exactly the scenario is.
I have a many-to-many table. Let's call it EmployeeDepartment . I want to fetch all departments for a given employee and fetch the department name with an [include]. I cannot get any metadata to generate on this table, and if I only include the EmployeeDepartment and Department tables in the wizard for creating a new service class, no metadata file is generated.
Give that I have a many-to-many here, is that the answer to my question? That is, it's not supported?
You need to have the linking table in your model. So, you need Employee, Department, and EmployeeDepartment. The metadata file will not generate if it already exists, so check to make sure you don't have an old one laying around.
As an alternative, take a look at the Fluent configuration system in RIA Services Contrib. We will be moving to that eventually as the preferred method of configuration.
I have a legacy RIA Services project that is going through a security audit. They are modifying the requests in a tool like fiddler so that a guid does not deserialize. The code then blows up in the DomainServiceWebHttpBehavior.WebHttpQueryDispatchMessageFormatter.System.ServiceModel.Dispatcher.IDispatchMessageFormatter.DeserializeRequest(Message message, Object parameters)
The should be controlled by the Custom Errors setting in the System.Web section your web.config. If customErrors doesn't exist or or set to something other than Off then the stack trace shouldn't be leaking back to the client.
Colin, what do you think? Are we going to be able to compile to the web using Silverlight? :)