Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Stef

Stef StefH

Niner since 2010

  • Building Single Page Apps for desktop, mobile and tablet with ASP.NET MVC 4

    Hi Steve,

    It seems that the DbDataController only 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

    When 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?