The "ObservableCollection" class is available and should work properly.
The "System.ServiceModel.DomainServices" namespace and classes, as well as RIA Services, are not available at the moment.
You can either:
- Work around this limitation by replacing them with WCF SOAP service calls (read WCF Limitations and Tutorials). To make the migration easier, a common practice is to create a new server-side project of type "WCF Service Application" that references your server-side RIA Service and functions as an "adapter" (or "bridge") that will relay the communications between your CSHTML5 app and your RIA Service. In other words, instead of communicating directly with the RIA Service, your CSHTML5 application will communicate with your WCF service - which exposes SOAP endpoints -, and the latter will then communicate with your RIA Service via simple method calls (because they run in the same process on the server). We recommend redefining the business entities that are passed between the client and the server if they are too complex or if they have dependencies on EntityFramework (which is currently not supported). Also, make sure you are using the very latest build of CSHTML5, available at: http://forums.cshtml5.com/viewforum.php?f=6
- Or request us to accelerate the development of the DomainServices support. To do so, please send an email to firstname.lastname@example.org mentioning this topic, and our team will quickly send you a quotation and planning proposal. Tens of features of CSHTML5 have been developed with this kind of collaboration.