Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Building Single Page Apps for desktop, mobile and tablet with ASP.NET MVC 4
Mar 21, 2012 at 12:58 AMHi Steve,
It seems that the
DbDataControlleronly supports EntityFrameWork entities, this means that my model entities should be real Entities.It's not possible to use ViewModels anymore. So my question is : what's the design concerning ViewModels when using this new Upshot.js to access the DbDataController ?
I've also posted a question on StackOverflow, maybe you can take a look and shed some light on this issue.
Thanks !
Silverlight TV 26: Exposing SOAP, OData, and JSON Endpoints for RIA Services
Jul 06, 2010 at 7:16 AMWhen using SOAP to access the WCF methods, the whole idea of passing the objectquery (from ria services client to server) does not work.
In the Ria Services I have the method :
public IQueryable<Item> GetItems()
{
return this.Context.Items;
}
And In my database there are 10 items.
When executing this in silverlight client like:
var items = srv.GetItems().Take(5);
There are only 5 items retrieved from database.
But when using a normal SOAP call, the method call
var items = srv.GetItems().Take(5);
retrieves all 10 items from the database and does a Take(5) on the client only.
Is this correct ? Is there a way to avoid this?