Moments ago, we released RIA Services V1.0 SP1 Beta along with WCF RIA Services October toolkit. You can download it from http://silverlight.net/riaservices.
These set of bits are compatible with Silverlight 4 and Visual Studio 2010 and are now available for you to download.
This download is contains all the assemblies and is a standalone msi. You do not need to have V1.0 installed in your box and it is completely an in-place update. Just follow the steps above and you should be good to go. Also, this is a Go-Live release.
Shared Entities across multiple DomainServices
With the latest bits we have dropped the restriction that blocked multiple DomainServices from exposing the same Entity.
Support for Complex Objects
WCF RIA now supports structural non-entity types.
Client code generation extensibility
WCF RIA Services now allows the client proxy generator to be replaced, either with a text template or with a plain CLR Type that implements IDomainServiceClientCodeGenerator like this:
1: namespace MyCodeGenerator
3: [DomainServiceClientCodeGenerator(typeof(MyCodeGenerator), "C#")]
4: public partial class MyT4CodeGenerator : IDomainServiceClientCodeGenerator
7: public string GenerateCode(ICodeGenerationHost host,
8: IEnumerable<System.ServiceModel.DomainServices.Server.DomainServiceDescription> domainServiceDescriptions,
9: ClientCodeGenerationOptions options)
11: return “Here is generated code”;
A code generator is registered merely by adding to a server project a reference to its assembly, or by declaring the code generator class directly in the server project. MEF is used to recognize the [DomainServiceClientCodeGenerator] attribute among the server’s references. We have also released a TextTemplatingCodeGeneration in the Toolkit that can be used to customize the generated code. Note: the code generator is build on top of this extensibility.
Better Binding support for EntitySet and EntityCollection
EntitySet and EntityCollection now implements ICollectionViewFactory and returns a view when bound to controls likes DataForm and DataGrid. Now you will be able to Add/Remove via a Dataform when it’s bound to a EntitySet and EntityCollection.
Improved Business Application Template
· The Login and Registration windows open with focus in the Name field
· Both windows also listen for the Enter and Escape keys, submitting or canceling accordingly
· The Windows authentication status control shows an ‘authenticating…’ message
· And more
Also check out Kyle’s blog for a customized look of the BAT. This theme is going to be made available only via the Visual Studio Gallery.
The product, assemblies and templates is now localized into 10 languages. These languages are :-
Hate the time-consuming installer, we heard you. Our installer is now less than a couple of minutes on most machines.
With this release of the SP1 beta, we are also releasing a compatible version of the toolkit. The May2010 toolkit will still be available for you to use with V1.0 May release. Note, the October 2010 release will only work with the V1.0 SP1 Beta.
Here are the new additions:-
<Shamelessly taken from Tomek’s Blog">
</Shamelessly taken from Tomek’s Blog">
We would love to hear your feedback so be sure to get back to us via forums, twitter etc.
Great job guys! Can't wait for the release!
@Wayne - it is now live on the web.
I've just installed the WCF RIA Services Beta SP1 for Silverlight 4 and VS2010 along with the October 2010 Toolkit.
Now the WCF RIA Business Application templates are no longer available in VS2010.
What happened to the application which are using the older one?
C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Ria.Client.targets is changed in this version.
We have Ria Services RTM apps and also now SP1 Beta apps but the SP1 Beta apps won't build on the build machine. We included all the libraries in the project but it keeps looking for C:\Program Files\Microsoft SDKs\RIA Services\v1.0\Libraries\Server\Microsoft.ServiceModel.DomainServices.Tools.dll. We need to be able to build with both the RTM and SP1 Beta apps on the same build box. How do we do this?
Could you please let me know this version supports following scenario,
public IQeuryable<SomePOCOEntity> GetSomePocoByCriteria(CriteriaPOCO criteria)
Here in old version we cannot use CriteriaPOCO as a parameter it should be simple types, in this version is it possible to pass complex type so that we could do whatever the logic inside it, as most real world scenarios are not just returning single entity type (which then Where clause can be written in client side) but it will be a DTO object after manipulating Entities at the server side.