Tag: Domain Service

RIA Services: File uploading – service method

THE final part to our File Uploading via RIA Services exercise is the Domain Service itself. This article continues from RIA Services: File uploading. Before reading this article, I encourage you to have a glimpse of the prerequisite articles list below:


Here I will go into detail on how to code your domain service class to receive data packets sent across the wire from the File Stream Uploader generic handler class.

(continue reading…)

WCF RIA Services Validation

ONE of the annoying aspects with traditional ASP.Net development was that validation logic which seemed well fitted to be in the mid-tier would often be replicated into the UI-tier. One does this to provide instant feedback to application users; increasing user experience and the application’s usability. The drawback is of course the doubling up of this logic. No only that, but quite often you would have the duplication of logic across different languages; for example mid-tier validation would be coded in C# whereas UI-tier validation would be coded in Javascript – causing a myriad of headaches with code maintenance.

So along comes WCF RIA Services and its validation framework. In this article I’ll provide details on how WCF RIA Services approachs validation; and how it has been designed to resolve issues of its predecessors..

(continue reading…)

RIA Services: File uploading

RIA Services is a relatively new addition to Microsoft’s repertoire of frameworks and services for Application Development; and the understanding of Domain services is the core concept behind it all.

In this article I will explain the architecture that combines a Silverlight Client Application to a RIA services solution. The solution will connect to a SQL Database back-end that uses SQL Server FileStream types for file storage.

Specifically I will explain how you can transfer files in a Silverlight + RIA Services architecture to and from a SQL Server Database using FileStream Types…

(continue reading…)

Copyright © Nullable Code. All rights reserved.