CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Forum has moved

New location: CSLA .NET forum


CSLA .NET Resources:
  • CSLA .NET forum
  • CSLA .NET home page
  • Using WCFPortal: It doesn't inserts a child object. SlPortal, HttpProxy instead yes

    rated by 0 users
    Not Answered This post has 0 verified answers | 0 Replies | 1 Follower

    Not Ranked
    3 Posts
    RolandoTonin posted on Mon, Jul 14 2014 5:54 AM

    Hy

    I'm try to build a multi UI n-tiers sofware based on CSLA 4.5.600. I have a root object with a child list of child-objects. My solution is as follow:

    - a business library based on recently "Shared" project concept built on Visual Studio 2013 u2 

    - a WCFHost localhost server with WCFPortal.svc and SlPortal.svc

    - a MVC5AppServer localhost server with HttpProxy

    - client UI: WPF, Wp8, Universal App (WinRT and WP8.1)

    This is a test solution before to start a very important project based on above configuration (maybe Azure also server option) that will start in the next months.

    Everything of above work perfectly except when in WPF Client i insert a new child object. Probably, the new object is not serialized on server. In fact the root object on client side IsValid,it is IsSavable and the child list contains the new object but when I put a breakpoint on DataPortal_Update(), Server side (WCFHost), the root object is not dirty and child list don't contains the new object. Instead, when I tried to Update and Delete Child Objects these work perfectly. I have this problem only on WPF (CSLA settings are in App.config file) - WCFPortal.svc. WP8Client-SlPortal.svc work fine. Also Universal App (WinRT 8.1 and WP8.1) with MVC5AppServer, they work as I expected.

    What can I try to discover where there is a bug on my solution?

    Regards, Rolando 

    Page 1 of 1 (1 items) | RSS

    Copyright (c) 2006-2014 Marimer LLC. All rights reserved.
    Email admin@lhotka.net for support.
    Powered by Community Server (Non-Commercial Edition), by Telligent Systems