RIA Services Output Caching

It has come to my attention that we haven’t published any good resources on an important feature of RIA Services – our integration with ASP.NET output caching. This is a shame, since output caching can greatly improve the performance of your application. This post will explain the support we offer and hopefully draw more attention…


ComplexTypes in RIA Services

Our team has just released WCF RIA Services V1.0 SP1 Beta and WCF RIA Services Toolkit October 2010! You can also access these download links from http://silverlight.net/riaservices. In addition to lots of bug fixes, the release also includes several updates which address some of the top pain points reported by our users. I’d like to…


Direct EntityQuery Execution – “Non-Accumulating execution”

For a while internally on the team we’ve discussed the need for an easy way to invoke a query operation without having those results accumulated in the DomainContext. The normal way queries are executed is of course to call DomainContext.Load for the query: EntityQuery<Product> query = productCtxt.SearchProductsQuery(search);productCtxt.Load(query); Behind the scenes what happens is DomainContext uses…


Tamper Resistant Controllers and APIs (to Seal or not to Seal?)

My dog chewed up my slick black XBOX controller last night – the right thumb stick is gone. I feel much cooler and dangerous using the black one, so being inclined toward do it yourself handiness, I thought I’d just swap out a replacement part from my dorky white controller. Genius! I fetched my tools…


DomainService Error Handling

When errors occur server side in a DomainService during request processing, your customErrors configuration in web.config determines the level of error information that will be displayed to clients. By default the custom error mode is RemoteOnly. Deployed applications will likely use RemoteOnly or On to ensure that sensitive internal information and stack traces aren’t exposed….


EF v2 Goodness + RIA Services

If you’ve spent any time on the RIA Services forums or attempting to use our LinqToEntitiesDomainService base class yourself, you’ll know that it wasn’t very hard to run into issues 🙂 For example, it was very easy to run into server side issues when processing more complicated graph updates. As I have explained many times…


Composition Support in RIA Services

I’m having a great time at PDC 2009 talking to customers about Silverlight and RIA Services. The second keynote just finished, Scott unveiled SL4 which means now our team can talk about our PDC Beta of RIA Services for VS 2008 / SL3 as well as our preview for VS 2010 / SL4! You can…


.NET RIA Services July CTP

After much work, our team just released the July CTP of .NET RIA Services. We’re releasing this CTP in step with the big Silverlight 3 release, as trumpeted on ScottGu’s SL3 blog post here. As mentioned in Scott’s post, “The new .NET RIA Services framework (which now has a go-live license) can be used to easily…


Devs Writing Haiku?

A while back Jomo Fisher on our team started a rather interesting tradition.  It all began one day after he had sent out a code-review to the team but after some time had heard no response.  Being the impatient guy that he is, he decided to prod his colleagues with a little poetry, resending the request with the following haiku…


Linq To Sql POCO Support

A colleague and I were recently discussing POCO support in Linq To Sql (LTS), and he pointed me to a great blog post by Ian Cooper on Domain v.s. Data Centric design methodologies and how Linq To Sql can be used for domain centric development.  As Ian points out, LTS places very little requirements on domain classes, allowing…