Browse by Tags

All Tags » VB » Silverlight » RIA Services (RSS)
WCF RIA Services was (past tense) an awesome technology that allowed developers to quickly and super easily build domain classes and WCF services for Silverlight applications. In VS 2012 (and VS 2010 SP1), you could use Add | New Item and get a template...
The following are some tips when building a business object class for use by Silverlight and RIA services. NOTE: This assumes you are not using Entity Framework (EF). Use Class-Level Validation Specifying class-level validation allows you to perform validation...
One of the biggest challenges of implementing validation in Silverlight is finding the appropriate technique based on your architecture and goals. There are lots of choices and lots of examples, but not all examples work in all scenarios. Plus many examples...
As you start to add more Views and associated View/Models to your Silverlight line of business (LOB) application, you will notice that the classes include some common and repeated code. Building a simple base class for your View/Models provides a single...
This prior post covered the details of setting up a database, defining an entity model using Entity Framework, building WCF RIA Services to access that entity model, and hooking it all up to a Silverlight DataGrid. That is all well and good. But most...
One of the challenges of building a Silverlight line of business (LOB) application is getting the data from the business database. The business database resides on a server computer and the Silverlight application resides on each user's computer....
This prior post described the code that is generated when you compile a Silverlight application that uses WCF RIA Services and your own plain old CLR objects (POCOs). This post provides some ideas if something goes horribly wrong and the compiler does...
This post provides a high-level description of what happens when you compile a Silverlight application that uses WCF RIA Services and plain old CLR objects (POCOs) and the resulting generated code. ( See this prior post for a code example .) After you...
The prior post here detailed how to build a Silverlight application using WCF RIA Services and your own plain old CLR objects (POCOs). That application displayed the data in a grid and allowed updates using a set of labels and textboxes. But the order...
The prior post here detailed how to build a simple Silverlight application that used WCF RIA Services to communicate with your server-side business layer to retrieve data and display it in a Silverlight DataGrid. This post adds to the prior post, providing...
This post demonstrates how to use Silverlight and WCF RIA Services to access YOUR server-side business objects to build a line of business application. This particular example is as absolutely simple as possible to help you get up and running with these...
Building a DataForm is quick and easy and is detailed in this prior post . Even customizing it is a breeze as was also shown in that prior post. But now the design calls for a ComboBox. Ready to walk off a cliff? It is surprisingly difficult to modify...
When building line of business (LOB) applications, a common feature is create, review, update, and delete (CRUD) operations on the data in the application. An easy way to provide this feature is using the Silverlight DataForm. [For an introduction to...
Every application has some type of codes: customer types, reason codes, states, and so on. Sometimes these codes can be hard-coded in an application as Enum values. But other times these codes are more readily stored in a table. This post details how...
I mentioned in this prior post that RIA Services did not know how to handle properties that have an Enum data type. The problem is not really that RIA Services does not know how to handle the properties; rather it does not have any knowledge of the Enum...
So I have read in dozens of places that you can easily share a source code file between your business objects and your Silverlight project. So I thought I would try it. No go. [To begin with an overview of Silverlight, RIA, and your business objects,...
There may be times when you want RIA Services to ignore a property in your business object. This may be the case if you know you won't ever need to access the property from your Silverlight UI or if you can't make RIA services understand the property...
With RIA Services, it is easy to use your own business objects in your Silverlight application… once you have the basic plumbing in place. However, there are quite a few steps required to set up that plumbing. This post details the process of hooking...